Trait IComponent_Impl
pub trait IComponent_Impl: IDispatch_Impl {
// Required methods
fn Type(&self) -> Result<IComponentType>;
fn SetType(&self, ct: Ref<'_, IComponentType>) -> Result<()>;
fn DescLangID(&self) -> Result<i32>;
fn SetDescLangID(&self, langid: i32) -> Result<()>;
fn Status(&self) -> Result<ComponentStatus>;
fn SetStatus(&self, status: ComponentStatus) -> Result<()>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, description: &BSTR) -> Result<()>;
fn Clone(&self) -> Result<IComponent>;
}
Required Methods§
fn Type(&self) -> Result<IComponentType>
fn SetType(&self, ct: Ref<'_, IComponentType>) -> Result<()>
fn DescLangID(&self) -> Result<i32>
fn SetDescLangID(&self, langid: i32) -> Result<()>
fn Status(&self) -> Result<ComponentStatus>
fn SetStatus(&self, status: ComponentStatus) -> Result<()>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, description: &BSTR) -> Result<()>
fn Clone(&self) -> Result<IComponent>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.