pub trait DefaultStrokeWidth {
    // Required method
    fn default_stroke_width() -> Self;
}
Expand description

Controls the default stroke width for a given unit.

Required Methods§

source

fn default_stroke_width() -> Self

Returns the default width of a line stroked in this unit.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl DefaultStrokeWidth for Lp

source§

fn default_stroke_width() -> Self

Returns [Self::points(1)].

source§

impl DefaultStrokeWidth for Px

source§

impl DefaultStrokeWidth for UPx

Implementors§