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 strAuto Trait Implementations
impl<'a> !RefUnwindSafe for EdState<'a>impl<'a> !UnwindSafe for EdState<'a>