#[repr(transparent)]pub struct CTFontOrientation(pub u32);Available on crate feature
CTFontDescriptor only.Expand description
Specifies the intended rendering orientation of the font for obtaining glyph metrics.
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Source§impl CTFontOrientation
impl CTFontOrientation
pub const Default: Self
pub const Horizontal: Self
pub const Vertical: Self
pub const kCTFontDefaultOrientation: Self
👎Deprecated: Deprecated
pub const kCTFontHorizontalOrientation: Self
👎Deprecated: Deprecated
pub const kCTFontVerticalOrientation: Self
👎Deprecated: Deprecated
Trait Implementations§
Source§impl Clone for CTFontOrientation
impl Clone for CTFontOrientation
Source§fn clone(&self) -> CTFontOrientation
fn clone(&self) -> CTFontOrientation
Returns a copy 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 CTFontOrientation
impl Debug for CTFontOrientation
Source§impl Encode for CTFontOrientation
Available on crate feature objc2 only.
impl Encode for CTFontOrientation
Available on crate feature
objc2 only.Source§impl Hash for CTFontOrientation
impl Hash for CTFontOrientation
Source§impl Ord for CTFontOrientation
impl Ord for CTFontOrientation
Source§fn cmp(&self, other: &CTFontOrientation) -> Ordering
fn cmp(&self, other: &CTFontOrientation) -> 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 CTFontOrientation
impl PartialEq for CTFontOrientation
Source§impl PartialOrd for CTFontOrientation
impl PartialOrd for CTFontOrientation
Source§impl RefEncode for CTFontOrientation
Available on crate feature objc2 only.
impl RefEncode for CTFontOrientation
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 CTFontOrientation
impl Eq for CTFontOrientation
impl StructuralPartialEq for CTFontOrientation
Auto Trait Implementations§
impl Freeze for CTFontOrientation
impl RefUnwindSafe for CTFontOrientation
impl Send for CTFontOrientation
impl Sync for CTFontOrientation
impl Unpin for CTFontOrientation
impl UnwindSafe for CTFontOrientation
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.