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

the 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.

the 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]

[src]

[src]

Trait Implementations

impl Copy for Lifetime
[src]

impl Clone for Lifetime
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Lifetime
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Lifetime
[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 Lifetime

impl Sync for Lifetime