Struct windows::Win32::Storage::Xps::IXpsOMGeometryFigure_Vtbl

#[repr(C)]
pub struct IXpsOMGeometryFigure_Vtbl {
Show 16 fields pub base__: IUnknown_Vtbl, pub GetOwner: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub GetSegmentData: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut f32) -> HRESULT, pub GetSegmentTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut XPS_SEGMENT_TYPE) -> HRESULT, pub GetSegmentStrokes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut BOOL) -> HRESULT, pub SetSegments: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const XPS_SEGMENT_TYPE, _: *const f32, _: *const BOOL) -> HRESULT, pub GetStartPoint: unsafe extern "system" fn(_: *mut c_void, _: *mut XPS_POINT) -> HRESULT, pub SetStartPoint: unsafe extern "system" fn(_: *mut c_void, _: *const XPS_POINT) -> HRESULT, pub GetIsClosed: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub SetIsClosed: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub GetIsFilled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT, pub SetIsFilled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT, pub GetSegmentCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetSegmentDataCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetSegmentStrokePattern: unsafe extern "system" fn(_: *mut c_void, _: *mut XPS_SEGMENT_STROKE_PATTERN) -> HRESULT, pub Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetOwner: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§GetSegmentData: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut f32) -> HRESULT§GetSegmentTypes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut XPS_SEGMENT_TYPE) -> HRESULT§GetSegmentStrokes: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut BOOL) -> HRESULT§SetSegments: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *const XPS_SEGMENT_TYPE, _: *const f32, _: *const BOOL) -> HRESULT§GetStartPoint: unsafe extern "system" fn(_: *mut c_void, _: *mut XPS_POINT) -> HRESULT§SetStartPoint: unsafe extern "system" fn(_: *mut c_void, _: *const XPS_POINT) -> HRESULT§GetIsClosed: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SetIsClosed: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetIsFilled: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§SetIsFilled: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT§GetSegmentCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetSegmentDataCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetSegmentStrokePattern: unsafe extern "system" fn(_: *mut c_void, _: *mut XPS_SEGMENT_STROKE_PATTERN) -> HRESULT§Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl IXpsOMGeometryFigure_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IXpsOMGeometryFigure_Vtbl
where Identity: IXpsOMGeometryFigure_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.