pub struct Value {
pub loc: FileLocation,
pub content: ValueContent,
pub unit: Option<Token>,
}
Expand description
Value with an optional unit.
Fields§
§loc: FileLocation
Complete textual location of this value declaration.
content: ValueContent
Value content of different types or the special placeholder.
unit: Option<Token>
Optional unit for this value.
Trait Implementations§
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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