Struct objc2_app_kit::NSGlyphProperty
source · #[repr(transparent)]pub struct NSGlyphProperty(pub NSInteger);
Available on crate feature
NSLayoutManager
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSGlyphProperty
impl NSGlyphProperty
pub const Null: Self = _
pub const ControlCharacter: Self = _
pub const Elastic: Self = _
pub const NonBaseCharacter: Self = _
Trait Implementations§
source§impl Clone for NSGlyphProperty
impl Clone for NSGlyphProperty
source§fn clone(&self) -> NSGlyphProperty
fn clone(&self) -> NSGlyphProperty
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 NSGlyphProperty
impl Debug for NSGlyphProperty
source§impl Encode for NSGlyphProperty
impl Encode for NSGlyphProperty
source§impl Hash for NSGlyphProperty
impl Hash for NSGlyphProperty
source§impl Ord for NSGlyphProperty
impl Ord for NSGlyphProperty
source§fn cmp(&self, other: &NSGlyphProperty) -> Ordering
fn cmp(&self, other: &NSGlyphProperty) -> 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 NSGlyphProperty
impl PartialEq for NSGlyphProperty
source§fn eq(&self, other: &NSGlyphProperty) -> bool
fn eq(&self, other: &NSGlyphProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSGlyphProperty
impl PartialOrd for NSGlyphProperty
source§fn partial_cmp(&self, other: &NSGlyphProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &NSGlyphProperty) -> 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 NSGlyphProperty
impl RefEncode for NSGlyphProperty
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 NSGlyphProperty
impl Eq for NSGlyphProperty
impl StructuralPartialEq for NSGlyphProperty
Auto Trait Implementations§
impl Freeze for NSGlyphProperty
impl RefUnwindSafe for NSGlyphProperty
impl Send for NSGlyphProperty
impl Sync for NSGlyphProperty
impl Unpin for NSGlyphProperty
impl UnwindSafe for NSGlyphProperty
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.