Enum naga::proc::constant_evaluator::ConcreteInt
source · enum ConcreteInt<const N: usize> {
U32([u32; N]),
I32([i32; N]),
}
Expand description
A subset of Literal
s intended to be used for implementing numeric built-ins.
Variants§
Trait Implementations§
source§impl<const N: usize> Debug for ConcreteInt<N>
impl<const N: usize> Debug for ConcreteInt<N>
source§impl From<ConcreteInt<1>> for Expression
impl From<ConcreteInt<1>> for Expression
source§fn from(value: ConcreteInt<1>) -> Self
fn from(value: ConcreteInt<1>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<const N: usize> Freeze for ConcreteInt<N>
impl<const N: usize> RefUnwindSafe for ConcreteInt<N>
impl<const N: usize> Send for ConcreteInt<N>
impl<const N: usize> Sync for ConcreteInt<N>
impl<const N: usize> Unpin for ConcreteInt<N>
impl<const N: usize> UnwindSafe for ConcreteInt<N>
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