#[repr(transparent)]pub struct VNElementType(pub NSUInteger);
Available on crate feature
VNTypes
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl VNElementType
impl VNElementType
Source§impl VNElementType
impl VNElementType
Sourcepub unsafe fn size(self: VNElementType) -> NSUInteger
Available on crate feature VNUtils
only.
pub unsafe fn size(self: VNElementType) -> NSUInteger
VNUtils
only.Obtain the size, in bytes, of a given element type.
Parameter elementType
: The element type.
Returns: a byte count, or 0 if the element type is unknown.
Trait Implementations§
Source§impl Clone for VNElementType
impl Clone for VNElementType
Source§fn clone(&self) -> VNElementType
fn clone(&self) -> VNElementType
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 VNElementType
impl Debug for VNElementType
Source§impl Encode for VNElementType
impl Encode for VNElementType
Source§impl Hash for VNElementType
impl Hash for VNElementType
Source§impl Ord for VNElementType
impl Ord for VNElementType
Source§fn cmp(&self, other: &VNElementType) -> Ordering
fn cmp(&self, other: &VNElementType) -> 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 VNElementType
impl PartialEq for VNElementType
Source§impl PartialOrd for VNElementType
impl PartialOrd for VNElementType
Source§impl RefEncode for VNElementType
impl RefEncode for VNElementType
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 VNElementType
impl Eq for VNElementType
impl StructuralPartialEq for VNElementType
Auto Trait Implementations§
impl Freeze for VNElementType
impl RefUnwindSafe for VNElementType
impl Send for VNElementType
impl Sync for VNElementType
impl Unpin for VNElementType
impl UnwindSafe for VNElementType
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.