Struct core_text::font_descriptor::CTFontDescriptor[][src]

pub struct CTFontDescriptor(_);

Implementations

impl CTFontDescriptor[src]

pub fn family_name(&self) -> String[src]

pub fn font_name(&self) -> String[src]

pub fn style_name(&self) -> String[src]

pub fn display_name(&self) -> String[src]

pub fn font_format(&self) -> Option<CTFontFormat>[src]

pub fn font_path(&self) -> Option<PathBuf>[src]

pub fn traits(&self) -> CTFontTraits[src]

pub fn create_copy_with_attributes(
    &self,
    attr: CFDictionary
) -> Result<CTFontDescriptor, ()>
[src]

pub fn attributes(&self) -> CFDictionary<CFString, CFType>[src]

Trait Implementations

impl Clone for CTFontDescriptor[src]

impl ConcreteCFType for CTFontDescriptor[src]

impl Debug for CTFontDescriptor[src]

impl Drop for CTFontDescriptor[src]

impl Eq for CTFontDescriptor[src]

impl PartialEq<CTFontDescriptor> for CTFontDescriptor[src]

impl Send for CTFontDescriptor[src]

impl Sync for CTFontDescriptor[src]

impl TCFType for CTFontDescriptor[src]

type Ref = CTFontDescriptorRef

The reference type wrapped inside this type.

impl<'a> ToVoid<CTFontDescriptor> for &'a CTFontDescriptor[src]

impl ToVoid<CTFontDescriptor> for CTFontDescriptor[src]

impl ToVoid<CTFontDescriptor> for CTFontDescriptorRef[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FromMutVoid for T where
    T: TCFType
[src]

impl<T> FromVoid for T where
    T: TCFType
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.