Enum wgpu_core::validation::BindingTypeName
source · pub enum BindingTypeName {
Buffer,
Texture,
Sampler,
AccelerationStructure,
}
Variants§
Trait Implementations§
source§impl Clone for BindingTypeName
impl Clone for BindingTypeName
source§fn clone(&self) -> BindingTypeName
fn clone(&self) -> BindingTypeName
Returns a copy 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 BindingTypeName
impl Debug for BindingTypeName
source§impl From<&BindingType> for BindingTypeName
impl From<&BindingType> for BindingTypeName
source§fn from(ty: &BindingType) -> BindingTypeName
fn from(ty: &BindingType) -> BindingTypeName
Converts to this type from the input type.
source§impl From<&ResourceType> for BindingTypeName
impl From<&ResourceType> for BindingTypeName
source§fn from(ty: &ResourceType) -> BindingTypeName
fn from(ty: &ResourceType) -> BindingTypeName
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BindingTypeName
impl RefUnwindSafe for BindingTypeName
impl Send for BindingTypeName
impl Sync for BindingTypeName
impl Unpin for BindingTypeName
impl UnwindSafe for BindingTypeName
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)