Struct windows::Win32::Graphics::DirectWrite::IDWriteFontFallback1
pub struct IDWriteFontFallback1(/* private fields */);
Implementations§
§impl IDWriteFontFallback1
impl IDWriteFontFallback1
pub unsafe fn MapCharacters<P0, P1, P2>(
&self,
analysissource: P0,
textposition: u32,
textlength: u32,
basefontcollection: P1,
basefamilyname: P2,
baseweight: DWRITE_FONT_WEIGHT,
basestyle: DWRITE_FONT_STYLE,
basestretch: DWRITE_FONT_STRETCH,
mappedlength: *mut u32,
mappedfont: *mut Option<IDWriteFont>,
scale: *mut f32
) -> Result<()>where
P0: IntoParam<IDWriteTextAnalysisSource>,
P1: IntoParam<IDWriteFontCollection>,
P2: IntoParam<PCWSTR>,
pub unsafe fn MapCharacters2<P0, P1, P2>(
&self,
analysissource: P0,
textposition: u32,
textlength: u32,
basefontcollection: P1,
basefamilyname: P2,
fontaxisvalues: &[DWRITE_FONT_AXIS_VALUE],
mappedlength: *mut u32,
scale: *mut f32,
mappedfontface: *mut Option<IDWriteFontFace5>
) -> Result<()>where
P0: IntoParam<IDWriteTextAnalysisSource>,
P1: IntoParam<IDWriteFontCollection>,
P2: IntoParam<PCWSTR>,
Trait Implementations§
§impl Clone for IDWriteFontFallback1
impl Clone for IDWriteFontFallback1
§fn clone(&self) -> IDWriteFontFallback1
fn clone(&self) -> IDWriteFontFallback1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDWriteFontFallback1
impl Debug for IDWriteFontFallback1
§impl From<&IDWriteFontFallback1> for &IDWriteFontFallback
impl From<&IDWriteFontFallback1> for &IDWriteFontFallback
§fn from(value: &IDWriteFontFallback1) -> Self
fn from(value: &IDWriteFontFallback1) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontFallback1> for &IUnknown
impl From<&IDWriteFontFallback1> for &IUnknown
§fn from(value: &IDWriteFontFallback1) -> Self
fn from(value: &IDWriteFontFallback1) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontFallback1> for IDWriteFontFallback
impl From<IDWriteFontFallback1> for IDWriteFontFallback
§fn from(value: IDWriteFontFallback1) -> Self
fn from(value: IDWriteFontFallback1) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontFallback1> for IUnknown
impl From<IDWriteFontFallback1> for IUnknown
§fn from(value: IDWriteFontFallback1) -> Self
fn from(value: IDWriteFontFallback1) -> Self
Converts to this type from the input type.
§impl Interface for IDWriteFontFallback1
impl Interface for IDWriteFontFallback1
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IDWriteFontFallback1
impl PartialEq for IDWriteFontFallback1
§fn eq(&self, other: &IDWriteFontFallback1) -> bool
fn eq(&self, other: &IDWriteFontFallback1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDWriteFontFallback1
impl Send for IDWriteFontFallback1
impl StructuralPartialEq for IDWriteFontFallback1
impl Sync for IDWriteFontFallback1
Auto Trait Implementations§
impl RefUnwindSafe for IDWriteFontFallback1
impl Unpin for IDWriteFontFallback1
impl UnwindSafe for IDWriteFontFallback1
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more