#[repr(C)]pub struct ComputeBufferType {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl ComputeBufferType
impl ComputeBufferType
pub fn default() -> Self
pub fn raw() -> Self
pub fn append() -> Self
pub fn counter() -> Self
pub fn constant() -> Self
pub fn structured() -> Self
pub fn draw_indirect() -> Self
pub fn indirect_arguments() -> Self
pub fn gpu_memory() -> Self
Trait Implementations§
Source§impl ClassIdentity for ComputeBufferType
impl ClassIdentity for ComputeBufferType
Source§impl Clone for ComputeBufferType
impl Clone for ComputeBufferType
Source§fn clone(&self) -> ComputeBufferType
fn clone(&self) -> ComputeBufferType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComputeBufferType
impl Debug for ComputeBufferType
Source§impl PartialEq for ComputeBufferType
impl PartialEq for ComputeBufferType
impl Copy for ComputeBufferType
impl Eq for ComputeBufferType
impl StructuralPartialEq for ComputeBufferType
Auto Trait Implementations§
impl Freeze for ComputeBufferType
impl RefUnwindSafe for ComputeBufferType
impl Send for ComputeBufferType
impl Sync for ComputeBufferType
impl Unpin for ComputeBufferType
impl UnwindSafe for ComputeBufferType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)