pub enum DartLit {
Int(i64),
Double(f64),
Bool(bool),
Str(String),
Null,
}Expand description
Dart literal values.
Variants§
Int(i64)
Integer literal: 0, 42
Double(f64)
Double literal: 3.14
Bool(bool)
Boolean literal: true or false
Str(String)
String literal: 'hello'
Null
null
Trait Implementations§
impl StructuralPartialEq for DartLit
Auto Trait Implementations§
impl Freeze for DartLit
impl RefUnwindSafe for DartLit
impl Send for DartLit
impl Sync for DartLit
impl Unpin for DartLit
impl UnsafeUnpin for DartLit
impl UnwindSafe for DartLit
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