pub struct FoldMarker {
pub line: usize,
pub y: f32,
pub height: f32,
pub folded: bool,
}Expand description
A fold marker in the gutter: the line heads a region that can be folded, or is folded.
Fields§
§line: usize§y: f32§height: f32§folded: boolTrait Implementations§
Source§impl Clone for FoldMarker
impl Clone for FoldMarker
impl Copy for FoldMarker
Source§impl Debug for FoldMarker
impl Debug for FoldMarker
Source§impl PartialEq for FoldMarker
impl PartialEq for FoldMarker
impl StructuralPartialEq for FoldMarker
Auto Trait Implementations§
impl Forget for FoldMarker
impl Freeze for FoldMarker
impl Move for FoldMarker
impl RefUnwindSafe for FoldMarker
impl Send for FoldMarker
impl Sync for FoldMarker
impl Unpin for FoldMarker
impl UnsafeUnpin for FoldMarker
impl UnwindSafe for FoldMarker
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