Struct windows::Win32::Graphics::DirectWrite::IDWriteFontFallback
pub struct IDWriteFontFallback(/* private fields */);
Implementations§
§impl IDWriteFontFallback
impl IDWriteFontFallback
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>,
Trait Implementations§
§impl Clone for IDWriteFontFallback
impl Clone for IDWriteFontFallback
§fn clone(&self) -> IDWriteFontFallback
fn clone(&self) -> IDWriteFontFallback
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 IDWriteFontFallback
impl Debug for IDWriteFontFallback
§impl From<&IDWriteFontFallback> for &IUnknown
impl From<&IDWriteFontFallback> for &IUnknown
§fn from(value: &IDWriteFontFallback) -> Self
fn from(value: &IDWriteFontFallback) -> 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<IDWriteFontFallback> for IUnknown
impl From<IDWriteFontFallback> for IUnknown
§fn from(value: IDWriteFontFallback) -> Self
fn from(value: IDWriteFontFallback) -> 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 Interface for IDWriteFontFallback
impl Interface for IDWriteFontFallback
§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 IDWriteFontFallback
impl PartialEq for IDWriteFontFallback
§fn eq(&self, other: &IDWriteFontFallback) -> bool
fn eq(&self, other: &IDWriteFontFallback) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDWriteFontFallback
impl Send for IDWriteFontFallback
impl StructuralPartialEq for IDWriteFontFallback
impl Sync for IDWriteFontFallback
Auto Trait Implementations§
impl RefUnwindSafe for IDWriteFontFallback
impl Unpin for IDWriteFontFallback
impl UnwindSafe for IDWriteFontFallback
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