Enum vdf_reader::Item
source · pub enum Item<'a> {
Statement {
content: Cow<'a, str>,
span: Span,
},
Item {
content: Cow<'a, str>,
span: Span,
},
}Expand description
Kinds of item.
Variants§
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for Item<'a>
impl<'a> PartialEq for Item<'a>
impl<'a> Eq for Item<'a>
impl<'a> StructuralEq for Item<'a>
impl<'a> StructuralPartialEq for Item<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Item<'a>
impl<'a> Send for Item<'a>
impl<'a> Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> UnwindSafe for Item<'a>
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