Struct core_text::font_descriptor::CTFontDescriptor [−][src]
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]
&self,
attr: CFDictionary
) -> Result<CTFontDescriptor, ()>
pub fn attributes(&self) -> CFDictionary<CFString, CFType>
[src]
Trait Implementations
impl Clone for CTFontDescriptor
[src]
fn clone(&self) -> CTFontDescriptor
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn eq(&self, other: &CTFontDescriptor) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[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.
fn as_concrete_TypeRef(&self) -> CTFontDescriptorRef
[src]
unsafe fn wrap_under_get_rule(reference: CTFontDescriptorRef) -> Self
[src]
fn as_CFTypeRef(&self) -> CFTypeRef
[src]
unsafe fn wrap_under_create_rule(reference: CTFontDescriptorRef) -> Self
[src]
fn type_id() -> CFTypeID
[src]
pub fn as_CFType(&self) -> CFType
[src]
pub fn into_CFType(self) -> CFType
[src]
pub fn retain_count(&self) -> isize
[src]
pub fn type_of(&self) -> usize
[src]
pub fn show(&self)
[src]
pub fn instance_of<OtherCFType>(&self) -> bool where
OtherCFType: TCFType,
[src]
OtherCFType: TCFType,
impl<'a> ToVoid<CTFontDescriptor> for &'a CTFontDescriptor
[src]
impl ToVoid<CTFontDescriptor> for CTFontDescriptor
[src]
impl ToVoid<CTFontDescriptor> for CTFontDescriptorRef
[src]
Auto Trait Implementations
impl RefUnwindSafe for CTFontDescriptor
[src]
impl Unpin for CTFontDescriptor
[src]
impl UnwindSafe for CTFontDescriptor
[src]
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> FromMutVoid for T where
T: TCFType,
[src]
T: TCFType,
pub unsafe fn from_mut_void<'a>(x: *mut c_void) -> ItemMutRef<'a, T>
[src]
impl<T> FromVoid for T where
T: TCFType,
[src]
T: TCFType,
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>,