pub struct WlSubcompositorError(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl WlSubcompositorError
impl WlSubcompositorError
Sourcepub const BAD_SURFACE: Self
pub const BAD_SURFACE: Self
the to-be sub-surface is invalid
Sourcepub const BAD_PARENT: Self
pub const BAD_PARENT: Self
the to-be sub-surface parent is invalid
Trait Implementations§
Source§impl Clone for WlSubcompositorError
impl Clone for WlSubcompositorError
Source§fn clone(&self) -> WlSubcompositorError
fn clone(&self) -> WlSubcompositorError
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 WlSubcompositorError
impl Debug for WlSubcompositorError
Source§impl Hash for WlSubcompositorError
impl Hash for WlSubcompositorError
Source§impl Ord for WlSubcompositorError
impl Ord for WlSubcompositorError
Source§fn cmp(&self, other: &WlSubcompositorError) -> Ordering
fn cmp(&self, other: &WlSubcompositorError) -> 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 WlSubcompositorError
impl PartialEq for WlSubcompositorError
Source§impl PartialOrd for WlSubcompositorError
impl PartialOrd for WlSubcompositorError
impl Copy for WlSubcompositorError
impl Eq for WlSubcompositorError
impl StructuralPartialEq for WlSubcompositorError
Auto Trait Implementations§
impl Freeze for WlSubcompositorError
impl RefUnwindSafe for WlSubcompositorError
impl Send for WlSubcompositorError
impl Sync for WlSubcompositorError
impl Unpin for WlSubcompositorError
impl UnwindSafe for WlSubcompositorError
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