#[repr(C)]pub struct MPSMatrixCopyOffsets {
pub sourceRowOffset: u32,
pub sourceColumnOffset: u32,
pub destinationRowOffset: u32,
pub destinationColumnOffset: u32,
}Available on crate features
MPSMatrix and MPSMatrixCombination only.Expand description
A description of each copy operation
See also Apple’s documentation
Fields§
§sourceRowOffset: u32offset to start of source region to read in rows
sourceColumnOffset: u32offset to start of source region to read in columns
destinationRowOffset: u32offset to start of destination region to read in rows
destinationColumnOffset: u32offset to start of destination region to read in columns
Trait Implementations§
Source§impl Clone for MPSMatrixCopyOffsets
impl Clone for MPSMatrixCopyOffsets
Source§fn clone(&self) -> MPSMatrixCopyOffsets
fn clone(&self) -> MPSMatrixCopyOffsets
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 MPSMatrixCopyOffsets
impl Debug for MPSMatrixCopyOffsets
Source§impl Encode for MPSMatrixCopyOffsets
impl Encode for MPSMatrixCopyOffsets
Source§impl PartialEq for MPSMatrixCopyOffsets
impl PartialEq for MPSMatrixCopyOffsets
Source§fn eq(&self, other: &MPSMatrixCopyOffsets) -> bool
fn eq(&self, other: &MPSMatrixCopyOffsets) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for MPSMatrixCopyOffsets
impl RefEncode for MPSMatrixCopyOffsets
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 MPSMatrixCopyOffsets
impl StructuralPartialEq for MPSMatrixCopyOffsets
Auto Trait Implementations§
impl Freeze for MPSMatrixCopyOffsets
impl RefUnwindSafe for MPSMatrixCopyOffsets
impl Send for MPSMatrixCopyOffsets
impl Sync for MPSMatrixCopyOffsets
impl Unpin for MPSMatrixCopyOffsets
impl UnsafeUnpin for MPSMatrixCopyOffsets
impl UnwindSafe for MPSMatrixCopyOffsets
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.