#[repr(transparent)]pub struct CFNumberType(pub CFIndex);Available on crate feature
CFNumber only.Expand description
Tuple Fields§
§0: CFIndexImplementations§
Source§impl CFNumberType
impl CFNumberType
pub const SInt8Type: Self
pub const SInt16Type: Self
pub const SInt32Type: Self
pub const SInt64Type: Self
pub const Float32Type: Self
pub const Float64Type: Self
pub const CharType: Self
pub const ShortType: Self
pub const IntType: Self
pub const LongType: Self
pub const LongLongType: Self
pub const FloatType: Self
pub const DoubleType: Self
pub const CFIndexType: Self
pub const NSIntegerType: Self
pub const CGFloatType: Self
pub const MaxType: Self
Trait Implementations§
Source§impl Clone for CFNumberType
impl Clone for CFNumberType
Source§fn clone(&self) -> CFNumberType
fn clone(&self) -> CFNumberType
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 CFNumberType
impl Debug for CFNumberType
Source§impl Encode for CFNumberType
Available on crate feature objc2 only.
impl Encode for CFNumberType
Available on crate feature
objc2 only.Source§impl Hash for CFNumberType
impl Hash for CFNumberType
Source§impl Ord for CFNumberType
impl Ord for CFNumberType
Source§fn cmp(&self, other: &CFNumberType) -> Ordering
fn cmp(&self, other: &CFNumberType) -> 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 CFNumberType
impl PartialEq for CFNumberType
Source§impl PartialOrd for CFNumberType
impl PartialOrd for CFNumberType
Source§impl RefEncode for CFNumberType
Available on crate feature objc2 only.
impl RefEncode for CFNumberType
Available on crate feature
objc2 only.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 CFNumberType
impl Eq for CFNumberType
impl StructuralPartialEq for CFNumberType
Auto Trait Implementations§
impl Freeze for CFNumberType
impl RefUnwindSafe for CFNumberType
impl Send for CFNumberType
impl Sync for CFNumberType
impl Unpin for CFNumberType
impl UnwindSafe for CFNumberType
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.