pub struct CmdLineContext<'a> {
pub nvim: &'a Rc<NeovimClient>,
pub content: Vec<(u64, String)>,
pub pos: u64,
pub firstc: String,
pub prompt: String,
pub indent: u64,
pub level_idx: u64,
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
pub max_width: i32,
}Fields§
§nvim: &'a Rc<NeovimClient>§content: Vec<(u64, String)>§pos: u64§firstc: String§prompt: String§indent: u64§level_idx: u64§x: i32§y: i32§width: i32§height: i32§max_width: i32Implementations§
Source§impl<'a> CmdLineContext<'a>
impl<'a> CmdLineContext<'a>
fn get_lines(&self, hl: &HighlightMap) -> LineContent
Auto Trait Implementations§
impl<'a> Freeze for CmdLineContext<'a>
impl<'a> !RefUnwindSafe for CmdLineContext<'a>
impl<'a> !Send for CmdLineContext<'a>
impl<'a> !Sync for CmdLineContext<'a>
impl<'a> Unpin for CmdLineContext<'a>
impl<'a> !UnwindSafe for CmdLineContext<'a>
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