pub struct LiteralExpr {
pub value: LiteralValue,
pub expr_type: TypeId,
pub location: Location,
}
Expand description
A literal expression
Fields§
§value: LiteralValue
Value of the literal
expr_type: TypeId
Type of the literal expression
location: Location
Source code location information
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiteralExpr
impl RefUnwindSafe for LiteralExpr
impl Send for LiteralExpr
impl Sync for LiteralExpr
impl Unpin for LiteralExpr
impl UnwindSafe for LiteralExpr
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