Struct canadensis_dsdl_parser::Literal
source · [−]pub struct Literal<'i> {
pub literal: LiteralType<'i>,
pub span: Span<'i>,
}
Expand description
A literal value
Fields
literal: LiteralType<'i>
The value
span: Span<'i>
The span in the source that contains this literal
Trait Implementations
Auto Trait Implementations
impl<'i> RefUnwindSafe for Literal<'i>
impl<'i> Send for Literal<'i>
impl<'i> Sync for Literal<'i>
impl<'i> Unpin for Literal<'i>
impl<'i> UnwindSafe for Literal<'i>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more