Trait windows::Win32::Graphics::Direct2D::ID2D1Properties_Impl

pub trait ID2D1Properties_Impl: Sized {
    // Required methods
    fn GetPropertyCount(&self) -> u32;
    fn GetPropertyName(
        &self,
        index: u32,
        name: PWSTR,
        namecount: u32,
    ) -> Result<()>;
    fn GetPropertyNameLength(&self, index: u32) -> u32;
    fn GetType(&self, index: u32) -> D2D1_PROPERTY_TYPE;
    fn GetPropertyIndex(&self, name: &PCWSTR) -> u32;
    fn SetValueByName(
        &self,
        name: &PCWSTR,
        type: D2D1_PROPERTY_TYPE,
        data: *const u8,
        datasize: u32,
    ) -> Result<()>;
    fn SetValue(
        &self,
        index: u32,
        type: D2D1_PROPERTY_TYPE,
        data: *const u8,
        datasize: u32,
    ) -> Result<()>;
    fn GetValueByName(
        &self,
        name: &PCWSTR,
        type: D2D1_PROPERTY_TYPE,
        data: *mut u8,
        datasize: u32,
    ) -> Result<()>;
    fn GetValue(
        &self,
        index: u32,
        type: D2D1_PROPERTY_TYPE,
        data: *mut u8,
        datasize: u32,
    ) -> Result<()>;
    fn GetValueSize(&self, index: u32) -> u32;
    fn GetSubProperties(&self, index: u32) -> Result<ID2D1Properties>;
}

Required Methods§

fn GetPropertyCount(&self) -> u32

fn GetPropertyName(&self, index: u32, name: PWSTR, namecount: u32) -> Result<()>

fn GetPropertyNameLength(&self, index: u32) -> u32

fn GetType(&self, index: u32) -> D2D1_PROPERTY_TYPE

fn GetPropertyIndex(&self, name: &PCWSTR) -> u32

fn SetValueByName( &self, name: &PCWSTR, type: D2D1_PROPERTY_TYPE, data: *const u8, datasize: u32, ) -> Result<()>

fn SetValue( &self, index: u32, type: D2D1_PROPERTY_TYPE, data: *const u8, datasize: u32, ) -> Result<()>

fn GetValueByName( &self, name: &PCWSTR, type: D2D1_PROPERTY_TYPE, data: *mut u8, datasize: u32, ) -> Result<()>

fn GetValue( &self, index: u32, type: D2D1_PROPERTY_TYPE, data: *mut u8, datasize: u32, ) -> Result<()>

fn GetValueSize(&self, index: u32) -> u32

fn GetSubProperties(&self, index: u32) -> Result<ID2D1Properties>

Object Safety§

This trait is not object safe.

Implementors§