Trait windows::Win32::Storage::Xps::IXpsOMGradientStop_Impl

pub trait IXpsOMGradientStop_Impl: Sized {
    // 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: Option<&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: Option<&IXpsOMColorProfileResource>, ) -> Result<()>

fn Clone(&self) -> Result<IXpsOMGradientStop>

Object Safety§

This trait is not object safe.

Implementors§