Struct nvim_gtk::highlight::HighlightMap [−][src]
Fields
highlights: FnvHashMap<u64, Rc<Highlight>>default_hl: Rc<Highlight>bg_color: Colorfg_color: Colorsp_color: Colorcterm_bg_color: Colorcterm_fg_color: Colorcterm_color: boolcursor: Rc<Highlight>Implementations
impl HighlightMap[src]
pub fn new() -> Self[src]
pub fn default_hl(&self) -> Rc<Highlight>[src]
pub fn set_defaults(
&mut self,
fg: Color,
bg: Color,
sp: Color,
cterm_fg: Color,
cterm_bg: Color
)[src]
&mut self,
fg: Color,
bg: Color,
sp: Color,
cterm_fg: Color,
cterm_bg: Color
)
pub fn set_use_cterm(&mut self, cterm_color: bool)[src]
pub fn bg(&self) -> &Color[src]
pub fn fg(&self) -> &Color[src]
pub fn get(&self, idx: Option<u64>) -> Rc<Highlight>[src]
pub fn set(
&mut self,
idx: u64,
hl: &HashMap<String, Value>,
info: &Vec<HashMap<String, Value>>
)[src]
&mut self,
idx: u64,
hl: &HashMap<String, Value>,
info: &Vec<HashMap<String, Value>>
)
pub fn cell_fg<'a>(&'a self, cell: &'a Cell) -> Option<&'a Color>[src]
pub fn actual_cell_fg<'a>(&'a self, cell: &'a Cell) -> &'a Color[src]
pub fn cell_bg<'a>(&'a self, cell: &'a Cell) -> Option<&'a Color>[src]
pub fn actual_cell_sp<'a>(&'a self, cell: &'a Cell) -> &'a Color[src]
pub fn pmenu_bg(&self) -> &Color[src]
pub fn pmenu_fg(&self) -> &Color[src]
pub fn pmenu_bg_sel(&self) -> &Color[src]
pub fn pmenu_fg_sel(&self) -> &Color[src]
pub fn cursor_bg(&self) -> &Color[src]
Auto Trait Implementations
impl !RefUnwindSafe for HighlightMap
impl !Send for HighlightMap
impl !Sync for HighlightMap
impl Unpin for HighlightMap
impl UnwindSafe for HighlightMap
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,