Enum wayland_server::Liveness
[−]
[src]
pub enum Liveness { Alive, Dead, Unmanaged, }
Represents the state of liveness of a wayland object
Variants
Alive
This object is alive and events can be sent to it
Dead
This object is dead, sending it events will do nothing and return and error.
Unmanaged
This object is not managed by wayland-server
, you can send it events
but this might crash the program if it was actually dead.
Trait Implementations
impl Copy for Liveness
[src]
impl Clone for Liveness
[src]
fn clone(&self) -> Liveness
[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 PartialEq for Liveness
[src]
fn eq(&self, __arg_0: &Liveness) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.