[][src]Struct wlroots::seat::Client

pub struct Client<'wlr_seat> { /* fields omitted */ }

Contains state for a single client's bound wl_seat resource. It can be used to issue input events to the client.

The lifetime of this object is managed by Seat.

Methods

impl<'wlr_seat> Client<'wlr_seat>
[src]

Gets a seat::Client for the specified client, if there is one bound for that client.

Unsafety

Since this just is a wrapper for checking if the wlr_seat pointer matches the provided wl_client pointer, this function is unsafe.

Please only pass a valid pointer to a wl_client to this function.

Auto Trait Implementations

impl<'wlr_seat> !Send for Client<'wlr_seat>

impl<'wlr_seat> !Sync for Client<'wlr_seat>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more