Enum wayland_protocols::viewporter::server::wp_viewport::Error [] [src]

#[repr(u32)]
pub enum Error { BadValue, BadSize, OutOfBuffer, NoSurface, }

Variants

negative or zero values in width or height

destination size is not integer

source rectangle extends outside of the content area

the wl_surface was destroyed

Methods

impl Error
[src]

[src]

[src]

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Error
[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 !=.

Auto Trait Implementations

impl Send for Error

impl Sync for Error