#[repr(transparent)]pub struct MPSDataLayout(pub NSUInteger);Available on crate features
MPSCore and MPSImage only.Expand description
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl MPSDataLayout
impl MPSDataLayout
pub const HeightxWidthxFeatureChannels: Self
pub const FeatureChannelsxHeightxWidth: Self
Trait Implementations§
Source§impl Clone for MPSDataLayout
impl Clone for MPSDataLayout
Source§fn clone(&self) -> MPSDataLayout
fn clone(&self) -> MPSDataLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MPSDataLayout
impl Debug for MPSDataLayout
Source§impl Encode for MPSDataLayout
impl Encode for MPSDataLayout
Source§impl Hash for MPSDataLayout
impl Hash for MPSDataLayout
Source§impl Ord for MPSDataLayout
impl Ord for MPSDataLayout
Source§fn cmp(&self, other: &MPSDataLayout) -> Ordering
fn cmp(&self, other: &MPSDataLayout) -> Ordering
1.21.0 (const: unstable) · 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 MPSDataLayout
impl PartialEq for MPSDataLayout
Source§fn eq(&self, other: &MPSDataLayout) -> bool
fn eq(&self, other: &MPSDataLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MPSDataLayout
impl PartialOrd for MPSDataLayout
Source§impl RefEncode for MPSDataLayout
impl RefEncode for MPSDataLayout
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 MPSDataLayout
impl Eq for MPSDataLayout
impl StructuralPartialEq for MPSDataLayout
Auto Trait Implementations§
impl Freeze for MPSDataLayout
impl RefUnwindSafe for MPSDataLayout
impl Send for MPSDataLayout
impl Sync for MPSDataLayout
impl Unpin for MPSDataLayout
impl UnsafeUnpin for MPSDataLayout
impl UnwindSafe for MPSDataLayout
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.