pub struct ComputePipelineReflectionRef(/* private fields */);Expand description
A borrowed reference to a ComputePipelineReflection.
Implementations§
Source§impl ComputePipelineReflectionRef
impl ComputePipelineReflectionRef
Sourcepub fn arguments(&self) -> &ArgumentArrayRef
pub fn arguments(&self) -> &ArgumentArrayRef
An array of objects that describe the arguments of a compute function.
Trait Implementations§
Source§impl AsMut<ComputePipelineReflectionRef> for ComputePipelineReflection
impl AsMut<ComputePipelineReflectionRef> for ComputePipelineReflection
Source§fn as_mut(&mut self) -> &mut ComputePipelineReflectionRef
fn as_mut(&mut self) -> &mut ComputePipelineReflectionRef
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ComputePipelineReflectionRef> for ComputePipelineReflection
impl AsRef<ComputePipelineReflectionRef> for ComputePipelineReflection
Source§fn as_ref(&self) -> &ComputePipelineReflectionRef
fn as_ref(&self) -> &ComputePipelineReflectionRef
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Borrow<ComputePipelineReflectionRef> for ComputePipelineReflection
impl Borrow<ComputePipelineReflectionRef> for ComputePipelineReflection
Source§fn borrow(&self) -> &ComputePipelineReflectionRef
fn borrow(&self) -> &ComputePipelineReflectionRef
Immutably borrows from an owned value. Read more
Source§impl BorrowMut<ComputePipelineReflectionRef> for ComputePipelineReflection
impl BorrowMut<ComputePipelineReflectionRef> for ComputePipelineReflection
Source§fn borrow_mut(&mut self) -> &mut ComputePipelineReflectionRef
fn borrow_mut(&mut self) -> &mut ComputePipelineReflectionRef
Mutably borrows from an owned value. Read more
Source§impl Debug for ComputePipelineReflectionRef
impl Debug for ComputePipelineReflectionRef
Source§impl ForeignTypeRef for ComputePipelineReflectionRef
impl ForeignTypeRef for ComputePipelineReflectionRef
Source§type CType = MTLComputePipelineReflection
type CType = MTLComputePipelineReflection
The raw C type.
Source§unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type. Read more
Source§impl Message for ComputePipelineReflectionRef
impl Message for ComputePipelineReflectionRef
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
impl Send for ComputePipelineReflectionRef
impl Sync for ComputePipelineReflectionRef
Source§impl ToOwned for ComputePipelineReflectionRef
impl ToOwned for ComputePipelineReflectionRef
Source§type Owned = ComputePipelineReflection
type Owned = ComputePipelineReflection
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> ComputePipelineReflection
fn to_owned(&self) -> ComputePipelineReflection
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ComputePipelineReflectionRef
impl Freeze for ComputePipelineReflectionRef
impl Unpin for ComputePipelineReflectionRef
impl UnsafeUnpin for ComputePipelineReflectionRef
impl UnwindSafe for ComputePipelineReflectionRef
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