#[repr(u8)]pub enum StackValueType {
Null = 0,
Int = 1,
Cell = 2,
Slice = 3,
Builder = 4,
Cont = 5,
Tuple = 6,
}
Expand description
A value type of StackValue
.
Variants§
Implementations§
Source§impl StackValueType
impl StackValueType
pub fn display_raw(value: u8) -> impl Display + Copy
Trait Implementations§
Source§impl Clone for StackValueType
impl Clone for StackValueType
Source§fn clone(&self) -> StackValueType
fn clone(&self) -> StackValueType
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 StackValueType
impl Debug for StackValueType
Source§impl From<StackValueType> for u8
impl From<StackValueType> for u8
Source§fn from(value: StackValueType) -> Self
fn from(value: StackValueType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StackValueType
impl PartialEq for StackValueType
impl Copy for StackValueType
impl Eq for StackValueType
impl StructuralPartialEq for StackValueType
Auto Trait Implementations§
impl Freeze for StackValueType
impl RefUnwindSafe for StackValueType
impl Send for StackValueType
impl Sync for StackValueType
impl Unpin for StackValueType
impl UnwindSafe for StackValueType
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