Struct windows::Win32::Graphics::Direct2D::ID2D1SvgDocument_Vtbl

#[repr(C)]
pub struct ID2D1SvgDocument_Vtbl { pub base__: ID2D1Resource_Vtbl, pub SetViewportSize: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_F) -> HRESULT, pub GetViewportSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_F), pub SetRoot: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub GetRoot: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void), pub FindElementById: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT, pub Serialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT, pub Deserialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub CreatePaint: unsafe extern "system" fn(_: *mut c_void, _: D2D1_SVG_PAINT_TYPE, _: *const D2D1_COLOR_F, _: PCWSTR, _: *mut *mut c_void) -> HRESULT, pub CreateStrokeDashArray: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_SVG_LENGTH, _: u32, _: *mut *mut c_void) -> HRESULT, pub CreatePointCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_POINT_2F, _: u32, _: *mut *mut c_void) -> HRESULT, pub CreatePathData: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32, _: *const D2D1_SVG_PATH_COMMAND, _: u32, _: *mut *mut c_void) -> HRESULT, }

Fields§

§base__: ID2D1Resource_Vtbl§SetViewportSize: unsafe extern "system" fn(_: *mut c_void, _: D2D_SIZE_F) -> HRESULT§GetViewportSize: unsafe extern "system" fn(_: *mut c_void, _: *mut D2D_SIZE_F)§SetRoot: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetRoot: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void)§FindElementById: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut *mut c_void) -> HRESULT§Serialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut c_void) -> HRESULT§Deserialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§CreatePaint: unsafe extern "system" fn(_: *mut c_void, _: D2D1_SVG_PAINT_TYPE, _: *const D2D1_COLOR_F, _: PCWSTR, _: *mut *mut c_void) -> HRESULT§CreateStrokeDashArray: unsafe extern "system" fn(_: *mut c_void, _: *const D2D1_SVG_LENGTH, _: u32, _: *mut *mut c_void) -> HRESULT§CreatePointCollection: unsafe extern "system" fn(_: *mut c_void, _: *const D2D_POINT_2F, _: u32, _: *mut *mut c_void) -> HRESULT§CreatePathData: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32, _: *const D2D1_SVG_PATH_COMMAND, _: u32, _: *mut *mut c_void) -> HRESULT

Implementations§

§

impl ID2D1SvgDocument_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ID2D1SvgDocument_Vtbl
where Identity: ID2D1SvgDocument_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.