Struct add_ed::EdState[][src]

pub struct EdState<'a> {
    pub selection: &'a Option<(usize, usize)>,
    pub buffer: &'a dyn Buffer,
    pub path: &'a str,
}
Expand description

A small reference struct that gives insight into the editor’s state

Fields

selection: &'a Option<(usize, usize)>buffer: &'a dyn Bufferpath: &'a str

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.