#[repr(transparent)]pub struct CTFontManagerScope(pub u32);Available on crate feature
CTFontManager only.Expand description
Scope for font registration. A uses session refers to a login session in macOS, and the current booted session in iOS.
The font is not registered and does not participate in font descriptor matching. This isn’t a valid scope to specify while registering fonts.
The font is available to the current process for the duration of the process unless directly unregistered.
The font is available to all processes for the current user session and will be available in subsequent sessions unless unregistered.
The font is available to the current user session, and will not be available in subsequent sessions. Session scope is only available in macOS.
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for CTFontManagerScope
impl Clone for CTFontManagerScope
Source§fn clone(&self) -> CTFontManagerScope
fn clone(&self) -> CTFontManagerScope
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 CTFontManagerScope
impl Debug for CTFontManagerScope
Source§impl Encode for CTFontManagerScope
Available on crate feature objc2 only.
impl Encode for CTFontManagerScope
Available on crate feature
objc2 only.Source§impl Hash for CTFontManagerScope
impl Hash for CTFontManagerScope
Source§impl Ord for CTFontManagerScope
impl Ord for CTFontManagerScope
Source§fn cmp(&self, other: &CTFontManagerScope) -> Ordering
fn cmp(&self, other: &CTFontManagerScope) -> 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 CTFontManagerScope
impl PartialEq for CTFontManagerScope
Source§impl PartialOrd for CTFontManagerScope
impl PartialOrd for CTFontManagerScope
Source§impl RefEncode for CTFontManagerScope
Available on crate feature objc2 only.
impl RefEncode for CTFontManagerScope
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 CTFontManagerScope
impl Eq for CTFontManagerScope
impl StructuralPartialEq for CTFontManagerScope
Auto Trait Implementations§
impl Freeze for CTFontManagerScope
impl RefUnwindSafe for CTFontManagerScope
impl Send for CTFontManagerScope
impl Sync for CTFontManagerScope
impl Unpin for CTFontManagerScope
impl UnwindSafe for CTFontManagerScope
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.