pub struct WlSurfaceError(pub u32);Expand description
wl_surface error values
These errors can be emitted in response to wl_surface requests.
Tuple Fields§
§0: u32Implementations§
Source§impl WlSurfaceError
impl WlSurfaceError
Sourcepub const INVALID_SCALE: Self
pub const INVALID_SCALE: Self
buffer scale value is invalid
Sourcepub const INVALID_TRANSFORM: Self
pub const INVALID_TRANSFORM: Self
buffer transform value is invalid
Sourcepub const INVALID_SIZE: Self
pub const INVALID_SIZE: Self
buffer size is invalid
Sourcepub const INVALID_OFFSET: Self
pub const INVALID_OFFSET: Self
buffer offset is invalid
Sourcepub const DEFUNCT_ROLE_OBJECT: Self
pub const DEFUNCT_ROLE_OBJECT: Self
surface was destroyed before its role object
Trait Implementations§
Source§impl Clone for WlSurfaceError
impl Clone for WlSurfaceError
Source§fn clone(&self) -> WlSurfaceError
fn clone(&self) -> WlSurfaceError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WlSurfaceError
impl Debug for WlSurfaceError
Source§impl Hash for WlSurfaceError
impl Hash for WlSurfaceError
Source§impl Ord for WlSurfaceError
impl Ord for WlSurfaceError
Source§fn cmp(&self, other: &WlSurfaceError) -> Ordering
fn cmp(&self, other: &WlSurfaceError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WlSurfaceError
impl PartialEq for WlSurfaceError
Source§impl PartialOrd for WlSurfaceError
impl PartialOrd for WlSurfaceError
impl Copy for WlSurfaceError
impl Eq for WlSurfaceError
impl StructuralPartialEq for WlSurfaceError
Auto Trait Implementations§
impl Freeze for WlSurfaceError
impl RefUnwindSafe for WlSurfaceError
impl Send for WlSurfaceError
impl Sync for WlSurfaceError
impl Unpin for WlSurfaceError
impl UnwindSafe for WlSurfaceError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more