pub struct BlitPassDescriptor(/* private fields */);Implementations§
Source§impl BlitPassDescriptor
impl BlitPassDescriptor
Sourcepub fn new<'a>() -> &'a BlitPassDescriptorRef
pub fn new<'a>() -> &'a BlitPassDescriptorRef
Creates a default blit command pass descriptor with no attachments.
Methods from Deref<Target = BlitPassDescriptorRef>§
pub fn sample_buffer_attachments( &self, ) -> &BlitPassSampleBufferAttachmentDescriptorArrayRef
Trait Implementations§
Source§impl AsMut<BlitPassDescriptorRef> for BlitPassDescriptor
impl AsMut<BlitPassDescriptorRef> for BlitPassDescriptor
Source§fn as_mut(&mut self) -> &mut BlitPassDescriptorRef
fn as_mut(&mut self) -> &mut BlitPassDescriptorRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<BlitPassDescriptorRef> for BlitPassDescriptor
impl AsRef<BlitPassDescriptorRef> for BlitPassDescriptor
Source§fn as_ref(&self) -> &BlitPassDescriptorRef
fn as_ref(&self) -> &BlitPassDescriptorRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<BlitPassDescriptorRef> for BlitPassDescriptor
impl Borrow<BlitPassDescriptorRef> for BlitPassDescriptor
Source§fn borrow(&self) -> &BlitPassDescriptorRef
fn borrow(&self) -> &BlitPassDescriptorRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<BlitPassDescriptorRef> for BlitPassDescriptor
impl BorrowMut<BlitPassDescriptorRef> for BlitPassDescriptor
Source§fn borrow_mut(&mut self) -> &mut BlitPassDescriptorRef
fn borrow_mut(&mut self) -> &mut BlitPassDescriptorRef
Mutably borrows from an owned value. Read more
Source§impl Clone for BlitPassDescriptor
impl Clone for BlitPassDescriptor
Source§fn clone(&self) -> BlitPassDescriptor
fn clone(&self) -> BlitPassDescriptor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BlitPassDescriptor
impl Debug for BlitPassDescriptor
Source§impl Deref for BlitPassDescriptor
impl Deref for BlitPassDescriptor
Source§type Target = BlitPassDescriptorRef
type Target = BlitPassDescriptorRef
The resulting type after dereferencing.
Source§fn deref(&self) -> &BlitPassDescriptorRef
fn deref(&self) -> &BlitPassDescriptorRef
Dereferences the value.
Source§impl DerefMut for BlitPassDescriptor
impl DerefMut for BlitPassDescriptor
Source§fn deref_mut(&mut self) -> &mut BlitPassDescriptorRef
fn deref_mut(&mut self) -> &mut BlitPassDescriptorRef
Mutably dereferences the value.
Source§impl Drop for BlitPassDescriptor
impl Drop for BlitPassDescriptor
Source§impl ForeignType for BlitPassDescriptor
impl ForeignType for BlitPassDescriptor
Source§type CType = MTLBlitPassDescriptor
type CType = MTLBlitPassDescriptor
The raw C type.
Source§type Ref = BlitPassDescriptorRef
type Ref = BlitPassDescriptorRef
The type representing a reference to this type.
Source§unsafe fn from_ptr(ptr: *mut MTLBlitPassDescriptor) -> BlitPassDescriptor
unsafe fn from_ptr(ptr: *mut MTLBlitPassDescriptor) -> BlitPassDescriptor
Constructs an instance of this type from its raw type. Read more
Source§fn as_ptr(&self) -> *mut MTLBlitPassDescriptor
fn as_ptr(&self) -> *mut MTLBlitPassDescriptor
Returns a raw pointer to the wrapped value.
impl Send for BlitPassDescriptor
impl Sync for BlitPassDescriptor
Auto Trait Implementations§
impl Freeze for BlitPassDescriptor
impl RefUnwindSafe for BlitPassDescriptor
impl Unpin for BlitPassDescriptor
impl UnwindSafe for BlitPassDescriptor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)