Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontFaceReference1 [−][src]
#[repr(transparent)]pub struct IDWriteFontFaceReference1(_);
Implementations
pub unsafe fn CreateFontFaceWithSimulations(
&self,
fontfacesimulationflags: DWRITE_FONT_SIMULATIONS
) -> Result<IDWriteFontFace3>
pub unsafe fn Equals<'a>(
&self,
fontfacereference: impl IntoParam<'a, IDWriteFontFaceReference>
) -> BOOL
pub unsafe fn EnqueueCharacterDownloadRequest<'a>(
&self,
characters: impl IntoParam<'a, PWSTR>,
charactercount: u32
) -> Result<()>
pub unsafe fn EnqueueGlyphDownloadRequest(
&self,
glyphindices: *const u16,
glyphcount: u32
) -> Result<()>
pub unsafe fn EnqueueFileFragmentDownloadRequest(
&self,
fileoffset: u64,
fragmentsize: u64
) -> Result<()>
pub unsafe fn GetFontAxisValues(
&self,
fontaxisvalues: *mut DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteFontFaceReference1_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 IDWriteFontFaceReference1
impl !Send for IDWriteFontFaceReference1
impl !Sync for IDWriteFontFaceReference1
impl Unpin for IDWriteFontFaceReference1
impl UnwindSafe for IDWriteFontFaceReference1
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