Struct input::Seat [] [src]

pub struct Seat { /* fields omitted */ }

A seat has two identifiers, the physical name and the logical name.

A device is always assigned to exactly one seat. It may change to a different logical seat but it cannot change physical seats. See Seats for details.

Methods

impl Seat
[src]

[src]

Get the libinput context from the seat.

[src]

Return the physical name of the seat.

For libinput contexts created from udev, this is always the same value as passed into udev_assign_seat and all seats from that context will have the same physical name.

The physical name of the seat is one that is usually set by the system or lower levels of the stack. In most cases, this is the base filter for devices - devices assigned to seats outside the current seat will not be available to the caller.

[src]

Return the logical name of the seat.

This is an identifier to group sets of devices within the compositor.

Trait Implementations

impl Eq for Seat
[src]

impl Debug for Seat
[src]

[src]

Formats the value using the given formatter.

impl FromRaw<libinput_seat> for Seat
[src]

[src]

Create a new instance of this type from a raw pointer and it's context. Read more

impl AsRaw<libinput_seat> for Seat
[src]

[src]

Receive a raw pointer representing this type.

impl Context for Seat
[src]

[src]

Returns the underlying libinput context

impl Clone for Seat
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Seat
[src]

[src]

Executes the destructor for this type. Read more

impl PartialEq for Seat
[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 !=.

impl Hash for Seat
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more