Struct nvim_gtk::render::context::Context [−][src]
Fields
font_metrics: FontMetrixfont_features: FontFeaturesline_space: i32Implementations
impl Context[src]
pub fn new(pango_context: Context) -> Self[src]
pub fn update(&mut self, pango_context: Context)[src]
pub fn update_font_features(&mut self, font_features: FontFeatures)[src]
pub fn update_line_space(&mut self, line_space: i32)[src]
pub fn itemize(&self, line: &StyledLine) -> Vec<Item>[src]
pub fn create_layout(&self) -> Layout[src]
pub fn font_description(&self) -> &FontDescription[src]
pub fn cell_metrics(&self) -> &CellMetrics[src]
pub fn font_features(&self) -> &FontFeatures[src]
pub fn font_families(&self) -> HashSet<GString>[src]
Auto Trait Implementations
impl RefUnwindSafe for Context
impl !Send for Context
impl !Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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>,