pub struct cairo_text_extents_t {
pub x_bearing: f64,
pub y_bearing: f64,
pub width: f64,
pub height: f64,
pub x_advance: f64,
pub y_advance: f64,
}
Fields§
§x_bearing: f64
§y_bearing: f64
§width: f64
§height: f64
§x_advance: f64
§y_advance: f64
Trait Implementations§
§impl Clone for cairo_text_extents_t
impl Clone for cairo_text_extents_t
§fn clone(&self) -> cairo_text_extents_t
fn clone(&self) -> cairo_text_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_text_extents_t
impl Debug for cairo_text_extents_t
impl Copy for cairo_text_extents_t
Auto Trait Implementations§
impl RefUnwindSafe for cairo_text_extents_t
impl Send for cairo_text_extents_t
impl Sync for cairo_text_extents_t
impl Unpin for cairo_text_extents_t
impl UnwindSafe for cairo_text_extents_t
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§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.