Struct nvim_gtk::render::context::CellMetrics [−][src]
Fields
line_height: f64
char_width: f64
ascent: f64
underline_position: f64
underline_thickness: f64
pango_ascent: i32
pango_descent: i32
pango_char_width: i32
Implementations
impl CellMetrics
[src]
fn new(font_metrics: &FontMetrics, line_space: i32) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for CellMetrics
impl Send for CellMetrics
impl Sync for CellMetrics
impl Unpin for CellMetrics
impl UnwindSafe for CellMetrics
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>,