Struct druid::piet::cairo::ffi::cairo_font_extents_t
pub struct cairo_font_extents_t {
pub ascent: f64,
pub descent: f64,
pub height: f64,
pub max_x_advance: f64,
pub max_y_advance: f64,
}
Fields§
§ascent: f64
§descent: f64
§height: f64
§max_x_advance: f64
§max_y_advance: f64
Trait Implementations§
§impl Clone for cairo_font_extents_t
impl Clone for cairo_font_extents_t
§fn clone(&self) -> cairo_font_extents_t
fn clone(&self) -> cairo_font_extents_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for cairo_font_extents_t
impl Debug for cairo_font_extents_t
impl Copy for cairo_font_extents_t
Auto Trait Implementations§
impl RefUnwindSafe for cairo_font_extents_t
impl Send for cairo_font_extents_t
impl Sync for cairo_font_extents_t
impl Unpin for cairo_font_extents_t
impl UnwindSafe for cairo_font_extents_t
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.