#[repr(C)]pub struct ShaderConstantUpdateT {
pub instance_id: u32,
pub constant_offset: u32,
pub first_byte: u32,
pub num_bytes: u32,
pub data: *const c_void,
}Fields§
§instance_id: u32§constant_offset: u32§first_byte: u32§num_bytes: u32§data: *const c_voidTrait Implementations§
Source§impl Clone for ShaderConstantUpdateT
impl Clone for ShaderConstantUpdateT
Source§fn clone(&self) -> ShaderConstantUpdateT
fn clone(&self) -> ShaderConstantUpdateT
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 Default for ShaderConstantUpdateT
impl Default for ShaderConstantUpdateT
impl Copy for ShaderConstantUpdateT
Auto Trait Implementations§
impl Freeze for ShaderConstantUpdateT
impl RefUnwindSafe for ShaderConstantUpdateT
impl !Send for ShaderConstantUpdateT
impl !Sync for ShaderConstantUpdateT
impl Unpin for ShaderConstantUpdateT
impl UnwindSafe for ShaderConstantUpdateT
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