Enum wayland_raw_protocol_bindings::client::wayland::wl_shell_surface::fullscreen_method [−][src]
#[repr(u32)]
pub enum fullscreen_method {
default,
scale,
driver,
fill,
// some variants omitted
}
Expand description
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
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for fullscreen_method
impl Send for fullscreen_method
impl Sync for fullscreen_method
impl Unpin for fullscreen_method
impl UnwindSafe for fullscreen_method
Blanket Implementations
Mutably borrows from an owned value. Read more