embedded_graphics::primitives

Trait StyledDimensions

Source
pub trait StyledDimensions<S> {
    // Required method
    fn styled_bounding_box(&self, style: &S) -> Rectangle;
}
Expand description

Styled dimensions.

Required Methods§

Source

fn styled_bounding_box(&self, style: &S) -> Rectangle

Returns the bounding box using the given style.

Implementors§