pub struct FoldingState {
pub regions: Vec<FoldRegion>,
pub collapsed_line_count: usize,
pub visible_logical_lines: usize,
pub total_visual_lines: usize,
}Expand description
Folding state
Fields§
§regions: Vec<FoldRegion>All folding regions
collapsed_line_count: usizeCount of collapsed lines
visible_logical_lines: usizeCount of visible logical lines
total_visual_lines: usizeTotal visual line count (considering folding)
Trait Implementations§
Source§impl Clone for FoldingState
impl Clone for FoldingState
Auto Trait Implementations§
impl Forget for FoldingState
impl Freeze for FoldingState
impl Move for FoldingState
impl RefUnwindSafe for FoldingState
impl Send for FoldingStatewhere
RawVecInner: Send,
impl Sync for FoldingStatewhere
RawVecInner: Sync,
impl Unpin for FoldingState
impl UnsafeUnpin for FoldingState
impl UnwindSafe for FoldingStatewhere
RawVecInner: 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