#[non_exhaustive]pub struct GridLayoutScreenCanvasSizeOptions { /* private fields */ }
Expand description
The options that determine the sizing of the canvas used in a grid layout.
Implementations§
source§impl GridLayoutScreenCanvasSizeOptions
impl GridLayoutScreenCanvasSizeOptions
sourcepub fn resize_option(&self) -> Option<&ResizeOption>
pub fn resize_option(&self) -> Option<&ResizeOption>
This value determines the layout behavior when the viewport is resized.
-
FIXED
: A fixed width will be used when optimizing the layout. In the Amazon QuickSight console, this option is calledClassic
. -
RESPONSIVE
: The width of the canvas will be responsive and optimized to the view port. In the Amazon QuickSight console, this option is calledTiled
.
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 GridLayoutScreenCanvasSizeOptions
impl GridLayoutScreenCanvasSizeOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GridLayoutScreenCanvasSizeOptions
.
Trait Implementations§
source§impl Clone for GridLayoutScreenCanvasSizeOptions
impl Clone for GridLayoutScreenCanvasSizeOptions
source§fn clone(&self) -> GridLayoutScreenCanvasSizeOptions
fn clone(&self) -> GridLayoutScreenCanvasSizeOptions
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<GridLayoutScreenCanvasSizeOptions> for GridLayoutScreenCanvasSizeOptions
impl PartialEq<GridLayoutScreenCanvasSizeOptions> for GridLayoutScreenCanvasSizeOptions
source§fn eq(&self, other: &GridLayoutScreenCanvasSizeOptions) -> bool
fn eq(&self, other: &GridLayoutScreenCanvasSizeOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.