#[repr(C)]pub struct MTL4CopySparseBufferMappingOperation {
pub sourceRange: NSRange,
pub destinationOffset: NSUInteger,
}Available on crate feature
MTL4CommandQueue only.Expand description
Groups together arguments for an operation to copy a sparse buffer mapping.
See also Apple’s documentation
Fields§
§sourceRange: NSRangeThe range in the source buffer, in tiles.
The tiles remain mapped in the source buffer.
destinationOffset: NSUIntegerThe origin in the destination buffer, in tiles.
Trait Implementations§
Source§impl Clone for MTL4CopySparseBufferMappingOperation
impl Clone for MTL4CopySparseBufferMappingOperation
Source§fn clone(&self) -> MTL4CopySparseBufferMappingOperation
fn clone(&self) -> MTL4CopySparseBufferMappingOperation
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 PartialEq for MTL4CopySparseBufferMappingOperation
impl PartialEq for MTL4CopySparseBufferMappingOperation
Source§fn eq(&self, other: &MTL4CopySparseBufferMappingOperation) -> bool
fn eq(&self, other: &MTL4CopySparseBufferMappingOperation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for MTL4CopySparseBufferMappingOperation
impl RefEncode for MTL4CopySparseBufferMappingOperation
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 MTL4CopySparseBufferMappingOperation
impl StructuralPartialEq for MTL4CopySparseBufferMappingOperation
Auto Trait Implementations§
impl Freeze for MTL4CopySparseBufferMappingOperation
impl RefUnwindSafe for MTL4CopySparseBufferMappingOperation
impl Send for MTL4CopySparseBufferMappingOperation
impl Sync for MTL4CopySparseBufferMappingOperation
impl Unpin for MTL4CopySparseBufferMappingOperation
impl UnwindSafe for MTL4CopySparseBufferMappingOperation
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.