pub struct IndentGuides { /* private fields */ }Implementations§
Source§impl IndentGuides
impl IndentGuides
pub fn build( rope: &Rope, tab: usize, cancelled: impl Fn() -> bool, ) -> Option<Self>
Sourcepub fn unaffected_by(&self, edit: &InputEdit) -> bool
pub fn unaffected_by(&self, edit: &InputEdit) -> bool
A same-line edit strictly after the first content byte cannot change nesting. Most ordinary typing reuses the complete guide index.
pub fn frame( &self, first: usize, end: usize, left: usize, right: usize, ) -> GuideFrame
Trait Implementations§
Source§impl Default for IndentGuides
impl Default for IndentGuides
Source§fn default() -> IndentGuides
fn default() -> IndentGuides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IndentGuides
impl RefUnwindSafe for IndentGuides
impl Send for IndentGuides
impl Sync for IndentGuides
impl Unpin for IndentGuides
impl UnsafeUnpin for IndentGuides
impl UnwindSafe for IndentGuides
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