windows::Win32::Storage::Xps

Trait IXpsOMSolidColorBrush_Impl

pub trait IXpsOMSolidColorBrush_Impl: IXpsOMBrush_Impl {
    // Required methods
    fn GetColor(
        &self,
        color: *mut XPS_COLOR,
    ) -> Result<IXpsOMColorProfileResource>;
    fn SetColor(
        &self,
        color: *const XPS_COLOR,
        colorprofile: Ref<'_, IXpsOMColorProfileResource>,
    ) -> Result<()>;
    fn Clone(&self) -> Result<IXpsOMSolidColorBrush>;
}

Required Methods§

fn GetColor(&self, color: *mut XPS_COLOR) -> Result<IXpsOMColorProfileResource>

fn SetColor( &self, color: *const XPS_COLOR, colorprofile: Ref<'_, IXpsOMColorProfileResource>, ) -> Result<()>

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

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.

Implementors§