pub struct PushConstantVariable {
pub type_id: u32,
pub name: Option<String>,
}
Expand description
Describes a push constant variable declared in a SPIRV module
Fields§
§type_id: u32
The type id of the variable’s Type
name: Option<String>
The variables name (if known)
Trait Implementations§
Source§impl Clone for PushConstantVariable
impl Clone for PushConstantVariable
Source§fn clone(&self) -> PushConstantVariable
fn clone(&self) -> PushConstantVariable
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 moreAuto Trait Implementations§
impl Freeze for PushConstantVariable
impl RefUnwindSafe for PushConstantVariable
impl Send for PushConstantVariable
impl Sync for PushConstantVariable
impl Unpin for PushConstantVariable
impl UnwindSafe for PushConstantVariable
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