Struct beancount_parser_lima::types::Spanned
source · pub struct Spanned<T> { /* private fields */ }
Expand description
A Spanned item is one located within its source file. The span is invisible with respect to equality and hashing.
Implementations§
Trait Implementations§
source§impl<T> PartialEq for Spanned<T>where
T: PartialEq,
impl<T> PartialEq for Spanned<T>where
T: PartialEq,
impl<T> Copy for Spanned<T>where
T: Copy,
impl<T> Eq for Spanned<T>where
T: Eq,
Auto Trait Implementations§
impl<T> Freeze for Spanned<T>where
T: Freeze,
impl<T> RefUnwindSafe for Spanned<T>where
T: RefUnwindSafe,
impl<T> Send for Spanned<T>where
T: Send,
impl<T> Sync for Spanned<T>where
T: Sync,
impl<T> Unpin for Spanned<T>where
T: Unpin,
impl<T> UnwindSafe for Spanned<T>where
T: UnwindSafe,
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