Trait IXpsOMGradientStop_Impl
pub trait IXpsOMGradientStop_Impl: IUnknownImpl {
// Required methods
fn GetOwner(&self) -> Result<IXpsOMGradientBrush>;
fn GetOffset(&self) -> Result<f32>;
fn SetOffset(&self, offset: f32) -> Result<()>;
fn GetColor(
&self,
color: *mut XPS_COLOR,
) -> Result<IXpsOMColorProfileResource>;
fn SetColor(
&self,
color: *const XPS_COLOR,
colorprofile: Ref<'_, IXpsOMColorProfileResource>,
) -> Result<()>;
fn Clone(&self) -> Result<IXpsOMGradientStop>;
}
Required Methods§
fn GetOwner(&self) -> Result<IXpsOMGradientBrush>
fn GetOffset(&self) -> Result<f32>
fn SetOffset(&self, offset: f32) -> Result<()>
fn GetColor(&self, color: *mut XPS_COLOR) -> Result<IXpsOMColorProfileResource>
fn SetColor( &self, color: *const XPS_COLOR, colorprofile: Ref<'_, IXpsOMColorProfileResource>, ) -> Result<()>
fn Clone(&self) -> Result<IXpsOMGradientStop>
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.