pub enum Chars<P = u32, O = Operand> {
Literal(Vec<u8>),
Place(P),
Value(O),
}Expand description
An operand as STRING, UNSTRING, INSPECT and CALL BY CONTENT take it: bytes, not a value.
Variants§
Literal(Vec<u8>)
A literal or figurative constant, its bytes made at lowering.
Place(P)
A data item’s storage.
Value(O)
FUNCTION, LENGTH OF or ADDRESS OF, converted as the statement converts a value.
Trait Implementations§
impl<P, O> Eq for Chars<P, O>
impl<P, O> StructuralPartialEq for Chars<P, O>
Auto Trait Implementations§
impl<P, O> Freeze for Chars<P, O>
impl<P, O> RefUnwindSafe for Chars<P, O>where
P: RefUnwindSafe,
O: RefUnwindSafe,
impl<P, O> Send for Chars<P, O>
impl<P, O> Sync for Chars<P, O>
impl<P, O> Unpin for Chars<P, O>
impl<P, O> UnsafeUnpin for Chars<P, O>where
P: UnsafeUnpin,
O: UnsafeUnpin,
impl<P, O> UnwindSafe for Chars<P, O>where
P: UnwindSafe,
O: UnwindSafe,
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