#[repr(transparent)]pub struct MACaptionAppearanceDomain(pub CFIndex);Available on crate feature
MACaptionAppearance only.Expand description
MACaptionAppearanceDomain is used to specify which domain of preferences to access.
The user-defined preferences. This domain should be passed to retrieve settings that should be used to render captions.
The system defaults which will not change during a user session. These settings should be used for comparison, not to render captions. For example, when rendering a glyph some caption render engines need to get the user-defined font and the system-defined font to determeine the final pixel size to render a glyph. Most render engines will never need to use this domain.
See also Apple’s documentation
Tuple Fields§
§0: CFIndexImplementations§
Trait Implementations§
Source§impl Clone for MACaptionAppearanceDomain
impl Clone for MACaptionAppearanceDomain
Source§fn clone(&self) -> MACaptionAppearanceDomain
fn clone(&self) -> MACaptionAppearanceDomain
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 MACaptionAppearanceDomain
impl Debug for MACaptionAppearanceDomain
Source§impl Encode for MACaptionAppearanceDomain
Available on crate feature objc2 only.
impl Encode for MACaptionAppearanceDomain
Available on crate feature
objc2 only.Source§impl Hash for MACaptionAppearanceDomain
impl Hash for MACaptionAppearanceDomain
Source§impl Ord for MACaptionAppearanceDomain
impl Ord for MACaptionAppearanceDomain
Source§fn cmp(&self, other: &MACaptionAppearanceDomain) -> Ordering
fn cmp(&self, other: &MACaptionAppearanceDomain) -> 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 PartialOrd for MACaptionAppearanceDomain
impl PartialOrd for MACaptionAppearanceDomain
Source§impl RefEncode for MACaptionAppearanceDomain
Available on crate feature objc2 only.
impl RefEncode for MACaptionAppearanceDomain
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 MACaptionAppearanceDomain
impl Eq for MACaptionAppearanceDomain
impl StructuralPartialEq for MACaptionAppearanceDomain
Auto Trait Implementations§
impl Freeze for MACaptionAppearanceDomain
impl RefUnwindSafe for MACaptionAppearanceDomain
impl Send for MACaptionAppearanceDomain
impl Sync for MACaptionAppearanceDomain
impl Unpin for MACaptionAppearanceDomain
impl UnwindSafe for MACaptionAppearanceDomain
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.