Skip to main content

Len

Trait Len 

Source
pub trait Len {
    // Required method
    fn px(self) -> f64;
}
Expand description

A padding, gap or margin: pixels, or a Step on the space scale.

Required Methods§

Source

fn px(self) -> f64

Pixels.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl Len for f64

Source§

fn px(self) -> f64

Implementors§

Source§

impl Len for Step