pub struct Item {
pub line: usize,
pub text: String,
pub kind: String,
/* private fields */
}Expand description
One declaration kept from a file.
Fields§
§line: usizeWhere it starts in the original, counting from one.
text: StringThe declaration with its bodies elided.
kind: StringThe node kind, for a reader who wants to know what was kept.
Trait Implementations§
impl Eq for Item
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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