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

Use black bars to keep the size exactly the same

Fill the screen, possiby cutting off content in the process

Take up as much of the screen as possible, but use letterboxing if necessary

Ignore aspect ratio and just stretch the content

Trait Implementations

impl Copy for ResizeStrategy
[src]

impl Clone for ResizeStrategy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResizeStrategy
[src]

Formats the value using the given formatter. Read more

impl Eq for ResizeStrategy
[src]

impl PartialEq for ResizeStrategy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for ResizeStrategy
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations