Enum naga::proc::constant_evaluator::Signed
source · enum Signed<const N: usize> {
AbstractFloat([f64; N]),
AbstractInt([i64; N]),
F32([f32; N]),
I32([i32; N]),
}
Expand description
A subset of Literal
s intended to be used for implementing numeric built-ins.
Variants§
AbstractFloat([f64; N])
Maps to Literal::AbstractFloat
AbstractInt([i64; N])
Maps to Literal::AbstractInt
F32([f32; N])
Maps to Literal::F32
I32([i32; N])
Maps to Literal::I32
Trait Implementations§
Auto Trait Implementations§
impl<const N: usize> Freeze for Signed<N>
impl<const N: usize> RefUnwindSafe for Signed<N>
impl<const N: usize> Send for Signed<N>
impl<const N: usize> Sync for Signed<N>
impl<const N: usize> Unpin for Signed<N>
impl<const N: usize> UnwindSafe for Signed<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