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
Defaultno preference, apply default policy
Scalescale, preserve the surface's aspect ratio and center on output
Driverswitch output mode to the smallest mode that can fit the surface, add black borders to compensate size mismatch
Fillno upscaling, center on output and add black borders to compensate size mismatch
Methods
impl FullscreenMethod[src]
impl FullscreenMethodTrait Implementations
impl Copy for FullscreenMethod[src]
impl Copy for FullscreenMethodimpl Clone for FullscreenMethod[src]
impl Clone for FullscreenMethodfn clone(&self) -> FullscreenMethod[src]
fn clone(&self) -> FullscreenMethodReturns 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 FullscreenMethod[src]
impl Debug for FullscreenMethodfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for FullscreenMethod[src]
impl PartialEq for FullscreenMethodAuto Trait Implementations
impl Send for FullscreenMethod
impl Send for FullscreenMethodimpl Sync for FullscreenMethod
impl Sync for FullscreenMethod