Struct objc2_foundation::NSAlignmentOptions
source · #[repr(transparent)]pub struct NSAlignmentOptions(pub c_ulonglong);
Available on crate feature
NSGeometry
only.Tuple Fields§
§0: c_ulonglong
Implementations§
source§impl NSAlignmentOptions
impl NSAlignmentOptions
pub const NSAlignMinXInward: Self = _
pub const NSAlignMinYInward: Self = _
pub const NSAlignMaxXInward: Self = _
pub const NSAlignMaxYInward: Self = _
pub const NSAlignWidthInward: Self = _
pub const NSAlignHeightInward: Self = _
pub const NSAlignMinXOutward: Self = _
pub const NSAlignMinYOutward: Self = _
pub const NSAlignMaxXOutward: Self = _
pub const NSAlignMaxYOutward: Self = _
pub const NSAlignWidthOutward: Self = _
pub const NSAlignHeightOutward: Self = _
pub const NSAlignMinXNearest: Self = _
pub const NSAlignMinYNearest: Self = _
pub const NSAlignMaxXNearest: Self = _
pub const NSAlignMaxYNearest: Self = _
pub const NSAlignWidthNearest: Self = _
pub const NSAlignHeightNearest: Self = _
pub const NSAlignRectFlipped: Self = _
pub const NSAlignAllEdgesInward: Self = _
pub const NSAlignAllEdgesOutward: Self = _
pub const NSAlignAllEdgesNearest: Self = _
Trait Implementations§
source§impl Clone for NSAlignmentOptions
impl Clone for NSAlignmentOptions
source§fn clone(&self) -> NSAlignmentOptions
fn clone(&self) -> NSAlignmentOptions
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 NSAlignmentOptions
impl Debug for NSAlignmentOptions
source§impl Encode for NSAlignmentOptions
impl Encode for NSAlignmentOptions
source§impl Hash for NSAlignmentOptions
impl Hash for NSAlignmentOptions
source§impl Ord for NSAlignmentOptions
impl Ord for NSAlignmentOptions
source§fn cmp(&self, other: &NSAlignmentOptions) -> Ordering
fn cmp(&self, other: &NSAlignmentOptions) -> 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 NSAlignmentOptions
impl PartialEq for NSAlignmentOptions
source§fn eq(&self, other: &NSAlignmentOptions) -> bool
fn eq(&self, other: &NSAlignmentOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSAlignmentOptions
impl PartialOrd for NSAlignmentOptions
source§fn partial_cmp(&self, other: &NSAlignmentOptions) -> Option<Ordering>
fn partial_cmp(&self, other: &NSAlignmentOptions) -> 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 NSAlignmentOptions
impl RefEncode for NSAlignmentOptions
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 NSAlignmentOptions
impl Eq for NSAlignmentOptions
impl StructuralPartialEq for NSAlignmentOptions
Auto Trait Implementations§
impl Freeze for NSAlignmentOptions
impl RefUnwindSafe for NSAlignmentOptions
impl Send for NSAlignmentOptions
impl Sync for NSAlignmentOptions
impl Unpin for NSAlignmentOptions
impl UnwindSafe for NSAlignmentOptions
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.