#[repr(transparent)]pub struct NSImageAlignment(pub NSUInteger);
Available on crate feature
NSImageCell
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSImageAlignment
impl NSImageAlignment
pub const AlignCenter: Self
pub const AlignTop: Self
pub const AlignTopLeft: Self
pub const AlignTopRight: Self
pub const AlignLeft: Self
pub const AlignBottom: Self
pub const AlignBottomLeft: Self
pub const AlignBottomRight: Self
pub const AlignRight: Self
Trait Implementations§
Source§impl Clone for NSImageAlignment
impl Clone for NSImageAlignment
Source§fn clone(&self) -> NSImageAlignment
fn clone(&self) -> NSImageAlignment
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 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§impl PartialOrd for NSImageAlignment
impl PartialOrd for NSImageAlignment
Source§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> 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.