#[repr(transparent)]pub struct MTLArgumentType(pub NSUInteger);👎Deprecated
Available on crate feature
MTLArgument only.Expand description
The type for an input to a MTLRenderPipelineState or a MTLComputePipelineState
This input is a MTLBuffer
This input is a pointer to the threadgroup memory.
This input is a MTLTexture.
This input is a sampler.
See also Apple’s documentation
Tuple Fields§
§0: NSUInteger👎Deprecated
Implementations§
Source§impl MTLArgumentType
impl MTLArgumentType
pub const Buffer: Self
👎Deprecated
pub const ThreadgroupMemory: Self
👎Deprecated
pub const Texture: Self
👎Deprecated
pub const Sampler: Self
👎Deprecated
pub const ImageblockData: Self
pub const Imageblock: Self
pub const VisibleFunctionTable: Self
pub const PrimitiveAccelerationStructure: Self
pub const InstanceAccelerationStructure: Self
pub const IntersectionFunctionTable: Self
Trait Implementations§
Source§impl Clone for MTLArgumentType
impl Clone for MTLArgumentType
Source§fn clone(&self) -> MTLArgumentType
fn clone(&self) -> MTLArgumentType
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 Debug for MTLArgumentType
impl Debug for MTLArgumentType
Source§impl Encode for MTLArgumentType
impl Encode for MTLArgumentType
Source§impl Hash for MTLArgumentType
impl Hash for MTLArgumentType
Source§impl Ord for MTLArgumentType
impl Ord for MTLArgumentType
Source§fn cmp(&self, other: &MTLArgumentType) -> Ordering
fn cmp(&self, other: &MTLArgumentType) -> Ordering
1.21.0 · 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 MTLArgumentType
impl PartialEq for MTLArgumentType
Source§impl PartialOrd for MTLArgumentType
impl PartialOrd for MTLArgumentType
Source§impl RefEncode for MTLArgumentType
impl RefEncode for MTLArgumentType
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 MTLArgumentType
impl Eq for MTLArgumentType
impl StructuralPartialEq for MTLArgumentType
Auto Trait Implementations§
impl Freeze for MTLArgumentType
impl RefUnwindSafe for MTLArgumentType
impl Send for MTLArgumentType
impl Sync for MTLArgumentType
impl Unpin for MTLArgumentType
impl UnwindSafe for MTLArgumentType
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.