Enum wayland_protocols::unstable::pointer_constraints::v1::client::zwp_pointer_constraints_v1::Lifetime
[−]
[src]
#[repr(u32)]pub enum Lifetime { Oneshot, Persistent, }
constraint lifetime
These values represent different lifetime semantics. They are passed as arguments to the factory requests to specify how the constraint lifetimes should be managed.
Variants
Oneshotthe pointer constraint is defunct once deactivated
A oneshot pointer constraint will never reactivate once it has been deactivated. See the corresponding deactivation event (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) for details.
Persistentthe pointer constraint may reactivate
A persistent pointer constraint may again reactivate once it has been deactivated. See the corresponding deactivation event (wp_locked_pointer.unlocked and wp_confined_pointer.unconfined) for details.
Methods
impl Lifetime[src]
Trait Implementations
impl Copy for Lifetime[src]
impl Clone for Lifetime[src]
fn clone(&self) -> Lifetime[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 Lifetime[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more