pub struct Fold {
pub version: u32,
pub start_line: u32,
pub end_line: u32,
pub collapsed: bool,
}Expand description
One stretch of lines the reader can fold.
Fields§
§version: u32The document version the lines were written against.
start_line: u32The line that stays when the stretch is folded.
end_line: u32The last line the fold hides. Folding hides the lines after start_line up to and
including this one.
collapsed: boolImplementations§
Trait Implementations§
impl Copy for Fold
impl Eq for Fold
impl StructuralPartialEq for Fold
Auto Trait Implementations§
impl Freeze for Fold
impl RefUnwindSafe for Fold
impl Send for Fold
impl Sync for Fold
impl Unpin for Fold
impl UnsafeUnpin for Fold
impl UnwindSafe for Fold
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