pub enum NumVal {
Int(i64),
Long(i64),
Float(f64),
Double(f64),
}Expand description
数值字面量的解析值(用于语义查询;原文见 Lit::NumRaw)。
Variants§
Trait Implementations§
impl Copy for NumVal
impl StructuralPartialEq for NumVal
Auto Trait Implementations§
impl Freeze for NumVal
impl RefUnwindSafe for NumVal
impl Send for NumVal
impl Sync for NumVal
impl Unpin for NumVal
impl UnsafeUnpin for NumVal
impl UnwindSafe for NumVal
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