#[repr(transparent)]pub struct CTFontFormat(pub u32);Available on crate feature
CTFontDescriptor only.Expand description
The font is not a recognized format
The font is an OpenType format containing PostScript data
The font is an OpenType format containing TrueType data
The font is a recognized TrueType format
The font is a recognized PostScript format
The font is a bitmap only format
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Source§impl CTFontFormat
impl CTFontFormat
pub const Unrecognized: Self
pub const OpenTypePostScript: Self
pub const OpenTypeTrueType: Self
pub const TrueType: Self
pub const PostScript: Self
pub const Bitmap: Self
Trait Implementations§
Source§impl Clone for CTFontFormat
impl Clone for CTFontFormat
Source§fn clone(&self) -> CTFontFormat
fn clone(&self) -> CTFontFormat
Returns a duplicate 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 moreSource§impl Debug for CTFontFormat
impl Debug for CTFontFormat
Source§impl Encode for CTFontFormat
Available on crate feature objc2 only.
impl Encode for CTFontFormat
Available on crate feature
objc2 only.Source§impl Hash for CTFontFormat
impl Hash for CTFontFormat
Source§impl Ord for CTFontFormat
impl Ord for CTFontFormat
Source§fn cmp(&self, other: &CTFontFormat) -> Ordering
fn cmp(&self, other: &CTFontFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CTFontFormat
impl PartialEq for CTFontFormat
Source§impl PartialOrd for CTFontFormat
impl PartialOrd for CTFontFormat
Source§impl RefEncode for CTFontFormat
Available on crate feature objc2 only.
impl RefEncode for CTFontFormat
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CTFontFormat
impl Eq for CTFontFormat
impl StructuralPartialEq for CTFontFormat
Auto Trait Implementations§
impl Freeze for CTFontFormat
impl RefUnwindSafe for CTFontFormat
impl Send for CTFontFormat
impl Sync for CTFontFormat
impl Unpin for CTFontFormat
impl UnwindSafe for CTFontFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.