#[repr(transparent)]pub struct MTLBindingType(pub NSInteger);Available on crate feature
MTLArgument only.Expand description
The type of a resource binding.
This binding represents a buffer.
This binding represents threadgroup memory.
This binding represents a texture.
This binding represents a sampler.
This binding represents an image block data.
This binding represents an image block.
This binding represents a visible function table object.
This binding represents a primitive acceleration structure object.
This binding represents an instance acceleration structure object.
This binding represents an intersection function table object.
This binding represents an object payload.
This binding represents a tensor object.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl MTLBindingType
impl MTLBindingType
pub const Buffer: Self
pub const ThreadgroupMemory: Self
pub const Texture: Self
pub const Sampler: Self
pub const ImageblockData: Self
pub const Imageblock: Self
pub const VisibleFunctionTable: Self
pub const PrimitiveAccelerationStructure: Self
pub const InstanceAccelerationStructure: Self
pub const IntersectionFunctionTable: Self
pub const ObjectPayload: Self
pub const Tensor: Self
Trait Implementations§
Source§impl Clone for MTLBindingType
impl Clone for MTLBindingType
Source§fn clone(&self) -> MTLBindingType
fn clone(&self) -> MTLBindingType
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 MTLBindingType
impl Debug for MTLBindingType
Source§impl Encode for MTLBindingType
impl Encode for MTLBindingType
Source§impl Hash for MTLBindingType
impl Hash for MTLBindingType
Source§impl Ord for MTLBindingType
impl Ord for MTLBindingType
Source§fn cmp(&self, other: &MTLBindingType) -> Ordering
fn cmp(&self, other: &MTLBindingType) -> 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 MTLBindingType
impl PartialEq for MTLBindingType
Source§impl PartialOrd for MTLBindingType
impl PartialOrd for MTLBindingType
Source§impl RefEncode for MTLBindingType
impl RefEncode for MTLBindingType
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 MTLBindingType
impl Eq for MTLBindingType
impl StructuralPartialEq for MTLBindingType
Auto Trait Implementations§
impl Freeze for MTLBindingType
impl RefUnwindSafe for MTLBindingType
impl Send for MTLBindingType
impl Sync for MTLBindingType
impl Unpin for MTLBindingType
impl UnwindSafe for MTLBindingType
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.