Enum quicksilver::graphics::ResizeStrategy [−][src]
pub enum ResizeStrategy { Maintain, Fill, Fit, Stretch, }
The way to adjust the content when the size of the window changes
Variants
Maintain
Use black bars to keep the size exactly the same
Fill
Fill the screen, possiby cutting off content in the process
Fit
Take up as much of the screen as possible, but use letterboxing if necessary
Stretch
Ignore aspect ratio and just stretch the content
Trait Implementations
impl Copy for ResizeStrategy
[src]
impl Copy for ResizeStrategy
impl Clone for ResizeStrategy
[src]
impl Clone for ResizeStrategy
fn clone(&self) -> ResizeStrategy
[src]
fn clone(&self) -> ResizeStrategy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ResizeStrategy
[src]
impl Debug for ResizeStrategy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ResizeStrategy
[src]
impl Eq for ResizeStrategy
impl PartialEq for ResizeStrategy
[src]
impl PartialEq for ResizeStrategy
fn eq(&self, other: &ResizeStrategy) -> bool
[src]
fn eq(&self, other: &ResizeStrategy) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Hash for ResizeStrategy
[src]
impl Hash for ResizeStrategy
Auto Trait Implementations
impl Send for ResizeStrategy
impl Send for ResizeStrategy
impl Sync for ResizeStrategy
impl Sync for ResizeStrategy