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