pub enum Literal {
Float([u32; 4]),
Integer([i32; 4]),
Bool(u32),
}Expand description
The literal of a definition.
Variants§
Float([u32; 4])
def: four floats, as their bit patterns.
Integer([i32; 4])
defi: four integers.
Bool(u32)
defb: a boolean, as its word (TRUE is 1).
Trait Implementations§
impl Copy for Literal
impl Eq for Literal
impl StructuralPartialEq for Literal
Auto Trait Implementations§
impl Forget for Literal
impl Freeze for Literal
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnsafeUnpin for Literal
impl UnwindSafe for Literal
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