Enum wayland_client::protocol::wl_shell_surface::FullscreenMethod [] [src]

#[repr(u32)]
pub enum FullscreenMethod { Default, Scale, Driver, Fill, }

different method to set the surface fullscreen

Hints to indicate to the compositor how to deal with a conflict between the dimensions of the surface and the dimensions of the output. The compositor is free to ignore this parameter.

Variants

no preference, apply default policy

scale, preserve the surface's aspect ratio and center on output

switch output mode to the smallest mode that can fit the surface, add black borders to compensate size mismatch

no upscaling, center on output and add black borders to compensate size mismatch

Methods

impl FullscreenMethod
[src]

Trait Implementations

impl Copy for FullscreenMethod
[src]

impl Clone for FullscreenMethod
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FullscreenMethod
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for FullscreenMethod
[src]

[src]

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

1.0.0
[src]

This method tests for !=.