pub struct Literal<'i> {
pub content: Cow<'i, str>,
pub span: Span,
}
Fields§
§content: Cow<'i, str>
§span: Span
Implementations§
Trait Implementations§
impl<'i> Eq for Literal<'i>
impl<'i> StructuralPartialEq for Literal<'i>
Auto Trait Implementations§
impl<'i> Freeze for Literal<'i>
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§
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