pub enum Datum<P = u32, O = Operand, S = u32> {
Place(P),
Value(O),
Text(S),
Bare,
}Expand description
An option’s argument: a data item, another operand (a literal, LENGTH OF and the like), text the translator kept as written (a label, a name that is not a data item), or none at all.
Variants§
Implementations§
Trait Implementations§
impl<P, O, S> Copy for Datum<P, O, S>
impl<P, O, S> Eq for Datum<P, O, S>
impl<P, O, S> StructuralPartialEq for Datum<P, O, S>
Auto Trait Implementations§
impl<P, O, S> Freeze for Datum<P, O, S>
impl<P, O, S> RefUnwindSafe for Datum<P, O, S>
impl<P, O, S> Send for Datum<P, O, S>
impl<P, O, S> Sync for Datum<P, O, S>
impl<P, O, S> Unpin for Datum<P, O, S>
impl<P, O, S> UnsafeUnpin for Datum<P, O, S>
impl<P, O, S> UnwindSafe for Datum<P, O, S>
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