pub enum FutharkConst {
I8(i8),
I16(i16),
I32(i32),
I64(i64),
U8(u8),
U16(u16),
U32(u32),
U64(u64),
F16(u16),
F32(f32),
F64(f64),
Bool(bool),
}Expand description
Futhark primitive value constant
Variants§
I8(i8)
I16(i16)
I32(i32)
I64(i64)
U8(u8)
U16(u16)
U32(u32)
U64(u64)
F16(u16)
F32(f32)
F64(f64)
Bool(bool)
Trait Implementations§
Source§impl Clone for FutharkConst
impl Clone for FutharkConst
Source§fn clone(&self) -> FutharkConst
fn clone(&self) -> FutharkConst
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 FutharkConst
impl Debug for FutharkConst
Source§impl Display for FutharkConst
impl Display for FutharkConst
Source§impl PartialEq for FutharkConst
impl PartialEq for FutharkConst
impl StructuralPartialEq for FutharkConst
Auto Trait Implementations§
impl Freeze for FutharkConst
impl RefUnwindSafe for FutharkConst
impl Send for FutharkConst
impl Sync for FutharkConst
impl Unpin for FutharkConst
impl UnsafeUnpin for FutharkConst
impl UnwindSafe for FutharkConst
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