pub enum TypedLit {
Bool(bool),
Int(i64),
Float(f32),
Double(f64),
}
Expand description
Shorthand typed literals
Variants§
Trait Implementations§
impl Copy for TypedLit
impl StructuralPartialEq for TypedLit
Auto Trait Implementations§
impl Freeze for TypedLit
impl RefUnwindSafe for TypedLit
impl Send for TypedLit
impl Sync for TypedLit
impl Unpin for TypedLit
impl UnwindSafe for TypedLit
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