Skip to main content

StyledDimensions

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§