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