Enum comfy_wgpu::BufferType
source · pub enum BufferType {
Vertex,
Index,
Instance,
Uniform,
Storage,
Read,
}Variants§
Implementations§
source§impl BufferType
impl BufferType
pub fn usage(&self) -> BufferUsages
Auto Trait Implementations§
impl RefUnwindSafe for BufferType
impl Send for BufferType
impl Sync for BufferType
impl Unpin for BufferType
impl UnwindSafe for BufferType
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