[−][src]Struct dxplr::dwrite::FontCollection
Trait Implementations
impl Clone for FontCollection
[src]
pub fn clone(&self) -> FontCollection
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FontCollection
[src]
impl IFontCollection for FontCollection
[src]
pub fn find_family_name(
&self,
family_name: impl AsRef<str>
) -> Result<(u32, bool), HResult>
[src]
&self,
family_name: impl AsRef<str>
) -> Result<(u32, bool), HResult>
pub fn get_font_family(&self, index: u32) -> Result<FontFamily, HResult>
[src]
pub fn get_font_family_count(&self) -> u32
[src]
pub fn get_font_from_font_face(
&self,
font_face: &impl IFontFace
) -> Result<Font, HResult>
[src]
&self,
font_face: &impl IFontFace
) -> Result<Font, HResult>
impl Interface for FontCollection
[src]
type APIType = IDWriteFontCollection
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl Send for FontCollection
[src]
impl Sync for FontCollection
[src]
Auto Trait Implementations
impl RefUnwindSafe for FontCollection
impl Unpin for FontCollection
impl UnwindSafe for FontCollection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,