Trait figures::ScreenUnit

source ·
pub trait ScreenUnit: UnscaledUnit + ScreenScale<Px = Px, Lp = Lp, UPx = UPx> + Unit { }
Expand description

A type that can be used as a Unit in figures that knows how to convert to Lp or Px.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ScreenUnit for Twhere T: UnscaledUnit + ScreenScale<Px = Px, Lp = Lp, UPx = UPx> + Unit,