#[non_exhaustive]pub struct FreeFormLayoutScreenCanvasSizeOptions { /* private fields */ }
Expand description
The options that determine the sizing of the canvas used in a free-form layout.
Implementations§
source§impl FreeFormLayoutScreenCanvasSizeOptions
impl FreeFormLayoutScreenCanvasSizeOptions
sourcepub fn optimized_view_port_width(&self) -> Option<&str>
pub fn optimized_view_port_width(&self) -> Option<&str>
The width that the view port will be optimized for when the layout renders.
source§impl FreeFormLayoutScreenCanvasSizeOptions
impl FreeFormLayoutScreenCanvasSizeOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FreeFormLayoutScreenCanvasSizeOptions
.
Trait Implementations§
source§impl Clone for FreeFormLayoutScreenCanvasSizeOptions
impl Clone for FreeFormLayoutScreenCanvasSizeOptions
source§fn clone(&self) -> FreeFormLayoutScreenCanvasSizeOptions
fn clone(&self) -> FreeFormLayoutScreenCanvasSizeOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<FreeFormLayoutScreenCanvasSizeOptions> for FreeFormLayoutScreenCanvasSizeOptions
impl PartialEq<FreeFormLayoutScreenCanvasSizeOptions> for FreeFormLayoutScreenCanvasSizeOptions
source§fn eq(&self, other: &FreeFormLayoutScreenCanvasSizeOptions) -> bool
fn eq(&self, other: &FreeFormLayoutScreenCanvasSizeOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.