pub enum LitValue {
Int(i128),
Char(char),
Bool(bool),
String(String),
}Expand description
Literal value for pattern matching
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LitValue
impl RefUnwindSafe for LitValue
impl Send for LitValue
impl Sync for LitValue
impl Unpin for LitValue
impl UnwindSafe for LitValue
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