Enum wayland_protocols::viewporter::server::wp_viewport::Error
[−]
[src]
#[repr(u32)]pub enum Error { BadValue, BadSize, OutOfBuffer, NoSurface, }
Variants
BadValuenegative or zero values in width or height
BadSizedestination size is not integer
OutOfBuffersource rectangle extends outside of the content area
NoSurfacethe wl_surface was destroyed
Methods
impl Error[src]
Trait Implementations
impl Copy for Error[src]
impl Clone for Error[src]
fn clone(&self) -> Error[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Error[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more