Struct embedded_graphics_web_simulator::output_settings::OutputSettingsBuilder [−][src]
pub struct OutputSettingsBuilder { /* fields omitted */ }
Expand description
Output settings builder.
Implementations
Sets the pixel scale.
A scale of 2
or higher is useful for viewing the simulator on high DPI displays.
Panics
Panics if the scale is set to 0
.
Sets the gap between pixels.
Most lower resolution displays have visible gaps between individual pixels.
This effect can be simulated by setting the pixel spacing to a value greater
than 0
.
Builds the output settings.
Auto Trait Implementations
impl RefUnwindSafe for OutputSettingsBuilder
impl Send for OutputSettingsBuilder
impl Sync for OutputSettingsBuilder
impl Unpin for OutputSettingsBuilder
impl UnwindSafe for OutputSettingsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.