Struct objc2_app_kit::NSFontTraitMask
source · #[repr(transparent)]pub struct NSFontTraitMask(pub NSUInteger);
Available on crate feature
NSFontManager
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSFontTraitMask
impl NSFontTraitMask
pub const NSItalicFontMask: Self = _
pub const NSBoldFontMask: Self = _
pub const NSUnboldFontMask: Self = _
pub const NSNonStandardCharacterSetFontMask: Self = _
pub const NSNarrowFontMask: Self = _
pub const NSExpandedFontMask: Self = _
pub const NSCondensedFontMask: Self = _
pub const NSSmallCapsFontMask: Self = _
pub const NSPosterFontMask: Self = _
pub const NSCompressedFontMask: Self = _
pub const NSFixedPitchFontMask: Self = _
pub const NSUnitalicFontMask: Self = _
Trait Implementations§
source§impl Clone for NSFontTraitMask
impl Clone for NSFontTraitMask
source§fn clone(&self) -> NSFontTraitMask
fn clone(&self) -> NSFontTraitMask
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 NSFontTraitMask
impl Debug for NSFontTraitMask
source§impl Encode for NSFontTraitMask
impl Encode for NSFontTraitMask
source§impl Hash for NSFontTraitMask
impl Hash for NSFontTraitMask
source§impl Ord for NSFontTraitMask
impl Ord for NSFontTraitMask
source§fn cmp(&self, other: &NSFontTraitMask) -> Ordering
fn cmp(&self, other: &NSFontTraitMask) -> 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 NSFontTraitMask
impl PartialEq for NSFontTraitMask
source§fn eq(&self, other: &NSFontTraitMask) -> bool
fn eq(&self, other: &NSFontTraitMask) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSFontTraitMask
impl PartialOrd for NSFontTraitMask
source§fn partial_cmp(&self, other: &NSFontTraitMask) -> Option<Ordering>
fn partial_cmp(&self, other: &NSFontTraitMask) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSFontTraitMask
impl RefEncode for NSFontTraitMask
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 NSFontTraitMask
impl Eq for NSFontTraitMask
impl StructuralPartialEq for NSFontTraitMask
Auto Trait Implementations§
impl Freeze for NSFontTraitMask
impl RefUnwindSafe for NSFontTraitMask
impl Send for NSFontTraitMask
impl Sync for NSFontTraitMask
impl Unpin for NSFontTraitMask
impl UnwindSafe for NSFontTraitMask
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> 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.