[−][src]Struct dxplr::dwrite::Font
Trait Implementations
impl Clone for Font
[src]
impl Debug for Font
[src]
impl IFont for Font
[src]
pub fn create_font_face(&self) -> Result<FontFace, HResult>
[src]
pub fn get_face_names(&self) -> Result<LocalizedStrings, HResult>
[src]
pub fn get_font_family(&self) -> Result<FontFamily, HResult>
[src]
pub fn get_informational_strings(
&self,
id: InformationStringID
) -> Result<(LocalizedStrings, bool), HResult>
[src]
&self,
id: InformationStringID
) -> Result<(LocalizedStrings, bool), HResult>
pub fn get_metrics(&self) -> FontMetrics
[src]
pub fn get_simulations(&self) -> FontSimulations
[src]
pub fn get_stretch(&self) -> FontStretch
[src]
pub fn get_style(&self) -> FontStyle
[src]
pub fn get_weight(&self) -> FontWeight
[src]
pub fn has_character(&self, unicode_value: u32) -> Result<bool, HResult>
[src]
pub fn is_symbol_font(&self) -> bool
[src]
impl Interface for Font
[src]
type APIType = IDWriteFont
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 Font
[src]
impl Sync for Font
[src]
Auto Trait Implementations
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>,