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