pub struct Pieces {
pub items: Vec<Item>,
pub tail: String,
}Expand description
A header cut into pieces, with the comments after the last piece kept separately.
Fields§
§items: Vec<Item>The pieces, in order.
tail: StringThe trailing comments and blank lines, which belong to no code line.
Implementations§
Trait Implementations§
impl Eq for Pieces
impl StructuralPartialEq for Pieces
Auto Trait Implementations§
impl Freeze for Pieces
impl RefUnwindSafe for Pieces
impl Send for Pieces
impl Sync for Pieces
impl Unpin for Pieces
impl UnsafeUnpin for Pieces
impl UnwindSafe for Pieces
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