#[repr(transparent)]pub struct VariableId(pub SpvId);Expand description
A SPIR-V ID to a variable.
Tuple Fields§
§0: SpvIdTrait Implementations§
Source§impl Clone for VariableId
impl Clone for VariableId
Source§fn clone(&self) -> VariableId
fn clone(&self) -> VariableId
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 VariableId
impl Debug for VariableId
Source§impl From<u32> for VariableId
impl From<u32> for VariableId
Source§fn from(value: u32) -> VariableId
fn from(value: u32) -> VariableId
Converts to this type from the input type.
Source§impl Hash for VariableId
impl Hash for VariableId
Source§impl PartialEq for VariableId
impl PartialEq for VariableId
impl Copy for VariableId
impl Eq for VariableId
impl StructuralPartialEq for VariableId
Auto Trait Implementations§
impl Freeze for VariableId
impl RefUnwindSafe for VariableId
impl Send for VariableId
impl Sync for VariableId
impl Unpin for VariableId
impl UnwindSafe for VariableId
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