pub enum ArgumentBindingType {
Buffer,
Texture,
Sampler,
Constant,
}Expand description
Re-exports the Metal framework surface for this item.
Resource kind expected at an argument-buffer index.
Variants§
Buffer
Buffer pointer binding.
Texture
Texture binding.
Sampler
Sampler binding.
Constant
Constant-data binding.
Trait Implementations§
Source§impl Clone for ArgumentBindingType
impl Clone for ArgumentBindingType
Source§fn clone(&self) -> ArgumentBindingType
fn clone(&self) -> ArgumentBindingType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ArgumentBindingType
Source§impl Debug for ArgumentBindingType
impl Debug for ArgumentBindingType
impl Eq for ArgumentBindingType
Source§impl PartialEq for ArgumentBindingType
impl PartialEq for ArgumentBindingType
impl StructuralPartialEq for ArgumentBindingType
Auto Trait Implementations§
impl Freeze for ArgumentBindingType
impl RefUnwindSafe for ArgumentBindingType
impl Send for ArgumentBindingType
impl Sync for ArgumentBindingType
impl Unpin for ArgumentBindingType
impl UnsafeUnpin for ArgumentBindingType
impl UnwindSafe for ArgumentBindingType
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