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