#[repr(C)]pub struct ConstantBuffer {
pub uint32Size: u32,
pub data: [u32; 64],
}Expand description
A structure containing a constant buffer.
Fields§
§uint32Size: u32< Size of 32 bit chunks used in the constant buffer
data: [u32; 64]< Constant buffer data
Trait Implementations§
Source§impl Clone for ConstantBuffer
impl Clone for ConstantBuffer
Source§fn clone(&self) -> ConstantBuffer
fn clone(&self) -> ConstantBuffer
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 ConstantBuffer
impl Debug for ConstantBuffer
Source§impl Default for ConstantBuffer
impl Default for ConstantBuffer
impl Copy for ConstantBuffer
Auto Trait Implementations§
impl Freeze for ConstantBuffer
impl RefUnwindSafe for ConstantBuffer
impl Send for ConstantBuffer
impl Sync for ConstantBuffer
impl Unpin for ConstantBuffer
impl UnwindSafe for ConstantBuffer
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