Struct windows::Win32::Graphics::DirectWrite::IDWriteFontList
pub struct IDWriteFontList(/* private fields */);
Implementations§
§impl IDWriteFontList
impl IDWriteFontList
pub unsafe fn GetFontCollection(&self) -> Result<IDWriteFontCollection>
pub unsafe fn GetFontCount(&self) -> u32
pub unsafe fn GetFont(&self, index: u32) -> Result<IDWriteFont>
Trait Implementations§
§impl Clone for IDWriteFontList
impl Clone for IDWriteFontList
§fn clone(&self) -> IDWriteFontList
fn clone(&self) -> IDWriteFontList
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 IDWriteFontList
impl Debug for IDWriteFontList
§impl From<&IDWriteFontFamily> for &IDWriteFontList
impl From<&IDWriteFontFamily> for &IDWriteFontList
§fn from(value: &IDWriteFontFamily) -> Self
fn from(value: &IDWriteFontFamily) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontFamily1> for &IDWriteFontList
impl From<&IDWriteFontFamily1> for &IDWriteFontList
§fn from(value: &IDWriteFontFamily1) -> Self
fn from(value: &IDWriteFontFamily1) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontFamily2> for &IDWriteFontList
impl From<&IDWriteFontFamily2> for &IDWriteFontList
§fn from(value: &IDWriteFontFamily2) -> Self
fn from(value: &IDWriteFontFamily2) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontList> for &IUnknown
impl From<&IDWriteFontList> for &IUnknown
§fn from(value: &IDWriteFontList) -> Self
fn from(value: &IDWriteFontList) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontList1> for &IDWriteFontList
impl From<&IDWriteFontList1> for &IDWriteFontList
§fn from(value: &IDWriteFontList1) -> Self
fn from(value: &IDWriteFontList1) -> Self
Converts to this type from the input type.
§impl From<&IDWriteFontList2> for &IDWriteFontList
impl From<&IDWriteFontList2> for &IDWriteFontList
§fn from(value: &IDWriteFontList2) -> Self
fn from(value: &IDWriteFontList2) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontFamily> for IDWriteFontList
impl From<IDWriteFontFamily> for IDWriteFontList
§fn from(value: IDWriteFontFamily) -> Self
fn from(value: IDWriteFontFamily) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontFamily1> for IDWriteFontList
impl From<IDWriteFontFamily1> for IDWriteFontList
§fn from(value: IDWriteFontFamily1) -> Self
fn from(value: IDWriteFontFamily1) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontFamily2> for IDWriteFontList
impl From<IDWriteFontFamily2> for IDWriteFontList
§fn from(value: IDWriteFontFamily2) -> Self
fn from(value: IDWriteFontFamily2) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontList> for IUnknown
impl From<IDWriteFontList> for IUnknown
§fn from(value: IDWriteFontList) -> Self
fn from(value: IDWriteFontList) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontList1> for IDWriteFontList
impl From<IDWriteFontList1> for IDWriteFontList
§fn from(value: IDWriteFontList1) -> Self
fn from(value: IDWriteFontList1) -> Self
Converts to this type from the input type.
§impl From<IDWriteFontList2> for IDWriteFontList
impl From<IDWriteFontList2> for IDWriteFontList
§fn from(value: IDWriteFontList2) -> Self
fn from(value: IDWriteFontList2) -> Self
Converts to this type from the input type.
§impl Interface for IDWriteFontList
impl Interface for IDWriteFontList
§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 IDWriteFontList
impl PartialEq for IDWriteFontList
§fn eq(&self, other: &IDWriteFontList) -> bool
fn eq(&self, other: &IDWriteFontList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDWriteFontList
impl Send for IDWriteFontList
impl StructuralPartialEq for IDWriteFontList
impl Sync for IDWriteFontList
Auto Trait Implementations§
impl RefUnwindSafe for IDWriteFontList
impl Unpin for IDWriteFontList
impl UnwindSafe for IDWriteFontList
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