Struct embedded_graphics_core::text::TextMetrics[][src]

pub struct TextMetrics {
    pub bounding_box: Rectangle,
    pub next_position: Point,
}

Text metrics.

See TextRenderer::measure_string for more information.

Fields

bounding_box: Rectangle

Bounding box.

next_position: Point

The position of the next text.

Trait Implementations

impl Clone for TextMetrics[src]

impl Copy for TextMetrics[src]

impl Debug for TextMetrics[src]

impl Eq for TextMetrics[src]

impl Hash for TextMetrics[src]

impl Ord for TextMetrics[src]

impl PartialEq<TextMetrics> for TextMetrics[src]

impl PartialOrd<TextMetrics> for TextMetrics[src]

impl StructuralEq for TextMetrics[src]

impl StructuralPartialEq for TextMetrics[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: PartialEq<T> + Copy + Any + Debug
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,