Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontResource [−][src]
#[repr(transparent)]pub struct IDWriteFontResource(_);
Implementations
pub unsafe fn GetDefaultFontAxisValues(
&self,
fontaxisvalues: *mut DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<()>
pub unsafe fn GetFontAxisRanges(
&self,
fontaxisranges: *mut DWRITE_FONT_AXIS_RANGE,
fontaxisrangecount: u32
) -> Result<()>
pub unsafe fn GetAxisValueNames(
&self,
axisindex: u32,
axisvalueindex: u32,
fontaxisrange: *mut DWRITE_FONT_AXIS_RANGE,
names: *mut Option<IDWriteLocalizedStrings>
) -> Result<()>
pub unsafe fn CreateFontFace(
&self,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<IDWriteFontFace5>
pub unsafe fn CreateFontFaceReference(
&self,
fontsimulations: DWRITE_FONT_SIMULATIONS,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<IDWriteFontFaceReference1>
Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteFontResource_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteFontResource
impl !Send for IDWriteFontResource
impl !Sync for IDWriteFontResource
impl Unpin for IDWriteFontResource
impl UnwindSafe for IDWriteFontResource
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more