PixelScaling

Trait PixelScaling 

Source
pub trait PixelScaling {
    const PX_SCALING_FACTOR: u16;
}
Expand description

A type that has a scaling factor when converting to pixels.

Required Associated Constants§

Source

const PX_SCALING_FACTOR: u16

The scaling factor to apply when converting to pixels, in addition to any spatial scaling already being applied.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§