diff --git a/help.html b/help.html index 0cc9485ba..a5a0d40ec 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/settings.html b/settings.html index 1ee87639e..ca9a785c0 100644 --- a/settings.html +++ b/settings.html @@ -1 +1 @@ -Settings

Rustdoc settings

Back
\ No newline at end of file +Settings

Rustdoc settings

Back
\ No newline at end of file diff --git a/smithay_client_toolkit/activation/index.html b/smithay_client_toolkit/activation/index.html index 284f9115a..46f75ec40 100644 --- a/smithay_client_toolkit/activation/index.html +++ b/smithay_client_toolkit/activation/index.html @@ -1 +1 @@ -smithay_client_toolkit::activation - Rust

Module smithay_client_toolkit::activation

source ·

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::activation - Rust
smithay_client_toolkit

Module activation

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/activation/struct.ActivationState.html b/smithay_client_toolkit/activation/struct.ActivationState.html index b52e997e0..c682b4e8a 100644 --- a/smithay_client_toolkit/activation/struct.ActivationState.html +++ b/smithay_client_toolkit/activation/struct.ActivationState.html @@ -1,10 +1,10 @@ -ActivationState in smithay_client_toolkit::activation - Rust
pub struct ActivationState { /* private fields */ }
Expand description

State for xdg-activation

+ActivationState in smithay_client_toolkit::activation - Rust
smithay_client_toolkit::activation

Struct ActivationState

source
pub struct ActivationState { /* private fields */ }
Expand description

State for xdg-activation

Implementations§

source§

impl ActivationState

source

pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<ActivationState, BindError>
where +) -> Result<ActivationState, BindError>
where State: Dispatch<XdgActivationV1, GlobalData, State> + 'static,

Bind the xdg-activation global

-
source

pub fn activate<D>(&self, surface: &WlSurface, token: String)

Activate a surface with the provided token.

+
source

pub fn activate<D>(&self, surface: &WlSurface, token: String)

Activate a surface with the provided token.

source

pub fn request_token<D>(&self, qh: &QueueHandle<D>, request_data: RequestData)
where D: ActivationHandler<RequestData = RequestData> + Dispatch<XdgActivationTokenV1, RequestData> + 'static,

Request a token for surface activation.

To attach custom data to the request implement RequestDataExt on a custom type @@ -18,49 +18,49 @@ R: RequestDataExt + 'static,

Request a token for surface activation with user data.

To use this method you need to provide [delegate_activation] with your custom type. E.g. delegate_activation!(SimpleWindow, MyRequestData);

-

Trait Implementations§

source§

impl Debug for ActivationState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D, R> Dispatch<XdgActivationTokenV1, R, D> for ActivationState
where +

Trait Implementations§

source§

impl Debug for ActivationState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D, R> Dispatch<XdgActivationTokenV1, R, D> for ActivationState
where D: Dispatch<XdgActivationTokenV1, R> + ActivationHandler<RequestData = R>, R: RequestDataExt,

source§

fn event( - state: &mut D, + state: &mut D, _proxy: &XdgActivationTokenV1, event: <XdgActivationTokenV1 as Proxy>::Event, - data: &R, + data: &R, _conn: &Connection, _qhandle: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
where D: Dispatch<XdgActivationV1, GlobalData> + ActivationHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &XdgActivationV1, _: <XdgActivationV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<XdgActivationV1, 1> for ActivationState

source§

fn bound_global(&self) -> Result<XdgActivationV1, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

§

impl Freeze for ActivationState

§

impl !RefUnwindSafe for ActivationState

§

impl Send for ActivationState

§

impl Sync for ActivationState

§

impl Unpin for ActivationState

§

impl !UnwindSafe for ActivationState

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<XdgActivationV1, 1> for ActivationState

source§

fn bound_global(&self) -> Result<XdgActivationV1, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

§

impl Freeze for ActivationState

§

impl !RefUnwindSafe for ActivationState

§

impl Send for ActivationState

§

impl Sync for ActivationState

§

impl Unpin for ActivationState

§

impl !UnwindSafe for ActivationState

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/activation/struct.RequestData.html b/smithay_client_toolkit/activation/struct.RequestData.html index a60cfa034..049b2ec86 100644 --- a/smithay_client_toolkit/activation/struct.RequestData.html +++ b/smithay_client_toolkit/activation/struct.RequestData.html @@ -1,39 +1,39 @@ -RequestData in smithay_client_toolkit::activation - Rust

Struct smithay_client_toolkit::activation::RequestData

source ·
pub struct RequestData {
-    pub app_id: Option<String>,
-    pub seat_and_serial: Option<(WlSeat, u32)>,
-    pub surface: Option<WlSurface>,
+RequestData in smithay_client_toolkit::activation - Rust
smithay_client_toolkit::activation

Struct RequestData

source
pub struct RequestData {
+    pub app_id: Option<String>,
+    pub seat_and_serial: Option<(WlSeat, u32)>,
+    pub surface: Option<WlSurface>,
 }
Expand description

Minimal implementation of RequestDataExt.

Use a custom type implementing RequestDataExt to store more data with a token request e.g. to identify which request produced which token.

-

Fields§

§app_id: Option<String>

App_id of the application requesting the token, if applicable

-
§seat_and_serial: Option<(WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable.

+

Fields§

§app_id: Option<String>

App_id of the application requesting the token, if applicable

+
§seat_and_serial: Option<(WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable.

Warning: Many compositors will issue invalid tokens for requests without recent serials. There is no way to detect this from the client-side.

-
§surface: Option<WlSurface>

Surface of the window requesting the token, if applicable.

+
§surface: Option<WlSurface>

Surface of the window requesting the token, if applicable.

Warning: Many compositors will issue invalid tokens for requests from unfocused surfaces. There is no way to detect this from the client-side.

-

Trait Implementations§

source§

impl Clone for RequestData

source§

fn clone(&self) -> RequestData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RequestData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl RequestDataExt for RequestData

source§

fn app_id(&self) -> Option<&str>

App_id of the application requesting the token, if applicable
source§

fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable. Read more
source§

fn surface(&self) -> Option<&WlSurface>

Surface of the window requesting the token, if applicable. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for RequestData

source§

fn clone(&self) -> RequestData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RequestData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl RequestDataExt for RequestData

source§

fn app_id(&self) -> Option<&str>

App_id of the application requesting the token, if applicable
source§

fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable. Read more
source§

fn surface(&self) -> Option<&WlSurface>

Surface of the window requesting the token, if applicable. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/activation/trait.ActivationHandler.html b/smithay_client_toolkit/activation/trait.ActivationHandler.html index fcc181593..7ea9c06f5 100644 --- a/smithay_client_toolkit/activation/trait.ActivationHandler.html +++ b/smithay_client_toolkit/activation/trait.ActivationHandler.html @@ -1,9 +1,9 @@ -ActivationHandler in smithay_client_toolkit::activation - Rust
pub trait ActivationHandler: Sized {
+ActivationHandler in smithay_client_toolkit::activation - Rust
smithay_client_toolkit::activation

Trait ActivationHandler

source
pub trait ActivationHandler: Sized {
     type RequestData: RequestDataExt;
 
     // Required method
-    fn new_token(&mut self, token: String, data: &Self::RequestData);
+    fn new_token(&mut self, token: String, data: &Self::RequestData);
 }
Expand description

Handler for xdg-activation

Required Associated Types§

source

type RequestData: RequestDataExt

Data type used for requesting activation tokens

-

Required Methods§

source

fn new_token(&mut self, token: String, data: &Self::RequestData)

A token was issued for a previous request with data.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Required Methods§

source

fn new_token(&mut self, token: String, data: &Self::RequestData)

A token was issued for a previous request with data.

+

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/activation/trait.RequestDataExt.html b/smithay_client_toolkit/activation/trait.RequestDataExt.html index 824fd0f1f..6a3780f35 100644 --- a/smithay_client_toolkit/activation/trait.RequestDataExt.html +++ b/smithay_client_toolkit/activation/trait.RequestDataExt.html @@ -1,14 +1,14 @@ -RequestDataExt in smithay_client_toolkit::activation - Rust
pub trait RequestDataExt: Send + Sync {
+RequestDataExt in smithay_client_toolkit::activation - Rust
smithay_client_toolkit::activation

Trait RequestDataExt

source
pub trait RequestDataExt: Send + Sync {
     // Required methods
-    fn app_id(&self) -> Option<&str>;
-    fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>;
-    fn surface(&self) -> Option<&WlSurface>;
+    fn app_id(&self) -> Option<&str>;
+    fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>;
+    fn surface(&self) -> Option<&WlSurface>;
 }
Expand description

Data attached to a token request

-

Required Methods§

source

fn app_id(&self) -> Option<&str>

App_id of the application requesting the token, if applicable

-
source

fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable.

+

Required Methods§

source

fn app_id(&self) -> Option<&str>

App_id of the application requesting the token, if applicable

+
source

fn seat_and_serial(&self) -> Option<(&WlSeat, u32)>

Seat and serial of the window requesting the token, if applicable.

Warning: Many compositors will issue invalid tokens for requests without recent serials. There is no way to detect this from the client-side.

-
source

fn surface(&self) -> Option<&WlSurface>

Surface of the window requesting the token, if applicable.

+
source

fn surface(&self) -> Option<&WlSurface>

Surface of the window requesting the token, if applicable.

Warning: Many compositors will issue invalid tokens for requests from unfocused surfaces. There is no way to detect this from the client-side.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/all.html b/smithay_client_toolkit/all.html index 9b8b7649f..07ea1c0dc 100644 --- a/smithay_client_toolkit/all.html +++ b/smithay_client_toolkit/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Constants

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Traits

Macros

Functions

Type Aliases

Constants

\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/index.html b/smithay_client_toolkit/compositor/index.html index d83730cfa..f3d57a1d7 100644 --- a/smithay_client_toolkit/compositor/index.html +++ b/smithay_client_toolkit/compositor/index.html @@ -1 +1 @@ -smithay_client_toolkit::compositor - Rust

Module smithay_client_toolkit::compositor

source ·

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::compositor - Rust
smithay_client_toolkit

Module compositor

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/struct.CompositorState.html b/smithay_client_toolkit/compositor/struct.CompositorState.html index 7946b8c30..4095495cd 100644 --- a/smithay_client_toolkit/compositor/struct.CompositorState.html +++ b/smithay_client_toolkit/compositor/struct.CompositorState.html @@ -1,8 +1,8 @@ -CompositorState in smithay_client_toolkit::compositor - Rust
pub struct CompositorState { /* private fields */ }

Implementations§

source§

impl CompositorState

source

pub const API_VERSION_MAX: u32 = 6u32

The maximum API version for WlCompositor that this object will bind.

+CompositorState in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Struct CompositorState

source
pub struct CompositorState { /* private fields */ }

Implementations§

source§

impl CompositorState

source

pub const API_VERSION_MAX: u32 = 6u32

The maximum API version for WlCompositor that this object will bind.

source

pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<CompositorState, BindError>
where +) -> Result<CompositorState, BindError>
where State: Dispatch<WlCompositor, GlobalData, State> + 'static,

source

pub fn wl_compositor(&self) -> &WlCompositor

source

pub fn create_surface<D>(&self, qh: &QueueHandle<D>) -> WlSurface
where D: Dispatch<WlSurface, SurfaceData> + 'static,

source

pub fn create_surface_with_data<D, U>( &self, @@ -10,62 +10,62 @@ data: U, ) -> WlSurface
where D: Dispatch<WlSurface, U> + 'static, - U: SurfaceDataExt + 'static,

Trait Implementations§

source§

impl Clone for CompositorState

source§

fn clone(&self) -> CompositorState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompositorState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlCallback, WlSurface, D> for CompositorState
where + U: SurfaceDataExt + 'static,

Trait Implementations§

source§

impl Clone for CompositorState

source§

fn clone(&self) -> CompositorState

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CompositorState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlCallback, WlSurface, D> for CompositorState
where D: Dispatch<WlCallback, WlSurface> + CompositorHandler,

source§

fn event( - state: &mut D, + state: &mut D, _: &WlCallback, event: Event, surface: &WlSurface, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
where D: Dispatch<WlCompositor, GlobalData> + CompositorHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &WlCompositor, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D, U> Dispatch<WlSurface, U, D> for CompositorState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D, U> Dispatch<WlSurface, U, D> for CompositorState
where D: Dispatch<WlSurface, U> + CompositorHandler + OutputHandler + 'static, U: SurfaceDataExt + 'static,

source§

fn event( - state: &mut D, + state: &mut D, surface: &WlSurface, event: Event, - data: &U, + data: &U, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }> for CompositorState

source§

fn bound_global(&self) -> Result<WlCompositor, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }> for CompositorState

source§

fn bound_global(&self) -> Result<WlCompositor, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/struct.Region.html b/smithay_client_toolkit/compositor/struct.Region.html index ac790d786..1b388fc13 100644 --- a/smithay_client_toolkit/compositor/struct.Region.html +++ b/smithay_client_toolkit/compositor/struct.Region.html @@ -1,27 +1,27 @@ -Region in smithay_client_toolkit::compositor - Rust

Struct smithay_client_toolkit::compositor::Region

source ·
pub struct Region(/* private fields */);
Expand description

A trivial wrapper around a [WlRegion][wl_region::WlRegion].

+Region in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Struct Region

source
pub struct Region(/* private fields */);
Expand description

A trivial wrapper around a [WlRegion][wl_region::WlRegion].

This destroys the region on drop.

Implementations§

source§

impl Region

source

pub fn new( compositor: &impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }>, -) -> Result<Region, GlobalError>

source

pub fn add(&self, x: i32, y: i32, width: i32, height: i32)

source

pub fn subtract(&self, x: i32, y: i32, width: i32, height: i32)

source

pub fn wl_region(&self) -> &WlRegion

Trait Implementations§

source§

impl Debug for Region

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for Region

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl Freeze for Region

§

impl !RefUnwindSafe for Region

§

impl Send for Region

§

impl Sync for Region

§

impl Unpin for Region

§

impl !UnwindSafe for Region

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Result<Region, GlobalError>
source

pub fn add(&self, x: i32, y: i32, width: i32, height: i32)

source

pub fn subtract(&self, x: i32, y: i32, width: i32, height: i32)

source

pub fn wl_region(&self) -> &WlRegion

Trait Implementations§

source§

impl Debug for Region

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for Region

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl Freeze for Region

§

impl !RefUnwindSafe for Region

§

impl Send for Region

§

impl Sync for Region

§

impl Unpin for Region

§

impl !UnwindSafe for Region

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/struct.Surface.html b/smithay_client_toolkit/compositor/struct.Surface.html index 5c13f3ce7..ad65a8315 100644 --- a/smithay_client_toolkit/compositor/struct.Surface.html +++ b/smithay_client_toolkit/compositor/struct.Surface.html @@ -1,35 +1,35 @@ -Surface in smithay_client_toolkit::compositor - Rust

Struct smithay_client_toolkit::compositor::Surface

source ·
pub struct Surface(/* private fields */);
Expand description

An owned WlSurface.

+Surface in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Struct Surface

source
pub struct Surface(/* private fields */);
Expand description

An owned WlSurface.

This destroys the surface on drop.

Implementations§

source§

impl Surface

source

pub fn new<D>( compositor: &impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }>, qh: &QueueHandle<D>, -) -> Result<Self, GlobalError>
where +) -> Result<Self, GlobalError>
where D: Dispatch<WlSurface, SurfaceData> + 'static,

source

pub fn with_data<D, U>( compositor: &impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }>, qh: &QueueHandle<D>, data: U, -) -> Result<Self, GlobalError>
where +) -> Result<Self, GlobalError>
where D: Dispatch<WlSurface, U> + 'static, - U: Send + Sync + 'static,

source

pub fn wl_surface(&self) -> &WlSurface

Trait Implementations§

source§

impl Debug for Surface

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for Surface

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<WlSurface> for Surface

source§

fn from(surface: WlSurface) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + U: Send + Sync + 'static,
source

pub fn wl_surface(&self) -> &WlSurface

Trait Implementations§

source§

impl Debug for Surface

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for Surface

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<WlSurface> for Surface

source§

fn from(surface: WlSurface) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/struct.SurfaceData.html b/smithay_client_toolkit/compositor/struct.SurfaceData.html index 7fc2574aa..845c33751 100644 --- a/smithay_client_toolkit/compositor/struct.SurfaceData.html +++ b/smithay_client_toolkit/compositor/struct.SurfaceData.html @@ -1,31 +1,31 @@ -SurfaceData in smithay_client_toolkit::compositor - Rust

Struct smithay_client_toolkit::compositor::SurfaceData

source ·
pub struct SurfaceData { /* private fields */ }
Expand description

Data associated with a WlSurface.

-

Implementations§

source§

impl SurfaceData

source

pub fn new(parent_surface: Option<WlSurface>, scale_factor: i32) -> Self

Create a new surface that initially reports the given scale factor and parent.

-
source

pub fn scale_factor(&self) -> i32

The scale factor of the output with the highest scale factor.

+SurfaceData in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Struct SurfaceData

source
pub struct SurfaceData { /* private fields */ }
Expand description

Data associated with a WlSurface.

+

Implementations§

source§

impl SurfaceData

source

pub fn new(parent_surface: Option<WlSurface>, scale_factor: i32) -> Self

Create a new surface that initially reports the given scale factor and parent.

+
source

pub fn scale_factor(&self) -> i32

The scale factor of the output with the highest scale factor.

source

pub fn transform(&self) -> Transform

The suggest transform for the surface.

-
source

pub fn parent_surface(&self) -> Option<&WlSurface>

The parent surface used for this surface.

+
source

pub fn parent_surface(&self) -> Option<&WlSurface>

The parent surface used for this surface.

The surface is Some for primarily for subsurfaces, since they must have a parent surface.

-
source

pub fn outputs(&self) -> impl Iterator<Item = WlOutput>

The outputs the surface is currently inside.

-

Trait Implementations§

source§

impl Debug for SurfaceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SurfaceData

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl SurfaceDataExt for SurfaceData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
source

pub fn outputs(&self) -> impl Iterator<Item = WlOutput>

The outputs the surface is currently inside.

+

Trait Implementations§

source§

impl Debug for SurfaceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SurfaceData

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl SurfaceDataExt for SurfaceData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/trait.CompositorHandler.html b/smithay_client_toolkit/compositor/trait.CompositorHandler.html index 825834609..e0b605cbf 100644 --- a/smithay_client_toolkit/compositor/trait.CompositorHandler.html +++ b/smithay_client_toolkit/compositor/trait.CompositorHandler.html @@ -1,11 +1,11 @@ -CompositorHandler in smithay_client_toolkit::compositor - Rust
pub trait CompositorHandler: Sized {
+CompositorHandler in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Trait CompositorHandler

source
pub trait CompositorHandler: Sized {
     // Required methods
     fn scale_factor_changed(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         surface: &WlSurface,
-        new_factor: i32,
+        new_factor: i32,
     );
     fn transform_changed(
         &mut self,
@@ -19,7 +19,7 @@
         conn: &Connection,
         qh: &QueueHandle<Self>,
         surface: &WlSurface,
-        time: u32,
+        time: u32,
     );
     fn surface_enter(
         &mut self,
@@ -40,7 +40,7 @@
     conn: &Connection,
     qh: &QueueHandle<Self>,
     surface: &WlSurface,
-    new_factor: i32,
+    new_factor: i32,
 )

The surface has either been moved into or out of an output and the output has a different scale factor.

source

fn transform_changed( &mut self, @@ -54,7 +54,7 @@ conn: &Connection, qh: &QueueHandle<Self>, surface: &WlSurface, - time: u32, + time: u32, )

A frame callback has been completed.

Frame callbacks are used to avoid updating surfaces that are not currently visible. If a frame callback is requested prior to committing a surface, the client should avoid drawing @@ -77,4 +77,4 @@ surface: &WlSurface, output: &WlOutput, )

The surface has left an output.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/compositor/trait.SurfaceDataExt.html b/smithay_client_toolkit/compositor/trait.SurfaceDataExt.html index 7a68e64d5..e61288415 100644 --- a/smithay_client_toolkit/compositor/trait.SurfaceDataExt.html +++ b/smithay_client_toolkit/compositor/trait.SurfaceDataExt.html @@ -1,4 +1,4 @@ -SurfaceDataExt in smithay_client_toolkit::compositor - Rust
pub trait SurfaceDataExt: Send + Sync {
+SurfaceDataExt in smithay_client_toolkit::compositor - Rust
smithay_client_toolkit::compositor

Trait SurfaceDataExt

source
pub trait SurfaceDataExt: Send + Sync {
     // Required method
     fn surface_data(&self) -> &SurfaceData;
 }

Required Methods§

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_device/index.html b/smithay_client_toolkit/data_device_manager/data_device/index.html index dee885d38..02b64b17c 100644 --- a/smithay_client_toolkit/data_device_manager/data_device/index.html +++ b/smithay_client_toolkit/data_device_manager/data_device/index.html @@ -1 +1 @@ -smithay_client_toolkit::data_device_manager::data_device - Rust

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::data_device_manager::data_device - Rust
smithay_client_toolkit::data_device_manager

Module data_device

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_device/struct.DataDevice.html b/smithay_client_toolkit/data_device_manager/data_device/struct.DataDevice.html index bea25abbc..bc83d0c93 100644 --- a/smithay_client_toolkit/data_device_manager/data_device/struct.DataDevice.html +++ b/smithay_client_toolkit/data_device_manager/data_device/struct.DataDevice.html @@ -1,25 +1,25 @@ -DataDevice in smithay_client_toolkit::data_device_manager::data_device - Rust
pub struct DataDevice { /* private fields */ }

Implementations§

source§

impl DataDevice

source

pub fn data(&self) -> &DataDeviceData

source

pub fn unset_selection(&self, serial: u32)

Unset the selection of the provided data device as a response to the event with with provided serial.

-
source

pub fn inner(&self) -> &WlDataDevice

Trait Implementations§

source§

impl Debug for DataDevice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for DataDevice

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for DataDevice

source§

fn eq(&self, other: &DataDevice) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for DataDevice

source§

impl StructuralPartialEq for DataDevice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +DataDevice in smithay_client_toolkit::data_device_manager::data_device - Rust
pub struct DataDevice { /* private fields */ }

Implementations§

source§

impl DataDevice

source

pub fn data(&self) -> &DataDeviceData

source

pub fn unset_selection(&self, serial: u32)

Unset the selection of the provided data device as a response to the event with with provided serial.

+
source

pub fn inner(&self) -> &WlDataDevice

Trait Implementations§

source§

impl Debug for DataDevice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for DataDevice

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for DataDevice

source§

fn eq(&self, other: &DataDevice) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for DataDevice

source§

impl StructuralPartialEq for DataDevice

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_device/struct.DataDeviceData.html b/smithay_client_toolkit/data_device_manager/data_device/struct.DataDeviceData.html index 6fbca2311..5521b3c2a 100644 --- a/smithay_client_toolkit/data_device_manager/data_device/struct.DataDeviceData.html +++ b/smithay_client_toolkit/data_device_manager/data_device/struct.DataDeviceData.html @@ -1,37 +1,37 @@ -DataDeviceData in smithay_client_toolkit::data_device_manager::data_device - Rust
pub struct DataDeviceData { /* private fields */ }

Implementations§

source§

impl DataDeviceData

source

pub fn seat(&self) -> &WlSeat

Get the seat associated with this data device.

-
source

pub fn drag_offer(&self) -> Option<DragOffer>

Get the active dnd offer if it exists.

-
source

pub fn selection_offer(&self) -> Option<SelectionOffer>

Get the active selection offer if it exists.

-

Trait Implementations§

source§

impl Debug for DataDeviceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlDataDevice, DataDeviceData, D> for DataDeviceManagerState
where +DataDeviceData in smithay_client_toolkit::data_device_manager::data_device - Rust
smithay_client_toolkit::data_device_manager::data_device

Struct DataDeviceData

source
pub struct DataDeviceData { /* private fields */ }

Implementations§

source§

impl DataDeviceData

source

pub fn seat(&self) -> &WlSeat

Get the seat associated with this data device.

+
source

pub fn drag_offer(&self) -> Option<DragOffer>

Get the active dnd offer if it exists.

+
source

pub fn selection_offer(&self) -> Option<SelectionOffer>

Get the active selection offer if it exists.

+

Trait Implementations§

source§

impl Debug for DataDeviceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlDataDevice, DataDeviceData, D> for DataDeviceManagerState
where D: Dispatch<WlDataDevice, DataDeviceData> + Dispatch<WlDataOffer, DataOfferData> + DataDeviceHandler + DataOfferHandler + 'static,

source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<D>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( - state: &mut D, +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( + state: &mut D, data_device: &WlDataDevice, event: Event, data: &DataDeviceData, conn: &Connection, qh: &QueueHandle<D>, -)

Called when an event from the server is processed Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +)

Called when an event from the server is processed Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_device/trait.DataDeviceHandler.html b/smithay_client_toolkit/data_device_manager/data_device/trait.DataDeviceHandler.html index ef762192f..4e82e1ce7 100644 --- a/smithay_client_toolkit/data_device_manager/data_device/trait.DataDeviceHandler.html +++ b/smithay_client_toolkit/data_device_manager/data_device/trait.DataDeviceHandler.html @@ -1,12 +1,12 @@ -DataDeviceHandler in smithay_client_toolkit::data_device_manager::data_device - Rust
pub trait DataDeviceHandler: Sized {
+DataDeviceHandler in smithay_client_toolkit::data_device_manager::data_device - Rust
smithay_client_toolkit::data_device_manager::data_device

Trait DataDeviceHandler

source
pub trait DataDeviceHandler: Sized {
     // Required methods
     fn enter(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         data_device: &WlDataDevice,
-        x: f64,
-        y: f64,
+        x: f64,
+        y: f64,
         wl_surface: &WlSurface,
     );
     fn leave(
@@ -20,8 +20,8 @@
         conn: &Connection,
         qh: &QueueHandle<Self>,
         data_device: &WlDataDevice,
-        x: f64,
-        y: f64,
+        x: f64,
+        y: f64,
     );
     fn selection(
         &mut self,
@@ -42,8 +42,8 @@
     conn: &Connection,
     qh: &QueueHandle<Self>,
     data_device: &WlDataDevice,
-    x: f64,
-    y: f64,
+    x: f64,
+    y: f64,
     wl_surface: &WlSurface,
 )

The data device pointer has entered a surface at the provided location

source

fn leave( @@ -59,8 +59,8 @@ conn: &Connection, qh: &QueueHandle<Self>, data_device: &WlDataDevice, - x: f64, - y: f64, + x: f64, + y: f64, )

Drag and Drop motion.

source

fn selection( &mut self, @@ -75,4 +75,4 @@ data_device: &WlDataDevice, )

Drop performed. After the next data offer action event, data may be able to be received, unless the action is “ask”.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/enum.DataOfferError.html b/smithay_client_toolkit/data_device_manager/data_offer/enum.DataOfferError.html index cbf016638..a9634a594 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/enum.DataOfferError.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/enum.DataOfferError.html @@ -1,28 +1,28 @@ -DataOfferError in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub enum DataOfferError {
+DataOfferError in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Enum DataOfferError

source
pub enum DataOfferError {
     InvalidReceive,
-    Io(Error),
+    Io(Error),
 }
Expand description

An error that may occur when working with data offers.

-

Variants§

§

InvalidReceive

§

Io(Error)

Trait Implementations§

source§

impl Debug for DataOfferError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DataOfferError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DataOfferError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Variants§

§

InvalidReceive

§

Io(Error)

Trait Implementations§

source§

impl Debug for DataOfferError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for DataOfferError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for DataOfferError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/fn.receive.html b/smithay_client_toolkit/data_device_manager/data_offer/fn.receive.html index 1e7cd3104..b24938845 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/fn.receive.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/fn.receive.html @@ -1,4 +1,4 @@ -receive in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub fn receive(offer: &WlDataOffer, mime_type: String) -> Result<ReadPipe>
Expand description

Request to receive the data of a given mime type.

+receive in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub fn receive(offer: &WlDataOffer, mime_type: String) -> Result<ReadPipe>
Expand description

Request to receive the data of a given mime type.

You can do this several times, as a reaction to motion of the dnd cursor, or to inspect the data in order to choose your response.

diff --git a/smithay_client_toolkit/data_device_manager/data_offer/fn.receive_to_fd.html b/smithay_client_toolkit/data_device_manager/data_offer/fn.receive_to_fd.html index 3e73b4fce..ec052b81c 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/fn.receive_to_fd.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/fn.receive_to_fd.html @@ -1,4 +1,4 @@ -receive_to_fd in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub fn receive_to_fd(offer: &WlDataOffer, mime_type: String, writefd: OwnedFd)
Expand description

Receive data to the write end of a raw file descriptor. If you have the read end, you can read from it.

+receive_to_fd in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Function receive_to_fd

source
pub fn receive_to_fd(offer: &WlDataOffer, mime_type: String, writefd: OwnedFd)
Expand description

Receive data to the write end of a raw file descriptor. If you have the read end, you can read from it.

You can do this several times, as a reaction to motion of the dnd cursor, or to inspect the data in order to choose your response.

diff --git a/smithay_client_toolkit/data_device_manager/data_offer/index.html b/smithay_client_toolkit/data_device_manager/data_offer/index.html index 0df7694d7..054547328 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/index.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/index.html @@ -1 +1 @@ -smithay_client_toolkit::data_device_manager::data_offer - Rust

Structs§

Enums§

Traits§

Functions§

  • Request to receive the data of a given mime type.
  • Receive data to the write end of a raw file descriptor. If you have the read end, you can read from it.
\ No newline at end of file +smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager

Module data_offer

source

Structs§

Enums§

Traits§

Functions§

  • Request to receive the data of a given mime type.
  • Receive data to the write end of a raw file descriptor. If you have the read end, you can read from it.
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/struct.DataDeviceOfferInner.html b/smithay_client_toolkit/data_device_manager/data_offer/struct.DataDeviceOfferInner.html index 15b3c70d7..1bfd49e18 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/struct.DataDeviceOfferInner.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/struct.DataDeviceOfferInner.html @@ -1,23 +1,23 @@ -DataDeviceOfferInner in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub struct DataDeviceOfferInner { /* private fields */ }

Trait Implementations§

source§

impl Debug for DataDeviceOfferInner

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataDeviceOfferInner

source§

fn default() -> DataDeviceOfferInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +DataDeviceOfferInner in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Struct DataDeviceOfferInner

source
pub struct DataDeviceOfferInner { /* private fields */ }

Trait Implementations§

source§

impl Debug for DataDeviceOfferInner

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataDeviceOfferInner

source§

fn default() -> DataDeviceOfferInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/struct.DataOfferData.html b/smithay_client_toolkit/data_device_manager/data_offer/struct.DataOfferData.html index e8d69e85e..ccd03750c 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/struct.DataOfferData.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/struct.DataOfferData.html @@ -1,35 +1,35 @@ -DataOfferData in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub struct DataOfferData { /* private fields */ }

Implementations§

source§

impl DataOfferData

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

-

Trait Implementations§

source§

impl Debug for DataOfferData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataOfferData

source§

fn default() -> DataOfferData

Returns the “default value” for a type. Read more
source§

impl<D> Dispatch<WlDataOffer, DataOfferData, D> for DataDeviceManagerState
where +DataOfferData in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Struct DataOfferData

source
pub struct DataOfferData { /* private fields */ }

Implementations§

source§

impl DataOfferData

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

+

Trait Implementations§

source§

impl Debug for DataOfferData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataOfferData

source§

fn default() -> DataOfferData

Returns the “default value” for a type. Read more
source§

impl<D> Dispatch<WlDataOffer, DataOfferData, D> for DataDeviceManagerState
where D: Dispatch<WlDataOffer, DataOfferData> + DataOfferHandler,

source§

fn event( - state: &mut D, + state: &mut D, _offer: &WlDataOffer, event: <WlDataOffer as Proxy>::Event, data: &DataOfferData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/struct.DragOffer.html b/smithay_client_toolkit/data_device_manager/data_offer/struct.DragOffer.html index 46761ffbf..9bc896b6d 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/struct.DragOffer.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/struct.DragOffer.html @@ -1,58 +1,58 @@ -DragOffer in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub struct DragOffer {
-    pub serial: u32,
+DragOffer in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub struct DragOffer {
+    pub serial: u32,
     pub surface: WlSurface,
-    pub x: f64,
-    pub y: f64,
-    pub time: Option<u32>,
+    pub x: f64,
+    pub y: f64,
+    pub time: Option<u32>,
     pub source_actions: DndAction,
     pub selected_action: DndAction,
-    pub dropped: bool,
-    pub left: bool,
+    pub dropped: bool,
+    pub left: bool,
     /* private fields */
-}

Fields§

§serial: u32

the serial for this data offer’s enter event

+}

Fields§

§serial: u32

the serial for this data offer’s enter event

§surface: WlSurface

the surface that this DnD is active on

-
§x: f64

the x position on the surface

-
§y: f64

the y position on this surface

-
§time: Option<u32>

the timestamp a motion event was received in millisecond granularity

+
§x: f64

the x position on the surface

+
§y: f64

the y position on this surface

+
§time: Option<u32>

the timestamp a motion event was received in millisecond granularity

§source_actions: DndAction

the advertised drag actions

§selected_action: DndAction

the compositor selected drag action

-
§dropped: bool

whether or not the drag has been dropped

-
§left: bool

whether or not the drag has left

-

Implementations§

source§

impl DragOffer

source

pub fn finish(&self)

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

+
§dropped: bool

whether or not the drag has been dropped

+
§left: bool

whether or not the drag has left

+

Implementations§

source§

impl DragOffer

source

pub fn finish(&self)

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

source

pub fn set_actions(&self, actions: DndAction, preferred_action: DndAction)

Set the accepted and preferred drag and drop actions. This request determines the final result of the drag-and-drop operation. If the end result is that no action is accepted, the drag source will receive wl_data_source.cancelled.

-
source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe>

Receive data with the given mime type. +

source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe>

Receive data with the given mime type. This request may happen multiple times for different mime types, both before and after wl_data_device.drop. Drag-and-drop destination clients may preemptively fetch data or examine it more closely to determine acceptance.

-
source

pub fn accept_mime_type(&self, serial: u32, mime_type: Option<String>)

Accept the given mime type, or None to reject the offer. +

source

pub fn accept_mime_type(&self, serial: u32, mime_type: Option<String>)

Accept the given mime type, or None to reject the offer. In version 2, this request is used for feedback, but doesn’t affect the final result of the drag-and-drop operation. In version 3, this request determines the final result of the drag-and-drop operation.

source

pub fn destroy(&self)

Destroy the data offer.

source

pub fn inner(&self) -> &WlDataOffer

Retrieve a reference to the inner wl_data_offer.

-

Trait Implementations§

source§

impl Clone for DragOffer

source§

fn clone(&self) -> DragOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DragOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DragOffer

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for DragOffer

source§

fn clone(&self) -> DragOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DragOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for DragOffer

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/struct.SelectionOffer.html b/smithay_client_toolkit/data_device_manager/data_offer/struct.SelectionOffer.html index 678046194..4b5d68438 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/struct.SelectionOffer.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/struct.SelectionOffer.html @@ -1,27 +1,27 @@ -SelectionOffer in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub struct SelectionOffer { /* private fields */ }

Implementations§

source§

impl SelectionOffer

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

-
source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe, DataOfferError>

source

pub fn destroy(&self)

source

pub fn inner(&self) -> &WlDataOffer

Trait Implementations§

source§

impl Clone for SelectionOffer

source§

fn clone(&self) -> SelectionOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SelectionOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for SelectionOffer

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +SelectionOffer in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Struct SelectionOffer

source
pub struct SelectionOffer { /* private fields */ }

Implementations§

source§

impl SelectionOffer

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

+
source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe, DataOfferError>

source

pub fn destroy(&self)

source

pub fn inner(&self) -> &WlDataOffer

Trait Implementations§

source§

impl Clone for SelectionOffer

source§

fn clone(&self) -> SelectionOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SelectionOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for SelectionOffer

source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_offer/trait.DataOfferHandler.html b/smithay_client_toolkit/data_device_manager/data_offer/trait.DataOfferHandler.html index 92be342a8..d94111b75 100644 --- a/smithay_client_toolkit/data_device_manager/data_offer/trait.DataOfferHandler.html +++ b/smithay_client_toolkit/data_device_manager/data_offer/trait.DataOfferHandler.html @@ -1,4 +1,4 @@ -DataOfferHandler in smithay_client_toolkit::data_device_manager::data_offer - Rust
pub trait DataOfferHandler: Sized {
+DataOfferHandler in smithay_client_toolkit::data_device_manager::data_offer - Rust
smithay_client_toolkit::data_device_manager::data_offer

Trait DataOfferHandler

source
pub trait DataOfferHandler: Sized {
     // Required methods
     fn source_actions(
         &mut self,
@@ -40,4 +40,4 @@
 preference, then calls set_actions & accept each one last time. Finally,
 the destination may then request data to be sent and finishing the data
 offer

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/index.html b/smithay_client_toolkit/data_device_manager/data_source/index.html index 2e107a35a..208fdab3d 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/index.html +++ b/smithay_client_toolkit/data_device_manager/data_source/index.html @@ -1 +1 @@ -smithay_client_toolkit::data_device_manager::data_source - Rust
\ No newline at end of file +smithay_client_toolkit::data_device_manager::data_source - Rust
smithay_client_toolkit::data_device_manager

Module data_source

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/struct.CopyPasteSource.html b/smithay_client_toolkit/data_device_manager/data_source/struct.CopyPasteSource.html index 4e8bf01b0..6746bde00 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/struct.CopyPasteSource.html +++ b/smithay_client_toolkit/data_device_manager/data_source/struct.CopyPasteSource.html @@ -1,27 +1,27 @@ -CopyPasteSource in smithay_client_toolkit::data_device_manager::data_source - Rust
pub struct CopyPasteSource { /* private fields */ }

Implementations§

source§

impl CopyPasteSource

source

pub fn set_selection(&self, device: &DataDevice, serial: u32)

Set the selection of the provided data device as a response to the event with with provided serial.

-
source

pub fn inner(&self) -> &WlDataSource

Trait Implementations§

source§

impl Clone for CopyPasteSource

source§

fn clone(&self) -> CopyPasteSource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CopyPasteSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for CopyPasteSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for CopyPasteSource

source§

fn eq(&self, other: &CopyPasteSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for CopyPasteSource

source§

impl StructuralPartialEq for CopyPasteSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +CopyPasteSource in smithay_client_toolkit::data_device_manager::data_source - Rust
smithay_client_toolkit::data_device_manager::data_source

Struct CopyPasteSource

source
pub struct CopyPasteSource { /* private fields */ }

Implementations§

source§

impl CopyPasteSource

source

pub fn set_selection(&self, device: &DataDevice, serial: u32)

Set the selection of the provided data device as a response to the event with with provided serial.

+
source

pub fn inner(&self) -> &WlDataSource

Trait Implementations§

source§

impl Clone for CopyPasteSource

source§

fn clone(&self) -> CopyPasteSource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CopyPasteSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for CopyPasteSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for CopyPasteSource

source§

fn eq(&self, other: &CopyPasteSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for CopyPasteSource

source§

impl StructuralPartialEq for CopyPasteSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/struct.DataSourceData.html b/smithay_client_toolkit/data_device_manager/data_source/struct.DataSourceData.html index e4c28a3bc..f7e144743 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/struct.DataSourceData.html +++ b/smithay_client_toolkit/data_device_manager/data_source/struct.DataSourceData.html @@ -1,23 +1,23 @@ -DataSourceData in smithay_client_toolkit::data_device_manager::data_source - Rust
pub struct DataSourceData {}

Trait Implementations§

source§

impl DataSourceDataExt for DataSourceData

source§

impl Debug for DataSourceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataSourceData

source§

fn default() -> DataSourceData

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +DataSourceData in smithay_client_toolkit::data_device_manager::data_source - Rust
smithay_client_toolkit::data_device_manager::data_source

Struct DataSourceData

source
pub struct DataSourceData {}

Trait Implementations§

source§

impl DataSourceDataExt for DataSourceData

source§

impl Debug for DataSourceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DataSourceData

source§

fn default() -> DataSourceData

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/struct.DragSource.html b/smithay_client_toolkit/data_device_manager/data_source/struct.DragSource.html index d7879eaa1..33a5b6bb1 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/struct.DragSource.html +++ b/smithay_client_toolkit/data_device_manager/data_source/struct.DragSource.html @@ -1,46 +1,46 @@ -DragSource in smithay_client_toolkit::data_device_manager::data_source - Rust
pub struct DragSource { /* private fields */ }

Implementations§

source§

impl DragSource

source

pub fn start_drag( +DragSource in smithay_client_toolkit::data_device_manager::data_source - Rust
pub struct DragSource { /* private fields */ }

Implementations§

source§

impl DragSource

source

pub fn start_drag( &self, device: &DataDevice, origin: &WlSurface, - icon: Option<&WlSurface>, - serial: u32, + icon: Option<&WlSurface>, + serial: u32, )

Start a normal drag and drop operation. This can be used for both intra-client DnD or inter-client Dnd. The drag is cancelled when the DragSource is dropped.

source

pub fn start_internal_drag( device: &DataDevice, origin: &WlSurface, - icon: Option<&WlSurface>, - serial: u32, + icon: Option<&WlSurface>, + serial: u32, )

Start an internal drag and drop operation. This will pass a NULL source, and the client is expected to handle data passing internally. Only Enter, Leave, & Motion events will be sent to the client

source

pub fn set_actions(&self, dnd_actions: DndAction)

Set the actions that this drag source supports. This can only be done once, and must be done before the drag is started.

source

pub fn inner(&self) -> &WlDataSource

Retrieve a reference to the inner wl_data_source.

-

Trait Implementations§

source§

impl Clone for DragSource

source§

fn clone(&self) -> DragSource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DragSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for DragSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for DragSource

source§

fn eq(&self, other: &DragSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for DragSource

source§

impl StructuralPartialEq for DragSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for DragSource

source§

fn clone(&self) -> DragSource

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DragSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for DragSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for DragSource

source§

fn eq(&self, other: &DragSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for DragSource

source§

impl StructuralPartialEq for DragSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceDataExt.html b/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceDataExt.html index 694cb5da0..d27da8a99 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceDataExt.html +++ b/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceDataExt.html @@ -1,4 +1,4 @@ -DataSourceDataExt in smithay_client_toolkit::data_device_manager::data_source - Rust
pub trait DataSourceDataExt: Send + Sync {
+DataSourceDataExt in smithay_client_toolkit::data_device_manager::data_source - Rust
smithay_client_toolkit::data_device_manager::data_source

Trait DataSourceDataExt

source
pub trait DataSourceDataExt: Send + Sync {
     // Required method
     fn data_source_data(&self) -> &DataSourceData;
 }

Required Methods§

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceHandler.html b/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceHandler.html index f24828429..e02ff2ba2 100644 --- a/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceHandler.html +++ b/smithay_client_toolkit/data_device_manager/data_source/trait.DataSourceHandler.html @@ -1,18 +1,18 @@ -DataSourceHandler in smithay_client_toolkit::data_device_manager::data_source - Rust
pub trait DataSourceHandler: Sized {
+DataSourceHandler in smithay_client_toolkit::data_device_manager::data_source - Rust
smithay_client_toolkit::data_device_manager::data_source

Trait DataSourceHandler

source
pub trait DataSourceHandler: Sized {
     // Required methods
     fn accept_mime(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         source: &WlDataSource,
-        mime: Option<String>,
+        mime: Option<String>,
     );
     fn send_request(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         source: &WlDataSource,
-        mime: String,
+        mime: String,
         fd: WritePipe,
     );
     fn cancelled(
@@ -47,14 +47,14 @@
     conn: &Connection,
     qh: &QueueHandle<Self>,
     source: &WlDataSource,
-    mime: Option<String>,
+    mime: Option<String>,
 )

This may be called multiple times, once for each accepted mime type from the destination, if any.

source

fn send_request( &mut self, conn: &Connection, qh: &QueueHandle<Self>, source: &WlDataSource, - mime: String, + mime: String, fd: WritePipe, )

The client has requested the data for this source to be sent. Send the data, then close the fd.

@@ -86,4 +86,4 @@ source: &WlDataSource, action: DndAction, )

An action was selected by the compositor.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/index.html b/smithay_client_toolkit/data_device_manager/index.html index af2b95366..5a70777ed 100644 --- a/smithay_client_toolkit/data_device_manager/index.html +++ b/smithay_client_toolkit/data_device_manager/index.html @@ -1,3 +1,3 @@ -smithay_client_toolkit::data_device_manager - Rust

Module smithay_client_toolkit::data_device_manager

source ·

Modules§

Structs§

source§

impl<D, U> Dispatch<WlDataSource, U, D> for DataDeviceManagerState
where D: Dispatch<WlDataSource, U> + DataSourceHandler, U: DataSourceDataExt,

source§

fn event( - state: &mut D, + state: &mut D, source: &WlDataSource, event: <WlDataSource as Proxy>::Event, - _data: &U, + _data: &U, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<WlDataDeviceManager, 3> for DataDeviceManagerState

source§

fn bound_global(&self) -> Result<WlDataDeviceManager, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
source§

impl ProvidesBoundGlobal<WlDataDeviceManager, 3> for DataDeviceManagerState

source§

fn bound_global(&self) -> Result<WlDataDeviceManager, GlobalError>

source§

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/struct.ReadPipe.html b/smithay_client_toolkit/data_device_manager/struct.ReadPipe.html index 9b770bc59..e915f40b9 100644 --- a/smithay_client_toolkit/data_device_manager/struct.ReadPipe.html +++ b/smithay_client_toolkit/data_device_manager/struct.ReadPipe.html @@ -1,53 +1,53 @@ -ReadPipe in smithay_client_toolkit::data_device_manager - Rust
pub struct ReadPipe { /* private fields */ }
Expand description

If the calloop cargo feature is enabled, this can be used +ReadPipe in smithay_client_toolkit::data_device_manager - Rust

smithay_client_toolkit::data_device_manager

Struct ReadPipe

source
pub struct ReadPipe { /* private fields */ }
Expand description

If the calloop cargo feature is enabled, this can be used as an EventSource in a calloop event loop.

-

Trait Implementations§

source§

impl AsFd for ReadPipe

source§

fn as_fd(&self) -> BorrowedFd<'_>

Borrows the file descriptor. Read more
source§

impl AsRawFd for ReadPipe

source§

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more
source§

impl Debug for ReadPipe

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EventSource for ReadPipe

source§

type Event = ()

The type of events generated by your source.
source§

type Error = Error

The error type returned from -process_events() (not the user callback!).
source§

type Metadata = NoIoDrop<File>

Some metadata of your event source Read more
source§

type Ret = PostAction

The return type of the user callback Read more
source§

fn process_events<F>( +

Trait Implementations§

source§

impl AsFd for ReadPipe

source§

fn as_fd(&self) -> BorrowedFd<'_>

Borrows the file descriptor. Read more
source§

impl AsRawFd for ReadPipe

source§

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more
source§

impl Debug for ReadPipe

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EventSource for ReadPipe

source§

type Event = ()

The type of events generated by your source.
source§

type Error = Error

The error type returned from +process_events() (not the user callback!).
source§

type Metadata = NoIoDrop<File>

Some metadata of your event source Read more
source§

type Ret = PostAction

The return type of the user callback Read more
source§

fn process_events<F>( &mut self, readiness: Readiness, token: Token, callback: F, -) -> Result<PostAction>
where - F: FnMut((), &mut NoIoDrop<File>) -> Self::Ret,

Process any relevant events Read more
source§

fn register( +) -> Result<PostAction>
where + F: FnMut((), &mut NoIoDrop<File>) -> Self::Ret,

Process any relevant events Read more
source§

fn register( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, -) -> Result<()>

Register yourself to this poll instance Read more
source§

fn reregister( +) -> Result<()>

Register yourself to this poll instance Read more
source§

fn reregister( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, -) -> Result<()>

Re-register your file descriptors Read more
source§

fn unregister(&mut self, poll: &mut Poll) -> Result<()>

Unregister your file descriptors Read more
§

const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = false

Whether this source needs to be sent the [EventSource::before_sleep] +) -> Result<()>
Re-register your file descriptors Read more
source§

fn unregister(&mut self, poll: &mut Poll) -> Result<()>

Unregister your file descriptors Read more
§

const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = false

Whether this source needs to be sent the [EventSource::before_sleep] and [EventSource::before_handle_events] notifications. These are opt-in because -they require more expensive checks, and almost all sources will not need these notifications
§

fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

Notification that a single poll is about to begin Read more
§

fn before_handle_events(&mut self, events: EventIterator<'_>)

Notification that polling is complete, and [EventSource::process_events] will +they require more expensive checks, and almost all sources will not need these notifications
§

fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

Notification that a single poll is about to begin Read more
§

fn before_handle_events(&mut self, events: EventIterator<'_>)

Notification that polling is complete, and [EventSource::process_events] will be called with the given events for this source. The iterator may be empty, -which indicates that no events were generated for this source Read more
source§

impl From<OwnedFd> for ReadPipe

source§

fn from(owned: OwnedFd) -> Self

Converts to this type from the input type.
source§

impl From<ReadPipe> for OwnedFd

source§

fn from(read_pipe: ReadPipe) -> Self

Converts to this type from the input type.
source§

impl FromRawFd for ReadPipe

source§

unsafe fn from_raw_fd(fd: RawFd) -> ReadPipe

Constructs a new instance of Self from the given raw file -descriptor. Read more
source§

impl IntoRawFd for ReadPipe

source§

fn into_raw_fd(self) -> RawFd

Consumes this object, returning the raw underlying file descriptor. Read more
source§

impl Read for ReadPipe

source§

fn read(&mut self, buf: &mut [u8]) -> Result<usize>

Pull some bytes from this source into the specified buffer, returning -how many bytes were read. Read more
1.36.0 · source§

fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

Like read, except that it reads into a slice of buffers. Read more
source§

fn is_read_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Reader has an efficient read_vectored -implementation. Read more
1.0.0 · source§

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes until EOF in this source, placing them into buf. Read more
1.0.0 · source§

fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until EOF in this source, appending them to buf. Read more
1.6.0 · source§

fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

Reads the exact number of bytes required to fill buf. Read more
source§

fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Pull some bytes from this source into the specified buffer. Read more
source§

fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Reads the exact number of bytes required to fill cursor. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Creates a “by reference” adaptor for this instance of Read. Read more
1.0.0 · source§

fn bytes(self) -> Bytes<Self>
where - Self: Sized,

Transforms this Read instance to an Iterator over its bytes. Read more
1.0.0 · source§

fn chain<R>(self, next: R) -> Chain<Self, R>
where - R: Read, - Self: Sized,

Creates an adapter which will chain this stream with another. Read more
1.0.0 · source§

fn take(self, limit: u64) -> Take<Self>
where - Self: Sized,

Creates an adapter which will read at most limit bytes from it. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsSource for T
where - T: AsFd,

§

fn source(&self) -> BorrowedFd<'_>

Returns the borrowed file descriptor.
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +which indicates that no events were generated for this source Read more
source§

impl From<OwnedFd> for ReadPipe

source§

fn from(owned: OwnedFd) -> Self

Converts to this type from the input type.
source§

impl From<ReadPipe> for OwnedFd

source§

fn from(read_pipe: ReadPipe) -> Self

Converts to this type from the input type.
source§

impl FromRawFd for ReadPipe

source§

unsafe fn from_raw_fd(fd: RawFd) -> ReadPipe

Constructs a new instance of Self from the given raw file +descriptor. Read more
source§

impl IntoRawFd for ReadPipe

source§

fn into_raw_fd(self) -> RawFd

Consumes this object, returning the raw underlying file descriptor. Read more
source§

impl Read for ReadPipe

source§

fn read(&mut self, buf: &mut [u8]) -> Result<usize>

Pull some bytes from this source into the specified buffer, returning +how many bytes were read. Read more
1.36.0 · source§

fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

Like read, except that it reads into a slice of buffers. Read more
source§

fn is_read_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Reader has an efficient read_vectored +implementation. Read more
1.0.0 · source§

fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

Reads all bytes until EOF in this source, placing them into buf. Read more
1.0.0 · source§

fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

Reads all bytes until EOF in this source, appending them to buf. Read more
1.6.0 · source§

fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

Reads the exact number of bytes required to fill buf. Read more
source§

fn read_buf(&mut self, buf: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Pull some bytes from this source into the specified buffer. Read more
source§

fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

🔬This is a nightly-only experimental API. (read_buf)
Reads the exact number of bytes required to fill cursor. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Creates a “by reference” adaptor for this instance of Read. Read more
1.0.0 · source§

fn bytes(self) -> Bytes<Self>
where + Self: Sized,

Transforms this Read instance to an Iterator over its bytes. Read more
1.0.0 · source§

fn chain<R>(self, next: R) -> Chain<Self, R>
where + R: Read, + Self: Sized,

Creates an adapter which will chain this stream with another. Read more
1.0.0 · source§

fn take(self, limit: u64) -> Take<Self>
where + Self: Sized,

Creates an adapter which will read at most limit bytes from it. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsSource for T
where + T: AsFd,

§

fn source(&self) -> BorrowedFd<'_>

Returns the borrowed file descriptor.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
\ No newline at end of file +[WithDispatch] wrapper. Read more \ No newline at end of file diff --git a/smithay_client_toolkit/data_device_manager/struct.WritePipe.html b/smithay_client_toolkit/data_device_manager/struct.WritePipe.html index dfbe5f1a1..3b218bf5b 100644 --- a/smithay_client_toolkit/data_device_manager/struct.WritePipe.html +++ b/smithay_client_toolkit/data_device_manager/struct.WritePipe.html @@ -1,50 +1,50 @@ -WritePipe in smithay_client_toolkit::data_device_manager - Rust
pub struct WritePipe { /* private fields */ }
Expand description

If the calloop cargo feature is enabled, this can be used +WritePipe in smithay_client_toolkit::data_device_manager - Rust

smithay_client_toolkit::data_device_manager

Struct WritePipe

source
pub struct WritePipe { /* private fields */ }
Expand description

If the calloop cargo feature is enabled, this can be used as an EventSource in a calloop event loop.

-

Trait Implementations§

source§

impl AsFd for WritePipe

source§

fn as_fd(&self) -> BorrowedFd<'_>

Borrows the file descriptor. Read more
source§

impl AsRawFd for WritePipe

source§

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more
source§

impl Debug for WritePipe

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EventSource for WritePipe

source§

type Event = ()

The type of events generated by your source.
source§

type Error = Error

The error type returned from -process_events() (not the user callback!).
source§

type Metadata = NoIoDrop<File>

Some metadata of your event source Read more
source§

type Ret = PostAction

The return type of the user callback Read more
source§

fn process_events<F>( +

Trait Implementations§

source§

impl AsFd for WritePipe

source§

fn as_fd(&self) -> BorrowedFd<'_>

Borrows the file descriptor. Read more
source§

impl AsRawFd for WritePipe

source§

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more
source§

impl Debug for WritePipe

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl EventSource for WritePipe

source§

type Event = ()

The type of events generated by your source.
source§

type Error = Error

The error type returned from +process_events() (not the user callback!).
source§

type Metadata = NoIoDrop<File>

Some metadata of your event source Read more
source§

type Ret = PostAction

The return type of the user callback Read more
source§

fn process_events<F>( &mut self, readiness: Readiness, token: Token, callback: F, -) -> Result<PostAction>
where - F: FnMut((), &mut NoIoDrop<File>) -> Self::Ret,

Process any relevant events Read more
source§

fn register( +) -> Result<PostAction>
where + F: FnMut((), &mut NoIoDrop<File>) -> Self::Ret,

Process any relevant events Read more
source§

fn register( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, -) -> Result<()>

Register yourself to this poll instance Read more
source§

fn reregister( +) -> Result<()>

Register yourself to this poll instance Read more
source§

fn reregister( &mut self, poll: &mut Poll, token_factory: &mut TokenFactory, -) -> Result<()>

Re-register your file descriptors Read more
source§

fn unregister(&mut self, poll: &mut Poll) -> Result<()>

Unregister your file descriptors Read more
§

const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = false

Whether this source needs to be sent the [EventSource::before_sleep] +) -> Result<()>
Re-register your file descriptors Read more
source§

fn unregister(&mut self, poll: &mut Poll) -> Result<()>

Unregister your file descriptors Read more
§

const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = false

Whether this source needs to be sent the [EventSource::before_sleep] and [EventSource::before_handle_events] notifications. These are opt-in because -they require more expensive checks, and almost all sources will not need these notifications
§

fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

Notification that a single poll is about to begin Read more
§

fn before_handle_events(&mut self, events: EventIterator<'_>)

Notification that polling is complete, and [EventSource::process_events] will +they require more expensive checks, and almost all sources will not need these notifications
§

fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

Notification that a single poll is about to begin Read more
§

fn before_handle_events(&mut self, events: EventIterator<'_>)

Notification that polling is complete, and [EventSource::process_events] will be called with the given events for this source. The iterator may be empty, -which indicates that no events were generated for this source Read more
source§

impl From<OwnedFd> for WritePipe

source§

fn from(owned: OwnedFd) -> Self

Converts to this type from the input type.
source§

impl From<WritePipe> for OwnedFd

source§

fn from(write_pipe: WritePipe) -> Self

Converts to this type from the input type.
source§

impl FromRawFd for WritePipe

source§

unsafe fn from_raw_fd(fd: RawFd) -> WritePipe

Constructs a new instance of Self from the given raw file -descriptor. Read more
source§

impl IntoRawFd for WritePipe

source§

fn into_raw_fd(self) -> RawFd

Consumes this object, returning the raw underlying file descriptor. Read more
source§

impl Write for WritePipe

source§

fn write(&mut self, buf: &[u8]) -> Result<usize>

Writes a buffer into this writer, returning how many bytes were written. Read more
source§

fn flush(&mut self) -> Result<()>

Flushes this output stream, ensuring that all intermediately buffered -contents reach their destination. Read more
1.36.0 · source§

fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

Like write, except that it writes from a slice of buffers. Read more
source§

fn is_write_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Writer has an efficient write_vectored -implementation. Read more
1.0.0 · source§

fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

Attempts to write an entire buffer into this writer. Read more
source§

fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

🔬This is a nightly-only experimental API. (write_all_vectored)
Attempts to write multiple buffers into this writer. Read more
1.0.0 · source§

fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

Writes a formatted string into this writer, returning any error -encountered. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where - Self: Sized,

Creates a “by reference” adapter for this instance of Write. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsSource for T
where - T: AsFd,

§

fn source(&self) -> BorrowedFd<'_>

Returns the borrowed file descriptor.
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +which indicates that no events were generated for this source Read more
source§

impl From<OwnedFd> for WritePipe

source§

fn from(owned: OwnedFd) -> Self

Converts to this type from the input type.
source§

impl From<WritePipe> for OwnedFd

source§

fn from(write_pipe: WritePipe) -> Self

Converts to this type from the input type.
source§

impl FromRawFd for WritePipe

source§

unsafe fn from_raw_fd(fd: RawFd) -> WritePipe

Constructs a new instance of Self from the given raw file +descriptor. Read more
source§

impl IntoRawFd for WritePipe

source§

fn into_raw_fd(self) -> RawFd

Consumes this object, returning the raw underlying file descriptor. Read more
source§

impl Write for WritePipe

source§

fn write(&mut self, buf: &[u8]) -> Result<usize>

Writes a buffer into this writer, returning how many bytes were written. Read more
source§

fn flush(&mut self) -> Result<()>

Flushes this output stream, ensuring that all intermediately buffered +contents reach their destination. Read more
1.36.0 · source§

fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

Like write, except that it writes from a slice of buffers. Read more
source§

fn is_write_vectored(&self) -> bool

🔬This is a nightly-only experimental API. (can_vector)
Determines if this Writer has an efficient write_vectored +implementation. Read more
1.0.0 · source§

fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

Attempts to write an entire buffer into this writer. Read more
source§

fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

🔬This is a nightly-only experimental API. (write_all_vectored)
Attempts to write multiple buffers into this writer. Read more
1.0.0 · source§

fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

Writes a formatted string into this writer, returning any error +encountered. Read more
1.0.0 · source§

fn by_ref(&mut self) -> &mut Self
where + Self: Sized,

Creates a “by reference” adapter for this instance of Write. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsSource for T
where + T: AsFd,

§

fn source(&self) -> BorrowedFd<'_>

Returns the borrowed file descriptor.
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
\ No newline at end of file +[WithDispatch] wrapper. Read more \ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/index.html b/smithay_client_toolkit/dmabuf/index.html index db0d4a1e9..cf94b0ef4 100644 --- a/smithay_client_toolkit/dmabuf/index.html +++ b/smithay_client_toolkit/dmabuf/index.html @@ -1 +1 @@ -smithay_client_toolkit::dmabuf - Rust

Module smithay_client_toolkit::dmabuf

source ·

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit

Module dmabuf

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/struct.DmabufFeedback.html b/smithay_client_toolkit/dmabuf/struct.DmabufFeedback.html index 29e395b60..00ab7e224 100644 --- a/smithay_client_toolkit/dmabuf/struct.DmabufFeedback.html +++ b/smithay_client_toolkit/dmabuf/struct.DmabufFeedback.html @@ -1,27 +1,27 @@ -DmabufFeedback in smithay_client_toolkit::dmabuf - Rust

Struct smithay_client_toolkit::dmabuf::DmabufFeedback

source ·
pub struct DmabufFeedback { /* private fields */ }
Expand description

Description of supported and preferred dmabuf formats

+DmabufFeedback in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Struct DmabufFeedback

source
pub struct DmabufFeedback { /* private fields */ }
Expand description

Description of supported and preferred dmabuf formats

Implementations§

source§

impl DmabufFeedback

source

pub fn format_table(&self) -> &[DmabufFormat]

Format/modifier pairs

source

pub fn main_device(&self) -> dev_t

dev_t value for main device. Buffers must be importable from main device.

source

pub fn tranches(&self) -> &[DmabufFeedbackTranche]

Tranches in descending order of preference

-

Trait Implementations§

source§

impl Debug for DmabufFeedback

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DmabufFeedback

source§

fn default() -> DmabufFeedback

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for DmabufFeedback

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DmabufFeedback

source§

fn default() -> DmabufFeedback

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/struct.DmabufFeedbackTranche.html b/smithay_client_toolkit/dmabuf/struct.DmabufFeedbackTranche.html index 920e2d02e..1f13745d3 100644 --- a/smithay_client_toolkit/dmabuf/struct.DmabufFeedbackTranche.html +++ b/smithay_client_toolkit/dmabuf/struct.DmabufFeedbackTranche.html @@ -1,34 +1,34 @@ -DmabufFeedbackTranche in smithay_client_toolkit::dmabuf - Rust
pub struct DmabufFeedbackTranche {
+DmabufFeedbackTranche in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Struct DmabufFeedbackTranche

source
pub struct DmabufFeedbackTranche {
     pub device: dev_t,
     pub flags: WEnum<TrancheFlags>,
-    pub formats: Vec<u16>,
+    pub formats: Vec<u16>,
 }
Expand description

A preference tranche of dmabuf formats

Fields§

§device: dev_t

dev_t value for preferred target device. May be scan-out or renderer device.

§flags: WEnum<TrancheFlags>

Flags for tranche

-
§formats: Vec<u16>

Indices of formats in the format table

-

Trait Implementations§

source§

impl Clone for DmabufFeedbackTranche

source§

fn clone(&self) -> DmabufFeedbackTranche

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DmabufFeedbackTranche

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DmabufFeedbackTranche

source§

fn default() -> DmabufFeedbackTranche

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
§formats: Vec<u16>

Indices of formats in the format table

+

Trait Implementations§

source§

impl Clone for DmabufFeedbackTranche

source§

fn clone(&self) -> DmabufFeedbackTranche

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DmabufFeedbackTranche

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DmabufFeedbackTranche

source§

fn default() -> DmabufFeedbackTranche

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/struct.DmabufFormat.html b/smithay_client_toolkit/dmabuf/struct.DmabufFormat.html index 7988e0e7a..a4ee74638 100644 --- a/smithay_client_toolkit/dmabuf/struct.DmabufFormat.html +++ b/smithay_client_toolkit/dmabuf/struct.DmabufFormat.html @@ -1,32 +1,32 @@ -DmabufFormat in smithay_client_toolkit::dmabuf - Rust

Struct smithay_client_toolkit::dmabuf::DmabufFormat

source ·
#[repr(C)]
pub struct DmabufFormat { - pub format: u32, - pub modifier: u64, +DmabufFormat in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Struct DmabufFormat

source
#[repr(C)]
pub struct DmabufFormat { + pub format: u32, + pub modifier: u64, /* private fields */ }
Expand description

A single dmabuf format/modifier pair

-

Fields§

§format: u32

Fourcc format

-
§modifier: u64

Modifier, or DRM_FORMAT_MOD_INVALID for implict modifier

-

Trait Implementations§

source§

impl Clone for DmabufFormat

source§

fn clone(&self) -> DmabufFormat

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DmabufFormat

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for DmabufFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Fields§

§format: u32

Fourcc format

+
§modifier: u64

Modifier, or DRM_FORMAT_MOD_INVALID for implict modifier

+

Trait Implementations§

source§

impl Clone for DmabufFormat

source§

fn clone(&self) -> DmabufFormat

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DmabufFormat

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for DmabufFormat

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/struct.DmabufParams.html b/smithay_client_toolkit/dmabuf/struct.DmabufParams.html index 703aac8a3..2174baf9e 100644 --- a/smithay_client_toolkit/dmabuf/struct.DmabufParams.html +++ b/smithay_client_toolkit/dmabuf/struct.DmabufParams.html @@ -1,11 +1,11 @@ -DmabufParams in smithay_client_toolkit::dmabuf - Rust

Struct smithay_client_toolkit::dmabuf::DmabufParams

source ·
pub struct DmabufParams { /* private fields */ }
Expand description

Builder for a dmabuf backed buffer

+DmabufParams in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Struct DmabufParams

source
pub struct DmabufParams { /* private fields */ }
Expand description

Builder for a dmabuf backed buffer

Implementations§

source§

impl DmabufParams

source

pub fn add( &self, - fd: BorrowedFd<'_>, - plane_idx: u32, - offset: u32, - stride: u32, - modifier: u64, + fd: BorrowedFd<'_>, + plane_idx: u32, + offset: u32, + stride: u32, + modifier: u64, )

Add a plane

In version 4, it is a protocol error if format/modifier pair wasn’t advertised as supported.

@@ -13,44 +13,44 @@ they differ.

source

pub fn create( self, - width: i32, - height: i32, - format: u32, + width: i32, + height: i32, + format: u32, flags: Flags, ) -> ZwpLinuxBufferParamsV1

Create buffer.

DmabufHandler::created or DmabufHandler::failed will be invoked when the operation succeeds or fails.

source

pub fn create_immed<D>( self, - width: i32, - height: i32, - format: u32, + width: i32, + height: i32, + format: u32, flags: Flags, qh: &QueueHandle<D>, ) -> (WlBuffer, ZwpLinuxBufferParamsV1)
where D: Dispatch<WlBuffer, DmaBufferData> + 'static,

Create buffer immediately.

On failure buffer is invalid, and server may raise protocol error or send DmabufHandler::failed.

-

Trait Implementations§

source§

impl Debug for DmabufParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for DmabufParams

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/struct.DmabufState.html b/smithay_client_toolkit/dmabuf/struct.DmabufState.html index ac4dd159b..e4191d724 100644 --- a/smithay_client_toolkit/dmabuf/struct.DmabufState.html +++ b/smithay_client_toolkit/dmabuf/struct.DmabufState.html @@ -1,72 +1,72 @@ -DmabufState in smithay_client_toolkit::dmabuf - Rust

Struct smithay_client_toolkit::dmabuf::DmabufState

source ·
pub struct DmabufState { /* private fields */ }
Expand description

A handler for [zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1]

+DmabufState in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Struct DmabufState

source
pub struct DmabufState { /* private fields */ }
Expand description

A handler for [zwp_linux_dmabuf_v1::ZwpLinuxDmabufV1]

Implementations§

source§

impl DmabufState

source

pub fn new<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
where D: Dispatch<ZwpLinuxDmabufV1, GlobalData> + 'static,

Bind zwp_linux_dmabuf_v1 global version 3 or 4, if it exists.

This does not fail if the global does not exist.

source

pub fn modifiers(&self) -> &[DmabufFormat]

Only populated in version <4

On version 4, use DmabufState::get_surface_feedback.

-
source

pub fn version(&self) -> Option<u32>

Supported protocol version, if any

+
source

pub fn version(&self) -> Option<u32>

Supported protocol version, if any

source

pub fn create_params<D>( &self, qh: &QueueHandle<D>, -) -> Result<DmabufParams, GlobalError>
where +) -> Result<DmabufParams, GlobalError>
where D: Dispatch<ZwpLinuxBufferParamsV1, GlobalData> + 'static,

Create a params object for constructing a buffer

Errors if zwp_linux_dmabuf_v1 does not exist or has unsupported version. An application can then fallback to using shm buffers.

source

pub fn get_default_feedback<D>( &self, qh: &QueueHandle<D>, -) -> Result<ZwpLinuxDmabufFeedbackV1, GlobalError>
where +) -> Result<ZwpLinuxDmabufFeedbackV1, GlobalError>
where D: Dispatch<ZwpLinuxDmabufFeedbackV1, DmabufFeedbackData> + 'static,

Get default dmabuf feedback. Requires version 4.

On version 3, use DmabufState::modifiers.

source

pub fn get_surface_feedback<D>( &self, surface: &WlSurface, qh: &QueueHandle<D>, -) -> Result<ZwpLinuxDmabufFeedbackV1, GlobalError>
where +) -> Result<ZwpLinuxDmabufFeedbackV1, GlobalError>
where D: Dispatch<ZwpLinuxDmabufFeedbackV1, DmabufFeedbackData> + 'static,

Get default dmabuf feedback for given surface. Requires version 4.

On version 3, use DmabufState::modifiers.

-

Trait Implementations§

source§

impl Debug for DmabufState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
where +

Trait Implementations§

source§

impl Debug for DmabufState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
where D: Dispatch<ZwpLinuxBufferParamsV1, GlobalData> + Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ZwpLinuxBufferParamsV1, event: Event, _: &GlobalData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<D>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
where D: Dispatch<ZwpLinuxDmabufV1, GlobalData> + DmabufHandler,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ZwpLinuxDmabufV1, event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/dmabuf/trait.DmabufHandler.html b/smithay_client_toolkit/dmabuf/trait.DmabufHandler.html index 5c05204a0..1b71613a3 100644 --- a/smithay_client_toolkit/dmabuf/trait.DmabufHandler.html +++ b/smithay_client_toolkit/dmabuf/trait.DmabufHandler.html @@ -1,4 +1,4 @@ -DmabufHandler in smithay_client_toolkit::dmabuf - Rust

Trait smithay_client_toolkit::dmabuf::DmabufHandler

source ·
pub trait DmabufHandler: Sized {
+DmabufHandler in smithay_client_toolkit::dmabuf - Rust
smithay_client_toolkit::dmabuf

Trait DmabufHandler

source
pub trait DmabufHandler: Sized {
     // Required methods
     fn dmabuf_state(&mut self) -> &mut DmabufState;
     fn dmabuf_feedback(
@@ -54,4 +54,4 @@
     qh: &QueueHandle<Self>,
     buffer: &WlBuffer,
 )

Compositor has released a wl_buffer created through DmabufParams.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/error/enum.GlobalError.html b/smithay_client_toolkit/error/enum.GlobalError.html index 0a4ecf83b..b06621d1c 100644 --- a/smithay_client_toolkit/error/enum.GlobalError.html +++ b/smithay_client_toolkit/error/enum.GlobalError.html @@ -1,34 +1,34 @@ -GlobalError in smithay_client_toolkit::error - Rust

Enum smithay_client_toolkit::error::GlobalError

source ·
pub enum GlobalError {
-    MissingGlobal(&'static str),
+GlobalError in smithay_client_toolkit::error - Rust
smithay_client_toolkit::error

Enum GlobalError

source
pub enum GlobalError {
+    MissingGlobal(&'static str),
     InvalidVersion {
-        name: &'static str,
-        required: u32,
-        available: u32,
+        name: &'static str,
+        required: u32,
+        available: u32,
     },
 }
Expand description

An error that may occur when creating objects using a global.

-

Variants§

§

MissingGlobal(&'static str)

A compositor global was not available

+

Variants§

§

MissingGlobal(&'static str)

A compositor global was not available

§

InvalidVersion

A compositor global was available, but did not support the given minimum version

-

Fields

§name: &'static str
§required: u32
§available: u32

Trait Implementations§

source§

impl Debug for GlobalError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for GlobalError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GlobalError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<GlobalError> for CreatePoolError

source§

fn from(source: GlobalError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Fields

§name: &'static str
§required: u32
§available: u32

Trait Implementations§

source§

impl Debug for GlobalError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for GlobalError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for GlobalError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<GlobalError> for CreatePoolError

source§

fn from(source: GlobalError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/error/index.html b/smithay_client_toolkit/error/index.html index 5983db835..8ccb17968 100644 --- a/smithay_client_toolkit/error/index.html +++ b/smithay_client_toolkit/error/index.html @@ -1 +1 @@ -smithay_client_toolkit::error - Rust

Module smithay_client_toolkit::error

source ·

Enums§

  • An error that may occur when creating objects using a global.
\ No newline at end of file +smithay_client_toolkit::error - Rust
smithay_client_toolkit

Module error

source

Enums§

  • An error that may occur when creating objects using a global.
\ No newline at end of file diff --git a/smithay_client_toolkit/foreign_toplevel_list/index.html b/smithay_client_toolkit/foreign_toplevel_list/index.html index 9e997cb74..84ee3e240 100644 --- a/smithay_client_toolkit/foreign_toplevel_list/index.html +++ b/smithay_client_toolkit/foreign_toplevel_list/index.html @@ -1 +1 @@ -smithay_client_toolkit::foreign_toplevel_list - Rust

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::foreign_toplevel_list - Rust
smithay_client_toolkit

Module foreign_toplevel_list

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelInfo.html b/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelInfo.html index a8153e7be..f3ec51c49 100644 --- a/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelInfo.html +++ b/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelInfo.html @@ -1,33 +1,33 @@ -ForeignToplevelInfo in smithay_client_toolkit::foreign_toplevel_list - Rust
#[non_exhaustive]
pub struct ForeignToplevelInfo { - pub title: String, - pub app_id: String, - pub identifier: String, +ForeignToplevelInfo in smithay_client_toolkit::foreign_toplevel_list - Rust
smithay_client_toolkit::foreign_toplevel_list

Struct ForeignToplevelInfo

source
#[non_exhaustive]
pub struct ForeignToplevelInfo { + pub title: String, + pub app_id: String, + pub identifier: String, }
Expand description

Information about a toplevel.

-

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§title: String

Title

-
§app_id: String

App id

-
§identifier: String

Identifier to check if two toplevel handles refer to same toplevel

-

Trait Implementations§

source§

impl Clone for ForeignToplevelInfo

source§

fn clone(&self) -> ForeignToplevelInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ForeignToplevelInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ForeignToplevelInfo

source§

fn default() -> ForeignToplevelInfo

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§title: String

Title

+
§app_id: String

App id

+
§identifier: String

Identifier to check if two toplevel handles refer to same toplevel

+

Trait Implementations§

source§

impl Clone for ForeignToplevelInfo

source§

fn clone(&self) -> ForeignToplevelInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ForeignToplevelInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ForeignToplevelInfo

source§

fn default() -> ForeignToplevelInfo

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelList.html b/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelList.html index eb041ec49..5cbd5a232 100644 --- a/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelList.html +++ b/smithay_client_toolkit/foreign_toplevel_list/struct.ForeignToplevelList.html @@ -1,42 +1,42 @@ -ForeignToplevelList in smithay_client_toolkit::foreign_toplevel_list - Rust
pub struct ForeignToplevelList { /* private fields */ }

Implementations§

source§

impl ForeignToplevelList

source

pub fn new<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
where +ForeignToplevelList in smithay_client_toolkit::foreign_toplevel_list - Rust
smithay_client_toolkit::foreign_toplevel_list

Struct ForeignToplevelList

source
pub struct ForeignToplevelList { /* private fields */ }

Implementations§

source§

impl ForeignToplevelList

source

pub fn new<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
where D: Dispatch<ExtForeignToplevelListV1, GlobalData> + 'static,

source

pub fn toplevels(&self) -> &[ExtForeignToplevelHandleV1]

Returns list of toplevels.

source

pub fn info( &self, toplevel: &ExtForeignToplevelHandleV1, -) -> Option<ForeignToplevelInfo>

Returns information about a toplevel.

+) -> Option<ForeignToplevelInfo>

Returns information about a toplevel.

This may be none if the toplevel has been destroyed or the compositor has not sent information about the toplevel yet.

-
source

pub fn stop(&self)

Trait Implementations§

source§

impl Debug for ForeignToplevelList

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
where +

source

pub fn stop(&self)

Trait Implementations§

source§

impl Debug for ForeignToplevelList

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
where D: Dispatch<ExtForeignToplevelListV1, GlobalData> + Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ExtForeignToplevelListV1, event: Event, _: &GlobalData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<D>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/foreign_toplevel_list/trait.ForeignToplevelListHandler.html b/smithay_client_toolkit/foreign_toplevel_list/trait.ForeignToplevelListHandler.html index ff1bb369c..6edc98ad5 100644 --- a/smithay_client_toolkit/foreign_toplevel_list/trait.ForeignToplevelListHandler.html +++ b/smithay_client_toolkit/foreign_toplevel_list/trait.ForeignToplevelListHandler.html @@ -1,4 +1,4 @@ -ForeignToplevelListHandler in smithay_client_toolkit::foreign_toplevel_list - Rust
pub trait ForeignToplevelListHandler: Sized {
+ForeignToplevelListHandler in smithay_client_toolkit::foreign_toplevel_list - Rust
smithay_client_toolkit::foreign_toplevel_list

Trait ForeignToplevelListHandler

source
pub trait ForeignToplevelListHandler: Sized {
     // Required methods
     fn foreign_toplevel_list_state(&mut self) -> &mut ForeignToplevelList;
     fn new_toplevel(
@@ -41,4 +41,4 @@
     qh: &QueueHandle<Self>,
     toplevel_handle: ExtForeignToplevelHandleV1,
 )

A toplevel has closed.

-

Provided Methods§

source

fn finished(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>)

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Provided Methods§

source

fn finished(&mut self, _conn: &Connection, _qh: &QueueHandle<Self>)

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/globals/index.html b/smithay_client_toolkit/globals/index.html index fc121a088..94fa6b6db 100644 --- a/smithay_client_toolkit/globals/index.html +++ b/smithay_client_toolkit/globals/index.html @@ -1 +1 @@ -smithay_client_toolkit::globals - Rust

Module smithay_client_toolkit::globals

source ·

Structs§

  • A struct used as the UserData field for globals bound by SCTK.

Traits§

\ No newline at end of file +smithay_client_toolkit::globals - Rust
smithay_client_toolkit

Module globals

source

Structs§

  • A struct used as the UserData field for globals bound by SCTK.

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/globals/struct.GlobalData.html b/smithay_client_toolkit/globals/struct.GlobalData.html index 2fc1062f7..a60930a3f 100644 --- a/smithay_client_toolkit/globals/struct.GlobalData.html +++ b/smithay_client_toolkit/globals/struct.GlobalData.html @@ -1,245 +1,245 @@ -GlobalData in smithay_client_toolkit::globals - Rust

Struct smithay_client_toolkit::globals::GlobalData

source ·
pub struct GlobalData;
Expand description

A struct used as the UserData field for globals bound by SCTK.

+GlobalData in smithay_client_toolkit::globals - Rust
smithay_client_toolkit::globals

Struct GlobalData

source
pub struct GlobalData;
Expand description

A struct used as the UserData field for globals bound by SCTK.

This is used instead of () to allow multiple Dispatch impls on the same object.

-

Trait Implementations§

source§

impl Debug for GlobalData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
where +

Trait Implementations§

source§

impl Debug for GlobalData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
where D: Dispatch<ExtForeignToplevelListV1, GlobalData> + Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ExtForeignToplevelListV1, event: Event, _: &GlobalData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<D>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
where D: Dispatch<ExtSessionLockManagerV1, GlobalData>,

source§

fn event( - _state: &mut D, + _state: &mut D, _proxy: &ExtSessionLockManagerV1, _event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
where D: Dispatch<WlCompositor, GlobalData> + CompositorHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &WlCompositor, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlDataDeviceManager, GlobalData, D> for DataDeviceManagerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlDataDeviceManager, GlobalData, D> for DataDeviceManagerState
where D: Dispatch<WlDataDeviceManager, GlobalData>,

source§

fn event( - _state: &mut D, + _state: &mut D, _proxy: &WlDataDeviceManager, _event: <WlDataDeviceManager as Proxy>::Event, _data: &GlobalData, _conn: &Connection, _qhandle: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlShm, GlobalData, D> for Shm
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlShm, GlobalData, D> for Shm
where D: Dispatch<WlShm, GlobalData> + ShmHandler,

source§

fn event( - state: &mut D, + state: &mut D, _proxy: &WlShm, event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
where D: Dispatch<WlSubcompositor, GlobalData>,

source§

fn event( - _: &mut D, + _: &mut D, _: &WlSubcompositor, _: <WlSubcompositor as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
where State: Dispatch<WpCursorShapeDeviceV1, GlobalData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &WpCursorShapeDeviceV1, _: <WpCursorShapeDeviceV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
where State: Dispatch<WpCursorShapeManagerV1, GlobalData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &WpCursorShapeManagerV1, _: <WpCursorShapeManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
where D: Dispatch<WpPresentation, GlobalData> + PresentationTimeHandler,

source§

fn event( - data: &mut D, + data: &mut D, _presentation: &WpPresentation, event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
where D: Dispatch<XdgActivationV1, GlobalData> + ActivationHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &XdgActivationV1, _: <XdgActivationV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
where D: Dispatch<XdgWmBase, GlobalData>,

source§

fn event( - _state: &mut D, + _state: &mut D, xdg_wm_base: &XdgWmBase, event: Event, _data: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
where D: Dispatch<ZwlrLayerShellV1, GlobalData> + LayerShellHandler + 'static,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZwlrLayerShellV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
where D: Dispatch<ZwpLinuxBufferParamsV1, GlobalData> + Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ZwpLinuxBufferParamsV1, event: Event, _: &GlobalData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<D>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
where D: Dispatch<ZwpLinuxDmabufV1, GlobalData> + DmabufHandler,

source§

fn event( - state: &mut D, + state: &mut D, proxy: &ZwpLinuxDmabufV1, event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
where D: Dispatch<ZwpPointerConstraintsV1, GlobalData> + PointerConstraintsHandler,

source§

fn event( - _data: &mut D, + _data: &mut D, _constraints: &ZwpPointerConstraintsV1, _event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
where D: Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData>,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZwpPrimarySelectionDeviceManagerV1, _: <ZwpPrimarySelectionDeviceManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionSourceV1, GlobalData> + PrimarySelectionSourceHandler,

source§

fn event( - state: &mut State, + state: &mut State, proxy: &ZwpPrimarySelectionSourceV1, event: <ZwpPrimarySelectionSourceV1 as Proxy>::Event, _: &GlobalData, conn: &Connection, qhandle: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
where D: Dispatch<ZwpRelativePointerManagerV1, GlobalData> + RelativePointerHandler,

source§

fn event( - _data: &mut D, + _data: &mut D, _manager: &ZwpRelativePointerManagerV1, _event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
where D: Dispatch<ZxdgDecorationManagerV1, GlobalData> + WindowHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZxdgDecorationManagerV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
where D: Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZxdgOutputManagerV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, - _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + opcode: u16, + _qhandle: &QueueHandle<State>, +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/globals/trait.ProvidesBoundGlobal.html b/smithay_client_toolkit/globals/trait.ProvidesBoundGlobal.html index 99f6064ee..5ddaf84fe 100644 --- a/smithay_client_toolkit/globals/trait.ProvidesBoundGlobal.html +++ b/smithay_client_toolkit/globals/trait.ProvidesBoundGlobal.html @@ -1,9 +1,9 @@ -ProvidesBoundGlobal in smithay_client_toolkit::globals - Rust
pub trait ProvidesBoundGlobal<I: Proxy, const API_COMPAT_VERSION: u32> {
+ProvidesBoundGlobal in smithay_client_toolkit::globals - Rust
smithay_client_toolkit::globals

Trait ProvidesBoundGlobal

source
pub trait ProvidesBoundGlobal<I: Proxy, const API_COMPAT_VERSION: u32> {
     // Required method
-    fn bound_global(&self) -> Result<I, GlobalError>;
+    fn bound_global(&self) -> Result<I, GlobalError>;
 
     // Provided method
-    fn with_min_version(&self, version: u32) -> Result<I, GlobalError> { ... }
+    fn with_min_version(&self, version: u32) -> Result<I, GlobalError> { ... }
 }
Expand description

A trait implemented by types that provide access to capability globals.

The returned global must be fully compatible with the provided API_COMPAT_VERSION generic argument. For example:

@@ -31,4 +31,4 @@ integer bounds (where API_COMPAT_VERSION >= 5), implementations of this trait should be provided by specifying a lower bound for the compat version in order to avoid requiring version updates be done in lock-step.

-

Required Methods§

Provided Methods§

source

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Implementors§

source§

impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }> for CompositorState

source§

impl ProvidesBoundGlobal<WlDataDeviceManager, 3> for DataDeviceManagerState

source§

impl ProvidesBoundGlobal<WlShm, 1> for Shm

source§

impl ProvidesBoundGlobal<XdgActivationV1, 1> for ActivationState

source§

impl ProvidesBoundGlobal<XdgWmBase, 5> for XdgShell

source§

impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }> for XdgShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 1> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 2> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 3> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 4> for LayerShell

source§

impl ProvidesBoundGlobal<ZwpPointerConstraintsV1, 1> for PointerConstraintsState

source§

impl ProvidesBoundGlobal<ZxdgDecorationManagerV1, 1> for XdgShell

source§

impl<I: Proxy + Clone, const MAX_VERSION: u32> ProvidesBoundGlobal<I, MAX_VERSION> for SimpleGlobal<I, MAX_VERSION>

\ No newline at end of file +

Required Methods§

Provided Methods§

source

fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

Implementors§

source§

impl ProvidesBoundGlobal<WlCompositor, { CompositorState::API_VERSION_MAX }> for CompositorState

source§

impl ProvidesBoundGlobal<WlDataDeviceManager, 3> for DataDeviceManagerState

source§

impl ProvidesBoundGlobal<WlShm, 1> for Shm

source§

impl ProvidesBoundGlobal<XdgActivationV1, 1> for ActivationState

source§

impl ProvidesBoundGlobal<XdgWmBase, 5> for XdgShell

source§

impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }> for XdgShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 1> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 2> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 3> for LayerShell

source§

impl ProvidesBoundGlobal<ZwlrLayerShellV1, 4> for LayerShell

source§

impl ProvidesBoundGlobal<ZwpPointerConstraintsV1, 1> for PointerConstraintsState

source§

impl ProvidesBoundGlobal<ZxdgDecorationManagerV1, 1> for XdgShell

source§

impl<I: Proxy + Clone, const MAX_VERSION: u32> ProvidesBoundGlobal<I, MAX_VERSION> for SimpleGlobal<I, MAX_VERSION>

\ No newline at end of file diff --git a/smithay_client_toolkit/index.html b/smithay_client_toolkit/index.html index e960aacb9..d0f4a257e 100644 --- a/smithay_client_toolkit/index.html +++ b/smithay_client_toolkit/index.html @@ -1 +1 @@ -smithay_client_toolkit - Rust
\ No newline at end of file +smithay_client_toolkit - Rust
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_activation.html b/smithay_client_toolkit/macro.delegate_activation.html index 2382068a8..60e1955f2 100644 --- a/smithay_client_toolkit/macro.delegate_activation.html +++ b/smithay_client_toolkit/macro.delegate_activation.html @@ -1,4 +1,4 @@ -delegate_activation in smithay_client_toolkit - Rust
macro_rules! delegate_activation {
+delegate_activation in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_activation

source
macro_rules! delegate_activation {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, $data: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_compositor.html b/smithay_client_toolkit/macro.delegate_compositor.html index 0bde5cb8f..9caa1f7a7 100644 --- a/smithay_client_toolkit/macro.delegate_compositor.html +++ b/smithay_client_toolkit/macro.delegate_compositor.html @@ -1,4 +1,4 @@ -delegate_compositor in smithay_client_toolkit - Rust
macro_rules! delegate_compositor {
+delegate_compositor in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_compositor

source
macro_rules! delegate_compositor {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, surface: [$($surface: ty),*$(,)?]) => { ... };
     (@{$($ty:tt)*}; surface: []) => { ... };
diff --git a/smithay_client_toolkit/macro.delegate_data_device.html b/smithay_client_toolkit/macro.delegate_data_device.html
index f6bae0e87..e7ace8022 100644
--- a/smithay_client_toolkit/macro.delegate_data_device.html
+++ b/smithay_client_toolkit/macro.delegate_data_device.html
@@ -1,3 +1,3 @@
-delegate_data_device in smithay_client_toolkit - Rust
macro_rules! delegate_data_device {
+delegate_data_device in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_data_device

source
macro_rules! delegate_data_device {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_dmabuf.html b/smithay_client_toolkit/macro.delegate_dmabuf.html index e2cc9694a..a54505138 100644 --- a/smithay_client_toolkit/macro.delegate_dmabuf.html +++ b/smithay_client_toolkit/macro.delegate_dmabuf.html @@ -1,3 +1,3 @@ -delegate_dmabuf in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_dmabuf

source ·
macro_rules! delegate_dmabuf {
+delegate_dmabuf in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_dmabuf

source
macro_rules! delegate_dmabuf {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_foreign_toplevel_list.html b/smithay_client_toolkit/macro.delegate_foreign_toplevel_list.html index d843cd1e4..d73974dbf 100644 --- a/smithay_client_toolkit/macro.delegate_foreign_toplevel_list.html +++ b/smithay_client_toolkit/macro.delegate_foreign_toplevel_list.html @@ -1,3 +1,3 @@ -delegate_foreign_toplevel_list in smithay_client_toolkit - Rust
macro_rules! delegate_foreign_toplevel_list {
+delegate_foreign_toplevel_list in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_foreign_toplevel_list

source
macro_rules! delegate_foreign_toplevel_list {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_keyboard.html b/smithay_client_toolkit/macro.delegate_keyboard.html index bd84b1ce9..6482497b4 100644 --- a/smithay_client_toolkit/macro.delegate_keyboard.html +++ b/smithay_client_toolkit/macro.delegate_keyboard.html @@ -1,4 +1,4 @@ -delegate_keyboard in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_keyboard

source ·
macro_rules! delegate_keyboard {
+delegate_keyboard in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_keyboard

source
macro_rules! delegate_keyboard {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, keyboard: [$($udata:ty),* $(,)?]) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_layer.html b/smithay_client_toolkit/macro.delegate_layer.html index 4588524b8..4d21d2e87 100644 --- a/smithay_client_toolkit/macro.delegate_layer.html +++ b/smithay_client_toolkit/macro.delegate_layer.html @@ -1,3 +1,3 @@ -delegate_layer in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_layer

source ·
macro_rules! delegate_layer {
+delegate_layer in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_layer

source
macro_rules! delegate_layer {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_output.html b/smithay_client_toolkit/macro.delegate_output.html index c5a43d66e..2b90dd5c4 100644 --- a/smithay_client_toolkit/macro.delegate_output.html +++ b/smithay_client_toolkit/macro.delegate_output.html @@ -1,3 +1,3 @@ -delegate_output in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_output

source ·
macro_rules! delegate_output {
+delegate_output in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_output

source
macro_rules! delegate_output {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_pointer.html b/smithay_client_toolkit/macro.delegate_pointer.html index 4ed665a35..599d42988 100644 --- a/smithay_client_toolkit/macro.delegate_pointer.html +++ b/smithay_client_toolkit/macro.delegate_pointer.html @@ -1,4 +1,4 @@ -delegate_pointer in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_pointer

source ·
macro_rules! delegate_pointer {
+delegate_pointer in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_pointer

source
macro_rules! delegate_pointer {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, pointer: [$($pointer_data:ty),* $(,)?]) => { ... };
     (@{$($ty:tt)*}; pointer: []) => { ... };
diff --git a/smithay_client_toolkit/macro.delegate_pointer_constraints.html b/smithay_client_toolkit/macro.delegate_pointer_constraints.html
index ffc10dbd7..f41d0006d 100644
--- a/smithay_client_toolkit/macro.delegate_pointer_constraints.html
+++ b/smithay_client_toolkit/macro.delegate_pointer_constraints.html
@@ -1,3 +1,3 @@
-delegate_pointer_constraints in smithay_client_toolkit - Rust
macro_rules! delegate_pointer_constraints {
+delegate_pointer_constraints in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_pointer_constraints

source
macro_rules! delegate_pointer_constraints {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_presentation_time.html b/smithay_client_toolkit/macro.delegate_presentation_time.html index 0d08f4171..4466c5e11 100644 --- a/smithay_client_toolkit/macro.delegate_presentation_time.html +++ b/smithay_client_toolkit/macro.delegate_presentation_time.html @@ -1,3 +1,3 @@ -delegate_presentation_time in smithay_client_toolkit - Rust
macro_rules! delegate_presentation_time {
+delegate_presentation_time in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_presentation_time

source
macro_rules! delegate_presentation_time {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_primary_selection.html b/smithay_client_toolkit/macro.delegate_primary_selection.html index e0d426bfa..fd9263e7c 100644 --- a/smithay_client_toolkit/macro.delegate_primary_selection.html +++ b/smithay_client_toolkit/macro.delegate_primary_selection.html @@ -1,3 +1,3 @@ -delegate_primary_selection in smithay_client_toolkit - Rust
macro_rules! delegate_primary_selection {
+delegate_primary_selection in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_primary_selection

source
macro_rules! delegate_primary_selection {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_registry.html b/smithay_client_toolkit/macro.delegate_registry.html index 08a9a9d8d..71577e836 100644 --- a/smithay_client_toolkit/macro.delegate_registry.html +++ b/smithay_client_toolkit/macro.delegate_registry.html @@ -1,4 +1,4 @@ -delegate_registry in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_registry

source ·
macro_rules! delegate_registry {
+delegate_registry in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_registry

source
macro_rules! delegate_registry {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
Expand description

Delegates the handling of [wl_registry].

Anything which implements RegistryHandler may be used in the delegate.

diff --git a/smithay_client_toolkit/macro.delegate_relative_pointer.html b/smithay_client_toolkit/macro.delegate_relative_pointer.html index 417d832e9..9b68635fa 100644 --- a/smithay_client_toolkit/macro.delegate_relative_pointer.html +++ b/smithay_client_toolkit/macro.delegate_relative_pointer.html @@ -1,3 +1,3 @@ -delegate_relative_pointer in smithay_client_toolkit - Rust
macro_rules! delegate_relative_pointer {
+delegate_relative_pointer in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_relative_pointer

source
macro_rules! delegate_relative_pointer {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_seat.html b/smithay_client_toolkit/macro.delegate_seat.html index 9cd287f38..142b66227 100644 --- a/smithay_client_toolkit/macro.delegate_seat.html +++ b/smithay_client_toolkit/macro.delegate_seat.html @@ -1,3 +1,3 @@ -delegate_seat in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_seat

source ·
macro_rules! delegate_seat {
+delegate_seat in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_seat

source
macro_rules! delegate_seat {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_session_lock.html b/smithay_client_toolkit/macro.delegate_session_lock.html index 5a734b9c6..433f5dc65 100644 --- a/smithay_client_toolkit/macro.delegate_session_lock.html +++ b/smithay_client_toolkit/macro.delegate_session_lock.html @@ -1,3 +1,3 @@ -delegate_session_lock in smithay_client_toolkit - Rust
macro_rules! delegate_session_lock {
+delegate_session_lock in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_session_lock

source
macro_rules! delegate_session_lock {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_shm.html b/smithay_client_toolkit/macro.delegate_shm.html index ebe631bc2..2df1c5b4b 100644 --- a/smithay_client_toolkit/macro.delegate_shm.html +++ b/smithay_client_toolkit/macro.delegate_shm.html @@ -1,4 +1,4 @@ -delegate_shm in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_shm

source ·
macro_rules! delegate_shm {
+delegate_shm in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_shm

source
macro_rules! delegate_shm {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
Expand description

Delegates the handling of [wl_shm] to some Shm.

This macro requires two things, the type that will delegate to Shm and a closure specifying how diff --git a/smithay_client_toolkit/macro.delegate_simple.html b/smithay_client_toolkit/macro.delegate_simple.html index 8a2971d0e..9b2bf4a28 100644 --- a/smithay_client_toolkit/macro.delegate_simple.html +++ b/smithay_client_toolkit/macro.delegate_simple.html @@ -1,3 +1,3 @@ -delegate_simple in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_simple

source ·
macro_rules! delegate_simple {
+delegate_simple in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_simple

source
macro_rules! delegate_simple {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty:ty, $iface:ty, $max:expr) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_subcompositor.html b/smithay_client_toolkit/macro.delegate_subcompositor.html index 75e519fd2..1b55b91f3 100644 --- a/smithay_client_toolkit/macro.delegate_subcompositor.html +++ b/smithay_client_toolkit/macro.delegate_subcompositor.html @@ -1,4 +1,4 @@ -delegate_subcompositor in smithay_client_toolkit - Rust
macro_rules! delegate_subcompositor {
+delegate_subcompositor in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_subcompositor

source
macro_rules! delegate_subcompositor {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, subsurface: [$($subsurface: ty),*$(,)?]) => { ... };
     (@{$($ty:tt)*}; subsurface: []) => { ... };
diff --git a/smithay_client_toolkit/macro.delegate_touch.html b/smithay_client_toolkit/macro.delegate_touch.html
index b4a138120..f49e60c14 100644
--- a/smithay_client_toolkit/macro.delegate_touch.html
+++ b/smithay_client_toolkit/macro.delegate_touch.html
@@ -1,4 +1,4 @@
-delegate_touch in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_touch

source ·
macro_rules! delegate_touch {
+delegate_touch in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_touch

source
macro_rules! delegate_touch {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty, touch: [$($td:ty),* $(,)?]) => { ... };
     (@{$($ty:tt)*}; touch: $td:ty) => { ... };
diff --git a/smithay_client_toolkit/macro.delegate_xdg_popup.html b/smithay_client_toolkit/macro.delegate_xdg_popup.html
index 35b71fb97..37ced6d50 100644
--- a/smithay_client_toolkit/macro.delegate_xdg_popup.html
+++ b/smithay_client_toolkit/macro.delegate_xdg_popup.html
@@ -1,3 +1,3 @@
-delegate_xdg_popup in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_xdg_popup

source ·
macro_rules! delegate_xdg_popup {
+delegate_xdg_popup in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_xdg_popup

source
macro_rules! delegate_xdg_popup {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_xdg_shell.html b/smithay_client_toolkit/macro.delegate_xdg_shell.html index 7669130f9..2074ec930 100644 --- a/smithay_client_toolkit/macro.delegate_xdg_shell.html +++ b/smithay_client_toolkit/macro.delegate_xdg_shell.html @@ -1,3 +1,3 @@ -delegate_xdg_shell in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::delegate_xdg_shell

source ·
macro_rules! delegate_xdg_shell {
+delegate_xdg_shell in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_xdg_shell

source
macro_rules! delegate_xdg_shell {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.delegate_xdg_window.html b/smithay_client_toolkit/macro.delegate_xdg_window.html index fd60abc68..d62958c70 100644 --- a/smithay_client_toolkit/macro.delegate_xdg_window.html +++ b/smithay_client_toolkit/macro.delegate_xdg_window.html @@ -1,3 +1,3 @@ -delegate_xdg_window in smithay_client_toolkit - Rust
macro_rules! delegate_xdg_window {
+delegate_xdg_window in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro delegate_xdg_window

source
macro_rules! delegate_xdg_window {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $ty: ty) => { ... };
 }
\ No newline at end of file diff --git a/smithay_client_toolkit/macro.registry_handlers.html b/smithay_client_toolkit/macro.registry_handlers.html index fee951608..1d3dd221a 100644 --- a/smithay_client_toolkit/macro.registry_handlers.html +++ b/smithay_client_toolkit/macro.registry_handlers.html @@ -1,4 +1,4 @@ -registry_handlers in smithay_client_toolkit - Rust

Macro smithay_client_toolkit::registry_handlers

source ·
macro_rules! registry_handlers {
+registry_handlers in smithay_client_toolkit - Rust
smithay_client_toolkit

Macro registry_handlers

source
macro_rules! registry_handlers {
     ($(@<$( $lt:tt $( : $clt:tt $(+ $dlt:tt )* )? ),+>)? $($ty:ty),* $(,)?) => { ... };
 }
Expand description

A helper macro for implementing ProvidesRegistryState.

See [delegate_registry] for an example.

diff --git a/smithay_client_toolkit/output/index.html b/smithay_client_toolkit/output/index.html index cd1d9c28d..acb2e459d 100644 --- a/smithay_client_toolkit/output/index.html +++ b/smithay_client_toolkit/output/index.html @@ -1,2 +1,2 @@ -smithay_client_toolkit::output - Rust

Module smithay_client_toolkit::output

source ·

Structs§

Traits§

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/output/struct.OutputData.html b/smithay_client_toolkit/output/struct.OutputData.html index 637218215..0b6a90ab4 100644 --- a/smithay_client_toolkit/output/struct.OutputData.html +++ b/smithay_client_toolkit/output/struct.OutputData.html @@ -1,51 +1,51 @@ -OutputData in smithay_client_toolkit::output - Rust

Struct smithay_client_toolkit::output::OutputData

source ·
pub struct OutputData(/* private fields */);

Implementations§

source§

impl OutputData

source

pub fn new(name: u32) -> OutputData

source

pub fn scale_factor(&self) -> i32

Get the output scale factor.

+OutputData in smithay_client_toolkit::output - Rust
smithay_client_toolkit::output

Struct OutputData

source
pub struct OutputData(/* private fields */);

Implementations§

source§

impl OutputData

source

pub fn new(name: u32) -> OutputData

source

pub fn scale_factor(&self) -> i32

Get the output scale factor.

source

pub fn transform(&self) -> Transform

Get the output transform.

-
source

pub fn with_output_info<T, F: FnOnce(&OutputInfo) -> T>(&self, callback: F) -> T

Access the underlying OutputInfo.

+
source

pub fn with_output_info<T, F: FnOnce(&OutputInfo) -> T>(&self, callback: F) -> T

Access the underlying OutputInfo.

Reentrant calls within the callback will deadlock.

-

Trait Implementations§

source§

impl Clone for OutputData

source§

fn clone(&self) -> OutputData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for OutputData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
where +

Trait Implementations§

source§

impl Clone for OutputData

source§

fn clone(&self) -> OutputData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for OutputData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
where D: Dispatch<WlOutput, OutputData> + OutputHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, output: &WlOutput, event: Event, data: &OutputData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
where D: Dispatch<ZxdgOutputV1, OutputData> + OutputHandler,

source§

fn event( - state: &mut D, + state: &mut D, output: &ZxdgOutputV1, event: Event, data: &OutputData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/output/struct.OutputInfo.html b/smithay_client_toolkit/output/struct.OutputInfo.html index 7f6a6f80a..4707785b9 100644 --- a/smithay_client_toolkit/output/struct.OutputInfo.html +++ b/smithay_client_toolkit/output/struct.OutputInfo.html @@ -1,76 +1,76 @@ -OutputInfo in smithay_client_toolkit::output - Rust

Struct smithay_client_toolkit::output::OutputInfo

source ·
#[non_exhaustive]
pub struct OutputInfo {
Show 13 fields - pub id: u32, - pub model: String, - pub make: String, - pub location: (i32, i32), - pub physical_size: (i32, i32), +OutputInfo in smithay_client_toolkit::output - Rust
smithay_client_toolkit::output

Struct OutputInfo

source
#[non_exhaustive]
pub struct OutputInfo {
Show 13 fields + pub id: u32, + pub model: String, + pub make: String, + pub location: (i32, i32), + pub physical_size: (i32, i32), pub subpixel: Subpixel, pub transform: Transform, - pub scale_factor: i32, - pub modes: Vec<Mode>, - pub logical_position: Option<(i32, i32)>, - pub logical_size: Option<(i32, i32)>, - pub name: Option<String>, - pub description: Option<String>, + pub scale_factor: i32, + pub modes: Vec<Mode>, + pub logical_position: Option<(i32, i32)>, + pub logical_size: Option<(i32, i32)>, + pub name: Option<String>, + pub description: Option<String>,
}
Expand description

Information about an output.

-

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§id: u32

The id of the output.

+

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§id: u32

The id of the output.

This corresponds to the global name of the wl_output.

-
§model: String

The model name of this output as advertised by the server.

-
§make: String

The make name of this output as advertised by the server.

-
§location: (i32, i32)

Location of the top-left corner of this output in compositor space.

+
§model: String

The model name of this output as advertised by the server.

+
§make: String

The make name of this output as advertised by the server.

+
§location: (i32, i32)

Location of the top-left corner of this output in compositor space.

Note that the compositor may decide to always report (0,0) if it decides clients are not allowed to know this information.

-
§physical_size: (i32, i32)

Physical dimensions of this output, in millimeters.

+
§physical_size: (i32, i32)

Physical dimensions of this output, in millimeters.

This value may be set to (0, 0) if a physical size does not make sense for the output (e.g. projectors and virtual outputs).

§subpixel: Subpixel

The subpixel layout for this output.

§transform: Transform

The current transformation applied to this output

You can pre-render your buffers taking this information into account and advertising it via wl_buffer.set_transform for better performance.

-
§scale_factor: i32

The scaling factor of this output

+
§scale_factor: i32

The scaling factor of this output

Any buffer whose scaling factor does not match the one of the output it is displayed on will be rescaled accordingly.

For example, a buffer of scaling factor 1 will be doubled in size if the output scaling factor is 2.

You can pre-render your buffers taking this information into account and advertising it via wl_surface.set_buffer_scale so you may advertise a higher detail image.

-
§modes: Vec<Mode>

Possible modes for an output.

-
§logical_position: Option<(i32, i32)>

Logical position in global compositor space

-
§logical_size: Option<(i32, i32)>

Logical size in global compositor space

-
§name: Option<String>

The name of the this output as advertised by the surface.

+
§modes: Vec<Mode>

Possible modes for an output.

+
§logical_position: Option<(i32, i32)>

Logical position in global compositor space

+
§logical_size: Option<(i32, i32)>

Logical size in global compositor space

+
§name: Option<String>

The name of the this output as advertised by the surface.

Examples of names include ‘HDMI-A-1’, ‘WL-1’, ‘X11-1’, etc. However, do not assume that the name is a reflection of an underlying DRM connector, X11 connection, etc.

-

Compositors are not required to provide a name for the output and the value may be None.

-

The name will be None if the compositor does not support version 4 of the wl-output protocol or +

Compositors are not required to provide a name for the output and the value may be None.

+

The name will be None if the compositor does not support version 4 of the wl-output protocol or version 2 of the zxdg-output-v1 protocol.

-
§description: Option<String>

The description of this output as advertised by the server

+
§description: Option<String>

The description of this output as advertised by the server

The description is a UTF-8 string with no convention defined for its contents. The description is not guaranteed to be unique among all wl_output globals. Examples might include ‘Foocorp 11“ Display’ or ‘Virtual X11 output via :1’.

-

Compositors are not required to provide a description of the output and the value may be None.

-

The value will be None if the compositor does not support version 4 of the wl-output +

Compositors are not required to provide a description of the output and the value may be None.

+

The value will be None if the compositor does not support version 4 of the wl-output protocol, version 2 of the zxdg-output-v1 protocol.

-

Trait Implementations§

source§

impl Clone for OutputInfo

source§

fn clone(&self) -> OutputInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for OutputInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for OutputInfo

source§

fn clone(&self) -> OutputInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for OutputInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/output/struct.OutputState.html b/smithay_client_toolkit/output/struct.OutputState.html index 60a0e88ac..598b5bd12 100644 --- a/smithay_client_toolkit/output/struct.OutputState.html +++ b/smithay_client_toolkit/output/struct.OutputState.html @@ -1,4 +1,4 @@ -OutputState in smithay_client_toolkit::output - Rust

Struct smithay_client_toolkit::output::OutputState

source ·
pub struct OutputState { /* private fields */ }
Expand description

A handler for delegating wl_output::WlOutput.

+OutputState in smithay_client_toolkit::output - Rust
smithay_client_toolkit::output

Struct OutputState

source
pub struct OutputState { /* private fields */ }
Expand description

A handler for delegating wl_output::WlOutput.

When implementing ProvidesRegistryState, registry_handlers! may be used to delegate all output events to an instance of this type. It will internally store the internal state of all @@ -31,79 +31,79 @@

§Example

Implementations§

source§

impl OutputState

source

pub fn new<D: Dispatch<WlOutput, OutputData> + Dispatch<ZxdgOutputV1, OutputData> + Dispatch<ZxdgOutputManagerV1, GlobalData> + 'static>( global_list: &GlobalList, qh: &QueueHandle<D>, -) -> OutputState

source

pub fn outputs(&self) -> impl Iterator<Item = WlOutput>

Returns an iterator over all outputs.

-
source

pub fn info(&self, output: &WlOutput) -> Option<OutputInfo>

Returns information about an output.

+) -> OutputState
source

pub fn outputs(&self) -> impl Iterator<Item = WlOutput>

Returns an iterator over all outputs.

+
source

pub fn info(&self, output: &WlOutput) -> Option<OutputInfo>

Returns information about an output.

This may be none if the output has been destroyed or the compositor has not sent information about the output yet.

-
source

pub fn add_scale_watcher<F, D>(data: &mut D, f: F) -> ScaleWatcherHandle
where +

source

pub fn add_scale_watcher<F, D>(data: &mut D, f: F) -> ScaleWatcherHandle
where D: OutputHandler + 'static, - F: Fn(&mut D, &Connection, &QueueHandle<D>, &WlOutput) + Send + Sync + 'static,

Trait Implementations§

source§

impl Debug for OutputState

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
where + F: Fn(&mut D, &Connection, &QueueHandle<D>, &WlOutput) + Send + Sync + 'static,

Trait Implementations§

source§

impl Debug for OutputState

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
where D: Dispatch<WlOutput, OutputData> + OutputHandler + 'static,

source§

fn event( - state: &mut D, + state: &mut D, output: &WlOutput, event: Event, data: &OutputData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
where D: Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZxdgOutputManagerV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
where D: Dispatch<ZxdgOutputV1, OutputData> + OutputHandler,

source§

fn event( - state: &mut D, + state: &mut D, output: &ZxdgOutputV1, event: Event, data: &OutputData, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> RegistryHandler<D> for OutputState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<D> RegistryHandler<D> for OutputState
where D: Dispatch<WlOutput, OutputData> + Dispatch<ZxdgOutputV1, OutputData> + Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler + ProvidesRegistryState + 'static,

source§

fn new_global( - data: &mut D, + data: &mut D, _: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, - _version: u32, + name: u32, + interface: &str, + _version: u32, )

Called when a new global has been advertised by the compositor. Read more
source§

fn remove_global( - data: &mut D, + data: &mut D, conn: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, -)

Called when a global has been destroyed by the compositor. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + name: u32, + interface: &str, +)
Called when a global has been destroyed by the compositor. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/output/struct.ScaleWatcherHandle.html b/smithay_client_toolkit/output/struct.ScaleWatcherHandle.html index 0ddc0c3aa..07f6bbac1 100644 --- a/smithay_client_toolkit/output/struct.ScaleWatcherHandle.html +++ b/smithay_client_toolkit/output/struct.ScaleWatcherHandle.html @@ -1,23 +1,23 @@ -ScaleWatcherHandle in smithay_client_toolkit::output - Rust
pub struct ScaleWatcherHandle(/* private fields */);

Trait Implementations§

source§

impl Debug for ScaleWatcherHandle

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +ScaleWatcherHandle in smithay_client_toolkit::output - Rust
smithay_client_toolkit::output

Struct ScaleWatcherHandle

source
pub struct ScaleWatcherHandle(/* private fields */);

Trait Implementations§

source§

impl Debug for ScaleWatcherHandle

source§

fn fmt(&self, fmt: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/output/trait.OutputHandler.html b/smithay_client_toolkit/output/trait.OutputHandler.html index 19b89c726..be3567860 100644 --- a/smithay_client_toolkit/output/trait.OutputHandler.html +++ b/smithay_client_toolkit/output/trait.OutputHandler.html @@ -1,4 +1,4 @@ -OutputHandler in smithay_client_toolkit::output - Rust

Trait smithay_client_toolkit::output::OutputHandler

source ·
pub trait OutputHandler: Sized {
+OutputHandler in smithay_client_toolkit::output - Rust
smithay_client_toolkit::output

Trait OutputHandler

source
pub trait OutputHandler: Sized {
     // Required methods
     fn output_state(&mut self) -> &mut OutputState;
     fn new_output(
@@ -40,4 +40,4 @@
     output: WlOutput,
 )

An output is no longer advertised.

The info passed to this function was the state of the output before destruction.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/presentation_time/index.html b/smithay_client_toolkit/presentation_time/index.html index 28b3f6a63..1efd2f707 100644 --- a/smithay_client_toolkit/presentation_time/index.html +++ b/smithay_client_toolkit/presentation_time/index.html @@ -1 +1 @@ -smithay_client_toolkit::presentation_time - Rust
\ No newline at end of file +smithay_client_toolkit::presentation_time - Rust
\ No newline at end of file diff --git a/smithay_client_toolkit/presentation_time/struct.PresentTime.html b/smithay_client_toolkit/presentation_time/struct.PresentTime.html index ce00f6931..89268fb88 100644 --- a/smithay_client_toolkit/presentation_time/struct.PresentTime.html +++ b/smithay_client_toolkit/presentation_time/struct.PresentTime.html @@ -1,27 +1,27 @@ -PresentTime in smithay_client_toolkit::presentation_time - Rust
pub struct PresentTime {
-    pub clk_id: u32,
-    pub tv_sec: u64,
-    pub tv_nsec: u32,
-}

Fields§

§clk_id: u32§tv_sec: u64§tv_nsec: u32

Trait Implementations§

source§

impl Debug for PresentTime

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +PresentTime in smithay_client_toolkit::presentation_time - Rust
smithay_client_toolkit::presentation_time

Struct PresentTime

source
pub struct PresentTime {
+    pub clk_id: u32,
+    pub tv_sec: u64,
+    pub tv_nsec: u32,
+}

Fields§

§clk_id: u32§tv_sec: u64§tv_nsec: u32

Trait Implementations§

source§

impl Debug for PresentTime

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/presentation_time/struct.PresentationTimeState.html b/smithay_client_toolkit/presentation_time/struct.PresentationTimeState.html index dc8c0d6d8..a97afe229 100644 --- a/smithay_client_toolkit/presentation_time/struct.PresentationTimeState.html +++ b/smithay_client_toolkit/presentation_time/struct.PresentationTimeState.html @@ -1,42 +1,42 @@ -PresentationTimeState in smithay_client_toolkit::presentation_time - Rust
pub struct PresentationTimeState { /* private fields */ }

Implementations§

source§

impl PresentationTimeState

source

pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
where +PresentationTimeState in smithay_client_toolkit::presentation_time - Rust
smithay_client_toolkit::presentation_time

Struct PresentationTimeState

source
pub struct PresentationTimeState { /* private fields */ }

Implementations§

source§

impl PresentationTimeState

source

pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
where D: Dispatch<WpPresentation, GlobalData> + 'static,

Bind wp_presentation global, if it exists

source

pub fn feedback<D>( &self, surface: &WlSurface, qh: &QueueHandle<D>, -) -> Result<WpPresentationFeedback, GlobalError>
where +) -> Result<WpPresentationFeedback, GlobalError>
where D: Dispatch<WpPresentationFeedback, PresentationTimeData> + 'static,

Request feedback for current submission to surface.

-

Trait Implementations§

source§

impl Debug for PresentationTimeState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
where +

Trait Implementations§

source§

impl Debug for PresentationTimeState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
where D: Dispatch<WpPresentation, GlobalData> + PresentationTimeHandler,

source§

fn event( - data: &mut D, + data: &mut D, _presentation: &WpPresentation, event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/presentation_time/trait.PresentationTimeHandler.html b/smithay_client_toolkit/presentation_time/trait.PresentationTimeHandler.html index 038f99f3a..de6663c76 100644 --- a/smithay_client_toolkit/presentation_time/trait.PresentationTimeHandler.html +++ b/smithay_client_toolkit/presentation_time/trait.PresentationTimeHandler.html @@ -1,4 +1,4 @@ -PresentationTimeHandler in smithay_client_toolkit::presentation_time - Rust
pub trait PresentationTimeHandler: Sized {
+PresentationTimeHandler in smithay_client_toolkit::presentation_time - Rust
smithay_client_toolkit::presentation_time

Trait PresentationTimeHandler

source
pub trait PresentationTimeHandler: Sized {
     // Required methods
     fn presentation_time_state(&mut self) -> &mut PresentationTimeState;
     fn presented(
@@ -7,10 +7,10 @@
         qh: &QueueHandle<Self>,
         feedback: &WpPresentationFeedback,
         surface: &WlSurface,
-        outputs: Vec<WlOutput>,
+        outputs: Vec<WlOutput>,
         time: PresentTime,
-        refresh: u32,
-        seq: u64,
+        refresh: u32,
+        seq: u64,
         flags: WEnum<Kind>,
     );
     fn discarded(
@@ -26,10 +26,10 @@
     qh: &QueueHandle<Self>,
     feedback: &WpPresentationFeedback,
     surface: &WlSurface,
-    outputs: Vec<WlOutput>,
+    outputs: Vec<WlOutput>,
     time: PresentTime,
-    refresh: u32,
-    seq: u64,
+    refresh: u32,
+    seq: u64,
     flags: WEnum<Kind>,
 )

Content update displayed to user at indicated time

source

fn discarded( @@ -39,4 +39,4 @@ feedback: &WpPresentationFeedback, surface: &WlSurface, )

Content update not displayed

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/device/index.html b/smithay_client_toolkit/primary_selection/device/index.html index bfb4441a4..ce0c0f034 100644 --- a/smithay_client_toolkit/primary_selection/device/index.html +++ b/smithay_client_toolkit/primary_selection/device/index.html @@ -1 +1 @@ -smithay_client_toolkit::primary_selection::device - Rust

Module smithay_client_toolkit::primary_selection::device

source ·

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::primary_selection::device - Rust
smithay_client_toolkit::primary_selection

Module device

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDevice.html b/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDevice.html index bceeec42a..7edd3419e 100644 --- a/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDevice.html +++ b/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDevice.html @@ -1,26 +1,26 @@ -PrimarySelectionDevice in smithay_client_toolkit::primary_selection::device - Rust
pub struct PrimarySelectionDevice { /* private fields */ }

Implementations§

source§

impl PrimarySelectionDevice

source

pub fn unset_selection(&self, serial: u32)

Remove the currently active selection.

+PrimarySelectionDevice in smithay_client_toolkit::primary_selection::device - Rust
smithay_client_toolkit::primary_selection::device

Struct PrimarySelectionDevice

source
pub struct PrimarySelectionDevice { /* private fields */ }

Implementations§

source§

impl PrimarySelectionDevice

source

pub fn unset_selection(&self, serial: u32)

Remove the currently active selection.

The passed serial is the serial of the input event.

source

pub fn data(&self) -> &PrimarySelectionDeviceData

Get the underlying data.

-
source

pub fn inner(&self) -> &ZwpPrimarySelectionDeviceV1

Trait Implementations§

source§

impl Debug for PrimarySelectionDevice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for PrimarySelectionDevice

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
source

pub fn inner(&self) -> &ZwpPrimarySelectionDeviceV1

Trait Implementations§

source§

impl Debug for PrimarySelectionDevice

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for PrimarySelectionDevice

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDeviceData.html b/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDeviceData.html index 5ae7c7b5e..8d19347e0 100644 --- a/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDeviceData.html +++ b/smithay_client_toolkit/primary_selection/device/struct.PrimarySelectionDeviceData.html @@ -1,37 +1,37 @@ -PrimarySelectionDeviceData in smithay_client_toolkit::primary_selection::device - Rust
pub struct PrimarySelectionDeviceData { /* private fields */ }
Expand description

The user data associated with the [ZwpPrimarySelectionDeviceV1].

+PrimarySelectionDeviceData in smithay_client_toolkit::primary_selection::device - Rust
smithay_client_toolkit::primary_selection::device

Struct PrimarySelectionDeviceData

source
pub struct PrimarySelectionDeviceData { /* private fields */ }
Expand description

The user data associated with the [ZwpPrimarySelectionDeviceV1].

Implementations§

source§

impl PrimarySelectionDeviceData

source

pub fn seat(&self) -> &WlSeat

The seat used to create this primary selection device.

-
source

pub fn selection_offer(&self) -> Option<PrimarySelectionOffer>

The active selection offer.

-

Trait Implementations§

source§

impl Debug for PrimarySelectionDeviceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
where +

source

pub fn selection_offer(&self) -> Option<PrimarySelectionOffer>

The active selection offer.

+

Trait Implementations§

source§

impl Debug for PrimarySelectionDeviceData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData> + Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData> + PrimarySelectionDeviceHandler + 'static,

source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( - state: &mut State, +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( + state: &mut State, proxy: &ZwpPrimarySelectionDeviceV1, event: <ZwpPrimarySelectionDeviceV1 as Proxy>::Event, data: &PrimarySelectionDeviceData, conn: &Connection, qhandle: &QueueHandle<State>, -)

Called when an event from the server is processed Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +)
Called when an event from the server is processed Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/device/trait.PrimarySelectionDeviceHandler.html b/smithay_client_toolkit/primary_selection/device/trait.PrimarySelectionDeviceHandler.html index 98335092f..eb0f7f9b0 100644 --- a/smithay_client_toolkit/primary_selection/device/trait.PrimarySelectionDeviceHandler.html +++ b/smithay_client_toolkit/primary_selection/device/trait.PrimarySelectionDeviceHandler.html @@ -1,4 +1,4 @@ -PrimarySelectionDeviceHandler in smithay_client_toolkit::primary_selection::device - Rust
pub trait PrimarySelectionDeviceHandler: Sized {
+PrimarySelectionDeviceHandler in smithay_client_toolkit::primary_selection::device - Rust
smithay_client_toolkit::primary_selection::device

Trait PrimarySelectionDeviceHandler

source
pub trait PrimarySelectionDeviceHandler: Sized {
     // Required method
     fn selection(
         &mut self,
@@ -13,4 +13,4 @@
     primary_selection_device: &ZwpPrimarySelectionDeviceV1,
 )

The new selection is received.

The given primary selection device could be used to identify PrimarySelectionDevice.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/index.html b/smithay_client_toolkit/primary_selection/index.html index 9b782bc62..7eac7731e 100644 --- a/smithay_client_toolkit/primary_selection/index.html +++ b/smithay_client_toolkit/primary_selection/index.html @@ -1 +1 @@ -smithay_client_toolkit::primary_selection - Rust
\ No newline at end of file +smithay_client_toolkit::primary_selection - Rust
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/offer/index.html b/smithay_client_toolkit/primary_selection/offer/index.html index 779ca99a4..74008476e 100644 --- a/smithay_client_toolkit/primary_selection/offer/index.html +++ b/smithay_client_toolkit/primary_selection/offer/index.html @@ -1 +1 @@ -smithay_client_toolkit::primary_selection::offer - Rust

Module smithay_client_toolkit::primary_selection::offer

source ·

Structs§

\ No newline at end of file +smithay_client_toolkit::primary_selection::offer - Rust

Structs§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOffer.html b/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOffer.html index 1ab2560ac..6038b3e11 100644 --- a/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOffer.html +++ b/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOffer.html @@ -1,6 +1,6 @@ -PrimarySelectionOffer in smithay_client_toolkit::primary_selection::offer - Rust
pub struct PrimarySelectionOffer { /* private fields */ }
Expand description

Wrapper around the [ZwpPrimarySelectionOfferV1].

-

Implementations§

source§

impl PrimarySelectionOffer

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

-
source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe>

Request to receive the data of a given mime type.

+PrimarySelectionOffer in smithay_client_toolkit::primary_selection::offer - Rust
smithay_client_toolkit::primary_selection::offer

Struct PrimarySelectionOffer

source
pub struct PrimarySelectionOffer { /* private fields */ }
Expand description

Wrapper around the [ZwpPrimarySelectionOfferV1].

+

Implementations§

source§

impl PrimarySelectionOffer

source

pub fn with_mime_types<T, F: Fn(&[String]) -> T>(&self, callback: F) -> T

Inspect the mime types available on the given offer.

+
source

pub fn receive(&self, mime_type: String) -> Result<ReadPipe>

Request to receive the data of a given mime type.

You can call this function several times.

Note that you should not read the contents right away in a blocking way, as you may deadlock your application doing so. @@ -8,32 +8,32 @@ doing so.

Fails if too many file descriptors were already open and a pipe could not be created.

-
source

pub fn receive_to_fd(&self, mime_type: String, writefd: OwnedFd)

Request to receive the data of a given mime type, writen to writefd.

+
source

pub fn receive_to_fd(&self, mime_type: String, writefd: OwnedFd)

Request to receive the data of a given mime type, writen to writefd.

The provided file destructor must be a valid FD for writing, and will be closed once the contents are written.

-

Trait Implementations§

source§

impl Clone for PrimarySelectionOffer

source§

fn clone(&self) -> PrimarySelectionOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PrimarySelectionOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for PrimarySelectionOffer

source§

fn eq(&self, other: &PrimarySelectionOffer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for PrimarySelectionOffer

source§

impl StructuralPartialEq for PrimarySelectionOffer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for PrimarySelectionOffer

source§

fn clone(&self) -> PrimarySelectionOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PrimarySelectionOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for PrimarySelectionOffer

source§

fn eq(&self, other: &PrimarySelectionOffer) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for PrimarySelectionOffer

source§

impl StructuralPartialEq for PrimarySelectionOffer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOfferData.html b/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOfferData.html index 6551e9e0b..17ff71cd4 100644 --- a/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOfferData.html +++ b/smithay_client_toolkit/primary_selection/offer/struct.PrimarySelectionOfferData.html @@ -1,35 +1,35 @@ -PrimarySelectionOfferData in smithay_client_toolkit::primary_selection::offer - Rust
pub struct PrimarySelectionOfferData { /* private fields */ }
Expand description

The data associated with the [ZwpPrimarySelectionOfferV1].

-

Trait Implementations§

source§

impl Debug for PrimarySelectionOfferData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PrimarySelectionOfferData

source§

fn default() -> PrimarySelectionOfferData

Returns the “default value” for a type. Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData, State> for PrimarySelectionManagerState
where +PrimarySelectionOfferData in smithay_client_toolkit::primary_selection::offer - Rust
smithay_client_toolkit::primary_selection::offer

Struct PrimarySelectionOfferData

source
pub struct PrimarySelectionOfferData { /* private fields */ }
Expand description

The data associated with the [ZwpPrimarySelectionOfferV1].

+

Trait Implementations§

source§

impl Debug for PrimarySelectionOfferData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PrimarySelectionOfferData

source§

fn default() -> PrimarySelectionOfferData

Returns the “default value” for a type. Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &ZwpPrimarySelectionOfferV1, event: <ZwpPrimarySelectionOfferV1 as Proxy>::Event, data: &PrimarySelectionOfferData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/selection/index.html b/smithay_client_toolkit/primary_selection/selection/index.html index 75bb0dbab..284d03f49 100644 --- a/smithay_client_toolkit/primary_selection/selection/index.html +++ b/smithay_client_toolkit/primary_selection/selection/index.html @@ -1 +1 @@ -smithay_client_toolkit::primary_selection::selection - Rust

Structs§

Traits§

\ No newline at end of file +smithay_client_toolkit::primary_selection::selection - Rust
smithay_client_toolkit::primary_selection

Module selection

source

Structs§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/selection/struct.PrimarySelectionSource.html b/smithay_client_toolkit/primary_selection/selection/struct.PrimarySelectionSource.html index 5e6323ea1..355a90a6d 100644 --- a/smithay_client_toolkit/primary_selection/selection/struct.PrimarySelectionSource.html +++ b/smithay_client_toolkit/primary_selection/selection/struct.PrimarySelectionSource.html @@ -1,27 +1,27 @@ -PrimarySelectionSource in smithay_client_toolkit::primary_selection::selection - Rust
pub struct PrimarySelectionSource { /* private fields */ }
Expand description

Wrapper around the [ZwpPrimarySelectionSourceV1].

-

Implementations§

source§

impl PrimarySelectionSource

source

pub fn set_selection(&self, device: &PrimarySelectionDevice, serial: u32)

Set the selection on the given PrimarySelectionDevice.

+PrimarySelectionSource in smithay_client_toolkit::primary_selection::selection - Rust
smithay_client_toolkit::primary_selection::selection

Struct PrimarySelectionSource

source
pub struct PrimarySelectionSource { /* private fields */ }
Expand description

Wrapper around the [ZwpPrimarySelectionSourceV1].

+

Implementations§

source§

impl PrimarySelectionSource

source

pub fn set_selection(&self, device: &PrimarySelectionDevice, serial: u32)

Set the selection on the given PrimarySelectionDevice.

source

pub fn inner(&self) -> &ZwpPrimarySelectionSourceV1

The underlying wayland object.

-

Trait Implementations§

source§

impl Debug for PrimarySelectionSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for PrimarySelectionSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for PrimarySelectionSource

source§

fn eq(&self, other: &PrimarySelectionSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Eq for PrimarySelectionSource

source§

impl StructuralPartialEq for PrimarySelectionSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for PrimarySelectionSource

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for PrimarySelectionSource

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl PartialEq for PrimarySelectionSource

source§

fn eq(&self, other: &PrimarySelectionSource) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Eq for PrimarySelectionSource

source§

impl StructuralPartialEq for PrimarySelectionSource

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/selection/trait.PrimarySelectionSourceHandler.html b/smithay_client_toolkit/primary_selection/selection/trait.PrimarySelectionSourceHandler.html index 7b8e84702..ff62ad010 100644 --- a/smithay_client_toolkit/primary_selection/selection/trait.PrimarySelectionSourceHandler.html +++ b/smithay_client_toolkit/primary_selection/selection/trait.PrimarySelectionSourceHandler.html @@ -1,11 +1,11 @@ -PrimarySelectionSourceHandler in smithay_client_toolkit::primary_selection::selection - Rust
pub trait PrimarySelectionSourceHandler: Sized {
+PrimarySelectionSourceHandler in smithay_client_toolkit::primary_selection::selection - Rust
smithay_client_toolkit::primary_selection::selection

Trait PrimarySelectionSourceHandler

source
pub trait PrimarySelectionSourceHandler: Sized {
     // Required methods
     fn send_request(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         source: &ZwpPrimarySelectionSourceV1,
-        mime: String,
+        mime: String,
         write_pipe: WritePipe,
     );
     fn cancelled(
@@ -21,7 +21,7 @@
     conn: &Connection,
     qh: &QueueHandle<Self>,
     source: &ZwpPrimarySelectionSourceV1,
-    mime: String,
+    mime: String,
     write_pipe: WritePipe,
 )

The client has requested the data for this source to be sent. Send the data, then close the fd.

@@ -32,4 +32,4 @@ source: &ZwpPrimarySelectionSourceV1, )

The data source is no longer valid Cleanup & destroy this resource

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/primary_selection/struct.PrimarySelectionManagerState.html b/smithay_client_toolkit/primary_selection/struct.PrimarySelectionManagerState.html index 8e45ac4ab..0ef6486f8 100644 --- a/smithay_client_toolkit/primary_selection/struct.PrimarySelectionManagerState.html +++ b/smithay_client_toolkit/primary_selection/struct.PrimarySelectionManagerState.html @@ -1,7 +1,7 @@ -PrimarySelectionManagerState in smithay_client_toolkit::primary_selection - Rust
pub struct PrimarySelectionManagerState { /* private fields */ }

Implementations§

source§

impl PrimarySelectionManagerState

source

pub fn bind<State>( +PrimarySelectionManagerState in smithay_client_toolkit::primary_selection - Rust
smithay_client_toolkit::primary_selection

Struct PrimarySelectionManagerState

source
pub struct PrimarySelectionManagerState { /* private fields */ }

Implementations§

source§

impl PrimarySelectionManagerState

source

pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<Self, BindError>
where +) -> Result<Self, BindError>
where State: Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, State> + 'static,

source

pub fn primary_selection_manager(&self) -> &ZwpPrimarySelectionDeviceManagerV1

The underlying wayland object.

source

pub fn create_selection_source<State, I, T>( &self, @@ -9,31 +9,31 @@ mime_types: I, ) -> PrimarySelectionSource
where State: Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> + 'static, - I: IntoIterator<Item = T>, - T: ToString,

Create a primary selection source.

+ I: IntoIterator<Item = T>, + T: ToString,

Create a primary selection source.

source

pub fn get_selection_device<State>( &self, qh: &QueueHandle<State>, seat: &WlSeat, ) -> PrimarySelectionDevice
where State: Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> + 'static,

Get the primary selection data device for the given seat.

-

Trait Implementations§

source§

impl Debug for PrimarySelectionManagerState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
where +

Trait Implementations§

source§

impl Debug for PrimarySelectionManagerState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
where D: Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData>,

source§

fn event( - _: &mut D, + _: &mut D, _: &ZwpPrimarySelectionDeviceManagerV1, _: <ZwpPrimarySelectionDeviceManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData> + Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData> + PrimarySelectionDeviceHandler + 'static,

source§

fn event_created_child( - opcode: u16, + opcode: u16, qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( - state: &mut State, +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

fn event( + state: &mut State, proxy: &ZwpPrimarySelectionDeviceV1, event: <ZwpPrimarySelectionDeviceV1 as Proxy>::Event, data: &PrimarySelectionDeviceData, @@ -41,46 +41,46 @@ qhandle: &QueueHandle<State>, )

Called when an event from the server is processed Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &ZwpPrimarySelectionOfferV1, event: <ZwpPrimarySelectionOfferV1 as Proxy>::Event, data: &PrimarySelectionOfferData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
where State: Dispatch<ZwpPrimarySelectionSourceV1, GlobalData> + PrimarySelectionSourceHandler,

source§

fn event( - state: &mut State, + state: &mut State, proxy: &ZwpPrimarySelectionSourceV1, event: <ZwpPrimarySelectionSourceV1 as Proxy>::Event, _: &GlobalData, conn: &Connection, qhandle: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl Drop for PrimarySelectionManagerState

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
source§

impl Drop for PrimarySelectionManagerState

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/reexports/index.html b/smithay_client_toolkit/reexports/index.html index 92c9d1180..ef781871b 100644 --- a/smithay_client_toolkit/reexports/index.html +++ b/smithay_client_toolkit/reexports/index.html @@ -1,2 +1,2 @@ -smithay_client_toolkit::reexports - Rust

Module smithay_client_toolkit::reexports

source ·
Expand description

Re-exports of some crates, for convenience.

+smithay_client_toolkit::reexports - Rust
smithay_client_toolkit

Module reexports

source
Expand description

Re-exports of some crates, for convenience.

Re-exports§

  • pub use calloop;
  • pub use calloop_wayland_source;
  • pub use wayland_client as client;
  • pub use wayland_csd_frame as csd_frame;
  • pub use wayland_protocols as protocols;
  • pub use wayland_protocols_wlr as protocols_wlr;
\ No newline at end of file diff --git a/smithay_client_toolkit/registry/enum.GlobalProxy.html b/smithay_client_toolkit/registry/enum.GlobalProxy.html index eba8a99a1..69d4fd3e0 100644 --- a/smithay_client_toolkit/registry/enum.GlobalProxy.html +++ b/smithay_client_toolkit/registry/enum.GlobalProxy.html @@ -1,4 +1,4 @@ -GlobalProxy in smithay_client_toolkit::registry - Rust

Enum smithay_client_toolkit::registry::GlobalProxy

source ·
pub enum GlobalProxy<I> {
+GlobalProxy in smithay_client_toolkit::registry - Rust
smithay_client_toolkit::registry

Enum GlobalProxy

source
pub enum GlobalProxy<I> {
     NotPresent,
     Bound(I),
 }
Expand description

A helper for storing a bound global.

@@ -6,32 +6,32 @@ that cache a bound global.

Variants§

§

NotPresent

The requested global was not present after a complete enumeration.

§

Bound(I)

The cached global.

-

Implementations§

source§

impl<I: Proxy> GlobalProxy<I>

source

pub fn get(&self) -> Result<&I, GlobalError>

source

pub fn with_min_version(&self, min_version: u32) -> Result<&I, GlobalError>

Trait Implementations§

source§

impl<I: Debug> Debug for GlobalProxy<I>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<I> From<Result<I, BindError>> for GlobalProxy<I>

source§

fn from(r: Result<I, BindError>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<I> Freeze for GlobalProxy<I>
where - I: Freeze,

§

impl<I> RefUnwindSafe for GlobalProxy<I>
where - I: RefUnwindSafe,

§

impl<I> Send for GlobalProxy<I>
where - I: Send,

§

impl<I> Sync for GlobalProxy<I>
where - I: Sync,

§

impl<I> Unpin for GlobalProxy<I>
where - I: Unpin,

§

impl<I> UnwindSafe for GlobalProxy<I>
where - I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Implementations§

source§

impl<I: Proxy> GlobalProxy<I>

source

pub fn get(&self) -> Result<&I, GlobalError>

source

pub fn with_min_version(&self, min_version: u32) -> Result<&I, GlobalError>

Trait Implementations§

source§

impl<I: Debug> Debug for GlobalProxy<I>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<I> From<Result<I, BindError>> for GlobalProxy<I>

source§

fn from(r: Result<I, BindError>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<I> Freeze for GlobalProxy<I>
where + I: Freeze,

§

impl<I> RefUnwindSafe for GlobalProxy<I>
where + I: RefUnwindSafe,

§

impl<I> Send for GlobalProxy<I>
where + I: Send,

§

impl<I> Sync for GlobalProxy<I>
where + I: Sync,

§

impl<I> Unpin for GlobalProxy<I>
where + I: Unpin,

§

impl<I> UnwindSafe for GlobalProxy<I>
where + I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/registry/index.html b/smithay_client_toolkit/registry/index.html index 80e1cf4ad..378e1ad01 100644 --- a/smithay_client_toolkit/registry/index.html +++ b/smithay_client_toolkit/registry/index.html @@ -1,4 +1,4 @@ -smithay_client_toolkit::registry - Rust

Module smithay_client_toolkit::registry

source ·
Expand description

Utilities for binding globals with [wl_registry] in delegates.

+smithay_client_toolkit::registry - Rust
smithay_client_toolkit

Module registry

source
Expand description

Utilities for binding globals with [wl_registry] in delegates.

This module is based around the RegistryHandler trait and RegistryState.

RegistryState provides an interface to bind globals regularly, creating an object with each new instantiation or caching bound globals to prevent duplicate object instances from being created. Binding diff --git a/smithay_client_toolkit/registry/struct.RegistryState.html b/smithay_client_toolkit/registry/struct.RegistryState.html index 8e63b798c..ca90b90c3 100644 --- a/smithay_client_toolkit/registry/struct.RegistryState.html +++ b/smithay_client_toolkit/registry/struct.RegistryState.html @@ -1,80 +1,80 @@ -RegistryState in smithay_client_toolkit::registry - Rust

Struct smithay_client_toolkit::registry::RegistryState

source ·
pub struct RegistryState { /* private fields */ }
Expand description

State object associated with the registry handling for smithay’s client toolkit.

+RegistryState in smithay_client_toolkit::registry - Rust
smithay_client_toolkit::registry

Struct RegistryState

source
pub struct RegistryState { /* private fields */ }
Expand description

State object associated with the registry handling for smithay’s client toolkit.

This object provides utilities to cache bound globals that are needed by multiple modules.

Implementations§

source§

impl RegistryState

source

pub fn new(global_list: &GlobalList) -> Self

Creates a new registry handle.

This type may be used to bind globals as they are advertised.

-
source

pub fn registry(&self) -> &WlRegistry

source

pub fn globals(&self) -> impl Iterator<Item = &Global> + '_

Returns an iterator over all globals.

+
source

pub fn registry(&self) -> &WlRegistry

source

pub fn globals(&self) -> impl Iterator<Item = &Global> + '_

Returns an iterator over all globals.

This list may change if the compositor adds or removes globals after initial enumeration.

No guarantees are provided about the ordering of the globals in this iterator.

source

pub fn globals_by_interface<'a>( &'a self, - interface: &'a str, -) -> impl Iterator<Item = &Global> + 'a

Returns an iterator over all globals implementing the given interface.

+ interface: &'a str, +) -> impl Iterator<Item = &Global> + 'a

Returns an iterator over all globals implementing the given interface.

This may be more efficient than searching Self::globals.

source

pub fn bind_one<I, D, U>( &self, qh: &QueueHandle<D>, - version: RangeInclusive<u32>, + version: RangeInclusive<u32>, udata: U, -) -> Result<I, BindError>
where +) -> Result<I, BindError>
where D: Dispatch<I, U> + 'static, I: Proxy + 'static, - U: Send + Sync + 'static,

Binds a global, returning a new object associated with the global.

+ U: Send + Sync + 'static,

Binds a global, returning a new object associated with the global.

This should not be used to bind globals that have multiple instances such as wl_output; use Self::bind_all instead.

source

pub fn bind_specific<I, D, U>( &self, qh: &QueueHandle<D>, - name: u32, - version: RangeInclusive<u32>, + name: u32, + version: RangeInclusive<u32>, udata: U, -) -> Result<I, BindError>
where +) -> Result<I, BindError>
where D: Dispatch<I, U> + 'static, I: Proxy + 'static, - U: Send + Sync + 'static,

Binds a global, returning a new object associated with the global.

+ U: Send + Sync + 'static,

Binds a global, returning a new object associated with the global.

This binds a specific object by its name as provided by the RegistryHandler::new_global callback.

source

pub fn bind_all<I, D, U, F>( &self, qh: &QueueHandle<D>, - version: RangeInclusive<u32>, + version: RangeInclusive<u32>, make_udata: F, -) -> Result<Vec<I>, BindError>
where +) -> Result<Vec<I>, BindError>
where D: Dispatch<I, U> + 'static, I: Proxy + 'static, - F: FnMut(u32) -> U, - U: Send + Sync + 'static,

Binds all globals with a given interface.

-

Trait Implementations§

source§

impl Debug for RegistryState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlRegistry, GlobalListContents, D> for RegistryState
where + F: FnMut(u32) -> U, + U: Send + Sync + 'static,

Binds all globals with a given interface.

+

Trait Implementations§

source§

impl Debug for RegistryState

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D> Dispatch<WlRegistry, GlobalListContents, D> for RegistryState
where D: Dispatch<WlRegistry, GlobalListContents> + ProvidesRegistryState,

source§

fn event( - state: &mut D, + state: &mut D, _: &WlRegistry, event: Event, _: &GlobalListContents, conn: &Connection, qh: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/registry/struct.SimpleGlobal.html b/smithay_client_toolkit/registry/struct.SimpleGlobal.html index fc5db5b4a..e262687da 100644 --- a/smithay_client_toolkit/registry/struct.SimpleGlobal.html +++ b/smithay_client_toolkit/registry/struct.SimpleGlobal.html @@ -1,45 +1,45 @@ -SimpleGlobal in smithay_client_toolkit::registry - Rust

Struct smithay_client_toolkit::registry::SimpleGlobal

source ·
pub struct SimpleGlobal<I, const MAX_VERSION: u32> { /* private fields */ }

Implementations§

source§

impl<I: Proxy + 'static, const MAX_VERSION: u32> SimpleGlobal<I, MAX_VERSION>

source

pub fn bind<State>( +SimpleGlobal in smithay_client_toolkit::registry - Rust
smithay_client_toolkit::registry

Struct SimpleGlobal

source
pub struct SimpleGlobal<I, const MAX_VERSION: u32> { /* private fields */ }

Implementations§

source§

impl<I: Proxy + 'static, const MAX_VERSION: u32> SimpleGlobal<I, MAX_VERSION>

source

pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<Self, BindError>
where - State: Dispatch<I, (), State> + 'static,

source

pub fn get(&self) -> Result<&I, GlobalError>

source

pub fn with_min_version(&self, min_version: u32) -> Result<&I, GlobalError>

Trait Implementations§

source§

impl<I: Debug, const MAX_VERSION: u32> Debug for SimpleGlobal<I, MAX_VERSION>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D, I, const MAX_VERSION: u32> Dispatch<I, (), D> for SimpleGlobal<I, MAX_VERSION>
where - D: Dispatch<I, ()>, +) -> Result<Self, BindError>
where + State: Dispatch<I, (), State> + 'static,

source

pub fn get(&self) -> Result<&I, GlobalError>

source

pub fn with_min_version(&self, min_version: u32) -> Result<&I, GlobalError>

Trait Implementations§

source§

impl<I: Debug, const MAX_VERSION: u32> Debug for SimpleGlobal<I, MAX_VERSION>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<D, I, const MAX_VERSION: u32> Dispatch<I, (), D> for SimpleGlobal<I, MAX_VERSION>
where + D: Dispatch<I, ()>, I: Proxy,

source§

fn event( - _: &mut D, - _: &I, + _: &mut D, + _: &I, _: <I as Proxy>::Event, - _: &(), + _: &(), _: &Connection, _: &QueueHandle<D>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<I: Proxy + Clone, const MAX_VERSION: u32> ProvidesBoundGlobal<I, MAX_VERSION> for SimpleGlobal<I, MAX_VERSION>

Auto Trait Implementations§

§

impl<I, const MAX_VERSION: u32> Freeze for SimpleGlobal<I, MAX_VERSION>
where - I: Freeze,

§

impl<I, const MAX_VERSION: u32> RefUnwindSafe for SimpleGlobal<I, MAX_VERSION>
where - I: RefUnwindSafe,

§

impl<I, const MAX_VERSION: u32> Send for SimpleGlobal<I, MAX_VERSION>
where - I: Send,

§

impl<I, const MAX_VERSION: u32> Sync for SimpleGlobal<I, MAX_VERSION>
where - I: Sync,

§

impl<I, const MAX_VERSION: u32> Unpin for SimpleGlobal<I, MAX_VERSION>
where - I: Unpin,

§

impl<I, const MAX_VERSION: u32> UnwindSafe for SimpleGlobal<I, MAX_VERSION>
where - I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more
source§

impl<I: Proxy + Clone, const MAX_VERSION: u32> ProvidesBoundGlobal<I, MAX_VERSION> for SimpleGlobal<I, MAX_VERSION>

Auto Trait Implementations§

§

impl<I, const MAX_VERSION: u32> Freeze for SimpleGlobal<I, MAX_VERSION>
where + I: Freeze,

§

impl<I, const MAX_VERSION: u32> RefUnwindSafe for SimpleGlobal<I, MAX_VERSION>
where + I: RefUnwindSafe,

§

impl<I, const MAX_VERSION: u32> Send for SimpleGlobal<I, MAX_VERSION>
where + I: Send,

§

impl<I, const MAX_VERSION: u32> Sync for SimpleGlobal<I, MAX_VERSION>
where + I: Sync,

§

impl<I, const MAX_VERSION: u32> Unpin for SimpleGlobal<I, MAX_VERSION>
where + I: Unpin,

§

impl<I, const MAX_VERSION: u32> UnwindSafe for SimpleGlobal<I, MAX_VERSION>
where + I: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/registry/trait.ProvidesRegistryState.html b/smithay_client_toolkit/registry/trait.ProvidesRegistryState.html index f521ea085..261b99acc 100644 --- a/smithay_client_toolkit/registry/trait.ProvidesRegistryState.html +++ b/smithay_client_toolkit/registry/trait.ProvidesRegistryState.html @@ -1,20 +1,20 @@ -ProvidesRegistryState in smithay_client_toolkit::registry - Rust
pub trait ProvidesRegistryState: Sized {
+ProvidesRegistryState in smithay_client_toolkit::registry - Rust
smithay_client_toolkit::registry

Trait ProvidesRegistryState

source
pub trait ProvidesRegistryState: Sized {
     // Required methods
     fn registry(&mut self) -> &mut RegistryState;
     fn runtime_add_global(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
-        name: u32,
-        interface: &str,
-        version: u32,
+        name: u32,
+        interface: &str,
+        version: u32,
     );
     fn runtime_remove_global(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
-        name: u32,
-        interface: &str,
+        name: u32,
+        interface: &str,
     );
 }
Expand description

Trait which asserts a data type may provide a mutable reference to the registry state.

Typically this trait will be required by delegates or RegistryHandler implementations which need @@ -24,16 +24,16 @@ &mut self, conn: &Connection, qh: &QueueHandle<Self>, - name: u32, - interface: &str, - version: u32, + name: u32, + interface: &str, + version: u32, )

Called when a new global has been advertised by the compositor.

This is not called during initial global enumeration.

source

fn runtime_remove_global( &mut self, conn: &Connection, qh: &QueueHandle<Self>, - name: u32, - interface: &str, + name: u32, + interface: &str, )

Called when a global has been destroyed by the compositor.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/registry/trait.RegistryHandler.html b/smithay_client_toolkit/registry/trait.RegistryHandler.html index 4735cafcc..4978cbe5d 100644 --- a/smithay_client_toolkit/registry/trait.RegistryHandler.html +++ b/smithay_client_toolkit/registry/trait.RegistryHandler.html @@ -1,20 +1,20 @@ -RegistryHandler in smithay_client_toolkit::registry - Rust
pub trait RegistryHandler<D>
where +RegistryHandler in smithay_client_toolkit::registry - Rust
smithay_client_toolkit::registry

Trait RegistryHandler

source
pub trait RegistryHandler<D>{
     // Provided methods
     fn new_global(
-        data: &mut D,
+        data: &mut D,
         conn: &Connection,
         qh: &QueueHandle<D>,
-        name: u32,
-        interface: &str,
-        version: u32,
+        name: u32,
+        interface: &str,
+        version: u32,
     ) { ... }
     fn remove_global(
-        data: &mut D,
+        data: &mut D,
         conn: &Connection,
         qh: &QueueHandle<D>,
-        name: u32,
-        interface: &str,
+        name: u32,
+        interface: &str,
     ) { ... }
 }
Expand description

A trait implemented by modular parts of a smithay’s client toolkit and protocol delegates that may be used to receive notification of a global being created or destroyed.

@@ -23,25 +23,25 @@

Note that in order to delegate registry handling to a type which implements this trait, your D data type must implement ProvidesRegistryState.

Provided Methods§

source

fn new_global( - data: &mut D, + data: &mut D, conn: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, - version: u32, + name: u32, + interface: &str, + version: u32, )

Called when a new global has been advertised by the compositor.

The provided registry handle may be used to bind the global. This is not called during initial enumeration of globals. It is primarily useful for multi-instance globals such as wl_output and wl_seat.

The default implementation does nothing.

source

fn remove_global( - data: &mut D, + data: &mut D, conn: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, + name: u32, + interface: &str, )

Called when a global has been destroyed by the compositor.

The default implementation does nothing.

-

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<D> RegistryHandler<D> for OutputState
where +

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<D> RegistryHandler<D> for OutputState
where D: Dispatch<WlOutput, OutputData> + Dispatch<ZxdgOutputV1, OutputData> + Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler + ProvidesRegistryState + 'static,

source§

impl<D> RegistryHandler<D> for SeatState
where D: Dispatch<WlSeat, SeatData> + SeatHandler + ProvidesRegistryState + 'static,

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/enum.Capability.html b/smithay_client_toolkit/seat/enum.Capability.html index 852c9581e..0c0bce3dd 100644 --- a/smithay_client_toolkit/seat/enum.Capability.html +++ b/smithay_client_toolkit/seat/enum.Capability.html @@ -1,31 +1,31 @@ -Capability in smithay_client_toolkit::seat - Rust

Enum smithay_client_toolkit::seat::Capability

source ·
#[non_exhaustive]
pub enum Capability { +Capability in smithay_client_toolkit::seat - Rust
smithay_client_toolkit::seat

Enum Capability

source
#[non_exhaustive]
pub enum Capability { Keyboard, Pointer, Touch, -}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Keyboard

§

Pointer

§

Touch

Trait Implementations§

source§

impl Clone for Capability

source§

fn clone(&self) -> Capability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Capability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Capability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Capability

source§

fn eq(&self, other: &Capability) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for Capability

source§

impl Eq for Capability

source§

impl StructuralPartialEq for Capability

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +}

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Keyboard

§

Pointer

§

Touch

Trait Implementations§

source§

impl Clone for Capability

source§

fn clone(&self) -> Capability

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Capability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Capability

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Capability

source§

fn eq(&self, other: &Capability) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for Capability

source§

impl Eq for Capability

source§

impl StructuralPartialEq for Capability

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/enum.SeatError.html b/smithay_client_toolkit/seat/enum.SeatError.html index b6ee0811f..c42e1f21e 100644 --- a/smithay_client_toolkit/seat/enum.SeatError.html +++ b/smithay_client_toolkit/seat/enum.SeatError.html @@ -1,29 +1,29 @@ -SeatError in smithay_client_toolkit::seat - Rust

Enum smithay_client_toolkit::seat::SeatError

source ·
pub enum SeatError {
+SeatError in smithay_client_toolkit::seat - Rust
smithay_client_toolkit::seat

Enum SeatError

source
pub enum SeatError {
     UnsupportedCapability(Capability),
     DeadObject,
 }

Variants§

§

UnsupportedCapability(Capability)

The capability is not supported.

§

DeadObject

The seat is dead.

-

Trait Implementations§

source§

impl Debug for SeatError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SeatError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SeatError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<SeatError> for KeyboardError

source§

fn from(source: SeatError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for SeatError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for SeatError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for SeatError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<SeatError> for KeyboardError

source§

fn from(source: SeatError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/index.html b/smithay_client_toolkit/seat/index.html index fd5c324e4..03eeb9ee8 100644 --- a/smithay_client_toolkit/seat/index.html +++ b/smithay_client_toolkit/seat/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat - Rust
\ No newline at end of file +smithay_client_toolkit::seat - Rust
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/enum.KeyboardError.html b/smithay_client_toolkit/seat/keyboard/enum.KeyboardError.html index 2ca4f8080..7c9f53ed5 100644 --- a/smithay_client_toolkit/seat/keyboard/enum.KeyboardError.html +++ b/smithay_client_toolkit/seat/keyboard/enum.KeyboardError.html @@ -1,30 +1,30 @@ -KeyboardError in smithay_client_toolkit::seat::keyboard - Rust
pub enum KeyboardError {
+KeyboardError in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Enum KeyboardError

source
pub enum KeyboardError {
     Seat(SeatError),
     InvalidKeymap,
 }
Expand description

Error when creating a keyboard.

Variants§

§

Seat(SeatError)

Seat error.

§

InvalidKeymap

The specified keymap (RMLVO) is not valid.

-

Trait Implementations§

source§

impl Debug for KeyboardError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for KeyboardError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for KeyboardError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<SeatError> for KeyboardError

source§

fn from(source: SeatError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for KeyboardError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for KeyboardError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for KeyboardError

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
source§

impl From<SeatError> for KeyboardError

source§

fn from(source: SeatError) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/enum.RepeatInfo.html b/smithay_client_toolkit/seat/keyboard/enum.RepeatInfo.html index 764103bf9..d1febafed 100644 --- a/smithay_client_toolkit/seat/keyboard/enum.RepeatInfo.html +++ b/smithay_client_toolkit/seat/keyboard/enum.RepeatInfo.html @@ -1,36 +1,36 @@ -RepeatInfo in smithay_client_toolkit::seat::keyboard - Rust

Enum smithay_client_toolkit::seat::keyboard::RepeatInfo

source ·
pub enum RepeatInfo {
+RepeatInfo in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Enum RepeatInfo

source
pub enum RepeatInfo {
     Repeat {
-        rate: NonZeroU32,
-        delay: u32,
+        rate: NonZeroU32,
+        delay: u32,
     },
     Disable,
 }
Expand description

The rate at which a pressed key is repeated.

Variants§

§

Repeat

Keys will be repeated at the specified rate and delay.

-

Fields

§rate: NonZeroU32

The number of repetitions per second that should occur.

-
§delay: u32

Delay (in milliseconds) between a key press and the start of repetition.

+

Fields

§rate: NonZeroU32

The number of repetitions per second that should occur.

+
§delay: u32

Delay (in milliseconds) between a key press and the start of repetition.

§

Disable

Keys should not be repeated.

-

Trait Implementations§

source§

impl Clone for RepeatInfo

source§

fn clone(&self) -> RepeatInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RepeatInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for RepeatInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Clone for RepeatInfo

source§

fn clone(&self) -> RepeatInfo

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RepeatInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for RepeatInfo

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/index.html b/smithay_client_toolkit/seat/keyboard/index.html index 85c6eeec6..d0a08b2ac 100644 --- a/smithay_client_toolkit/seat/keyboard/index.html +++ b/smithay_client_toolkit/seat/keyboard/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::keyboard - Rust

Module smithay_client_toolkit::seat::keyboard

source ·

Modules§

Structs§

  • The keyboard code, often corresponding to a physical key.
  • Data associated with a key press or release event.
  • Wrapper around a libxkbcommon keymap
  • The keyboard symbol, often corresponding to a character.
  • The state of keyboard modifiers
  • The RMLVO description of a keymap
  • State of keyboard modifiers, in raw form sent by compositor.

Enums§

Traits§

\ No newline at end of file +smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat

Module keyboard

source

Modules§

Structs§

  • The keyboard code, often corresponding to a physical key.
  • Data associated with a key press or release event.
  • Wrapper around a libxkbcommon keymap
  • The keyboard symbol, often corresponding to a character.
  • The state of keyboard modifiers
  • The RMLVO description of a keymap
  • State of keyboard modifiers, in raw form sent by compositor.

Enums§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/repeat/index.html b/smithay_client_toolkit/seat/keyboard/repeat/index.html index 269c8b890..836ed2c5b 100644 --- a/smithay_client_toolkit/seat/keyboard/repeat/index.html +++ b/smithay_client_toolkit/seat/keyboard/repeat/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::keyboard::repeat - Rust

Module smithay_client_toolkit::seat::keyboard::repeat

source ·

Type Aliases§

\ No newline at end of file +smithay_client_toolkit::seat::keyboard::repeat - Rust
smithay_client_toolkit::seat::keyboard

Module repeat

source

Type Aliases§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/repeat/type.RepeatCallback.html b/smithay_client_toolkit/seat/keyboard/repeat/type.RepeatCallback.html index c1c4e6160..aeb5992c0 100644 --- a/smithay_client_toolkit/seat/keyboard/repeat/type.RepeatCallback.html +++ b/smithay_client_toolkit/seat/keyboard/repeat/type.RepeatCallback.html @@ -1 +1 @@ -RepeatCallback in smithay_client_toolkit::seat::keyboard::repeat - Rust

Type Alias smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback

source ·
pub type RepeatCallback<T> = Box<dyn FnMut(&mut T, &WlKeyboard, KeyEvent) + 'static>;

Aliased Type§

struct RepeatCallback<T>(/* private fields */);
\ No newline at end of file +RepeatCallback in smithay_client_toolkit::seat::keyboard::repeat - Rust
smithay_client_toolkit::seat::keyboard::repeat

Type Alias RepeatCallback

source
pub type RepeatCallback<T> = Box<dyn FnMut(&mut T, &WlKeyboard, KeyEvent) + 'static>;

Aliased Type§

struct RepeatCallback<T>(/* private fields */);
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.KeyCode.html b/smithay_client_toolkit/seat/keyboard/struct.KeyCode.html index b4aabc0ab..bde238bcb 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.KeyCode.html +++ b/smithay_client_toolkit/seat/keyboard/struct.KeyCode.html @@ -1,45 +1,45 @@ -KeyCode in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::KeyCode

pub struct KeyCode(/* private fields */);
Expand description

The keyboard code, often corresponding to a physical key.

+KeyCode in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct KeyCode

pub struct KeyCode(/* private fields */);
Expand description

The keyboard code, often corresponding to a physical key.

Keyboard events usually return this type directly, and leave it to be the responsibility of the user to convert it to a keyboard symbol.

-

Implementations§

§

impl KeyCode

pub const fn new(raw: u32) -> KeyCode

Create a new KeyCode from a raw keyboard code.

-

pub const fn raw(self) -> u32

Get the raw keyboard code.

-

Trait Implementations§

§

impl Clone for KeyCode

§

fn clone(&self) -> KeyCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for KeyCode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for KeyCode

§

fn default() -> KeyCode

Returns the “default value” for a type. Read more
§

impl From<u16> for KeyCode

§

fn from(raw: u16) -> KeyCode

Converts to this type from the input type.
§

impl From<u32> for KeyCode

§

fn from(raw: u32) -> KeyCode

Converts to this type from the input type.
§

impl From<u8> for KeyCode

§

fn from(raw: u8) -> KeyCode

Converts to this type from the input type.
§

impl Hash for KeyCode

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

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

impl Ord for KeyCode

§

fn cmp(&self, other: &KeyCode) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for KeyCode

§

fn eq(&self, other: &KeyCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for KeyCode

§

fn partial_cmp(&self, other: &KeyCode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Zeroable for KeyCode

§

fn zeroed() -> Self

§

impl Copy for KeyCode

§

impl Eq for KeyCode

§

impl Pod for KeyCode

§

impl StructuralPartialEq for KeyCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedBitPattern for T
where +

Implementations§

§

impl KeyCode

pub const fn new(raw: u32) -> KeyCode

Create a new KeyCode from a raw keyboard code.

+

pub const fn raw(self) -> u32

Get the raw keyboard code.

+

Trait Implementations§

§

impl Clone for KeyCode

§

fn clone(&self) -> KeyCode

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for KeyCode

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for KeyCode

§

fn default() -> KeyCode

Returns the “default value” for a type. Read more
§

impl From<u16> for KeyCode

§

fn from(raw: u16) -> KeyCode

Converts to this type from the input type.
§

impl From<u32> for KeyCode

§

fn from(raw: u32) -> KeyCode

Converts to this type from the input type.
§

impl From<u8> for KeyCode

§

fn from(raw: u8) -> KeyCode

Converts to this type from the input type.
§

impl Hash for KeyCode

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

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

impl Ord for KeyCode

§

fn cmp(&self, other: &KeyCode) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for KeyCode

§

fn eq(&self, other: &KeyCode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for KeyCode

§

fn partial_cmp(&self, other: &KeyCode) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Zeroable for KeyCode

§

fn zeroed() -> Self

§

impl Copy for KeyCode

§

impl Eq for KeyCode

§

impl Pod for KeyCode

§

impl StructuralPartialEq for KeyCode

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during -is_valid_bit_pattern.
§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits -as &Self.
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +is_valid_bit_pattern.
§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits +as &Self.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> AnyBitPattern for T
where T: Pod,

§

impl<T> NoUninit for T
where diff --git a/smithay_client_toolkit/seat/keyboard/struct.KeyEvent.html b/smithay_client_toolkit/seat/keyboard/struct.KeyEvent.html index d8c85df9d..9f20bc935 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.KeyEvent.html +++ b/smithay_client_toolkit/seat/keyboard/struct.KeyEvent.html @@ -1,37 +1,37 @@ -KeyEvent in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::KeyEvent

source ·
pub struct KeyEvent {
-    pub time: u32,
-    pub raw_code: u32,
+KeyEvent in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct KeyEvent

source
pub struct KeyEvent {
+    pub time: u32,
+    pub raw_code: u32,
     pub keysym: Keysym,
-    pub utf8: Option<String>,
+    pub utf8: Option<String>,
 }
Expand description

Data associated with a key press or release event.

-

Fields§

§time: u32

Time at which the keypress occurred.

-
§raw_code: u32

The raw value of the key.

+

Fields§

§time: u32

Time at which the keypress occurred.

+
§raw_code: u32

The raw value of the key.

§keysym: Keysym

The interpreted symbol of the key.

This corresponds to one of the assoiated values on the Keysym type.

-
§utf8: Option<String>

UTF-8 interpretation of the entered text.

-

This will always be None on release events.

-

Trait Implementations§

source§

impl Clone for KeyEvent

source§

fn clone(&self) -> KeyEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for KeyEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
§utf8: Option<String>

UTF-8 interpretation of the entered text.

+

This will always be None on release events.

+

Trait Implementations§

source§

impl Clone for KeyEvent

source§

fn clone(&self) -> KeyEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for KeyEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.KeyboardData.html b/smithay_client_toolkit/seat/keyboard/struct.KeyboardData.html index 7de10a258..ca3a06e6b 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.KeyboardData.html +++ b/smithay_client_toolkit/seat/keyboard/struct.KeyboardData.html @@ -1,25 +1,25 @@ -KeyboardData in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::KeyboardData

source ·
pub struct KeyboardData<T> { /* private fields */ }

Implementations§

source§

impl<T> KeyboardData<T>

source

pub fn new(seat: WlSeat) -> Self

source

pub fn seat(&self) -> &WlSeat

source

pub fn from_rmlvo(seat: WlSeat, rmlvo: RMLVO) -> Result<Self, KeyboardError>

Trait Implementations§

source§

impl<T> Debug for KeyboardData<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: 'static> KeyboardDataExt for KeyboardData<T>

source§

type State = T

The type of the user defined state

-
source§

fn keyboard_data(&self) -> &KeyboardData<T>

source§

fn keyboard_data_mut(&mut self) -> &mut KeyboardData<T>

source§

impl<T> Send for KeyboardData<T>

source§

impl<T> Sync for KeyboardData<T>

Auto Trait Implementations§

§

impl<T> !Freeze for KeyboardData<T>

§

impl<T> !RefUnwindSafe for KeyboardData<T>

§

impl<T> Unpin for KeyboardData<T>
where - T: Unpin,

§

impl<T> !UnwindSafe for KeyboardData<T>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +KeyboardData in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct KeyboardData

source
pub struct KeyboardData<T> { /* private fields */ }

Implementations§

source§

impl<T> KeyboardData<T>

source

pub fn new(seat: WlSeat) -> Self

source

pub fn seat(&self) -> &WlSeat

source

pub fn from_rmlvo(seat: WlSeat, rmlvo: RMLVO) -> Result<Self, KeyboardError>

Trait Implementations§

source§

impl<T> Debug for KeyboardData<T>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<T: 'static> KeyboardDataExt for KeyboardData<T>

source§

type State = T

The type of the user defined state

+
source§

fn keyboard_data(&self) -> &KeyboardData<T>

source§

fn keyboard_data_mut(&mut self) -> &mut KeyboardData<T>

source§

impl<T> Send for KeyboardData<T>

source§

impl<T> Sync for KeyboardData<T>

Auto Trait Implementations§

§

impl<T> !Freeze for KeyboardData<T>

§

impl<T> !RefUnwindSafe for KeyboardData<T>

§

impl<T> Unpin for KeyboardData<T>
where + T: Unpin,

§

impl<T> !UnwindSafe for KeyboardData<T>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.Keymap.html b/smithay_client_toolkit/seat/keyboard/struct.Keymap.html index 9d430e4b5..e9879de18 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.Keymap.html +++ b/smithay_client_toolkit/seat/keyboard/struct.Keymap.html @@ -1,23 +1,23 @@ -Keymap in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::Keymap

source ·
pub struct Keymap<'a>(/* private fields */);
Expand description

Wrapper around a libxkbcommon keymap

-

Implementations§

source§

impl<'a> Keymap<'a>

source

pub fn as_string(&self) -> String

Get keymap as string in text format. The keymap should always be valid.

-

Auto Trait Implementations§

§

impl<'a> Freeze for Keymap<'a>

§

impl<'a> RefUnwindSafe for Keymap<'a>

§

impl<'a> !Send for Keymap<'a>

§

impl<'a> !Sync for Keymap<'a>

§

impl<'a> Unpin for Keymap<'a>

§

impl<'a> UnwindSafe for Keymap<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &mut Any’s vtable from &mut Trait’s.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+Keymap in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct Keymap

source
pub struct Keymap<'a>(/* private fields */);
Expand description

Wrapper around a libxkbcommon keymap

+

Implementations§

source§

impl<'a> Keymap<'a>

source

pub fn as_string(&self) -> String

Get keymap as string in text format. The keymap should always be valid.

+

Auto Trait Implementations§

§

impl<'a> Freeze for Keymap<'a>

§

impl<'a> RefUnwindSafe for Keymap<'a>

§

impl<'a> !Send for Keymap<'a>

§

impl<'a> !Sync for Keymap<'a>

§

impl<'a> Unpin for Keymap<'a>

§

impl<'a> UnwindSafe for Keymap<'a>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &mut Any’s vtable from &mut Trait’s.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.Keysym.html b/smithay_client_toolkit/seat/keyboard/struct.Keysym.html index bf0940255..5140d7e4f 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.Keysym.html +++ b/smithay_client_toolkit/seat/keyboard/struct.Keysym.html @@ -1,57 +1,57 @@ -Keysym in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::Keysym

pub struct Keysym(/* private fields */);
Expand description

The keyboard symbol, often corresponding to a character.

+Keysym in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct Keysym

pub struct Keysym(/* private fields */);
Expand description

The keyboard symbol, often corresponding to a character.

Implementations§

§

impl Keysym

pub const NoSymbol: Keysym = _

The “empty” keyboard symbol.

-

pub const VoidSymbol: Keysym = _

pub const BackSpace: Keysym = _

pub const Tab: Keysym = _

pub const Linefeed: Keysym = _

pub const Clear: Keysym = _

pub const Return: Keysym = _

pub const Pause: Keysym = _

pub const Scroll_Lock: Keysym = _

pub const Sys_Req: Keysym = _

pub const Escape: Keysym = _

pub const Delete: Keysym = _

pub const Multi_key: Keysym = _

pub const Codeinput: Keysym = _

pub const SingleCandidate: Keysym = _

pub const MultipleCandidate: Keysym = _

pub const PreviousCandidate: Keysym = _

pub const Kanji: Keysym = _

pub const Muhenkan: Keysym = _

pub const Henkan_Mode: Keysym = _

pub const Henkan: Keysym = _

pub const Romaji: Keysym = _

pub const Hiragana: Keysym = _

pub const Katakana: Keysym = _

pub const Hiragana_Katakana: Keysym = _

pub const Zenkaku: Keysym = _

pub const Hankaku: Keysym = _

pub const Zenkaku_Hankaku: Keysym = _

pub const Touroku: Keysym = _

pub const Massyo: Keysym = _

pub const Kana_Lock: Keysym = _

pub const Kana_Shift: Keysym = _

pub const Eisu_Shift: Keysym = _

pub const Eisu_toggle: Keysym = _

pub const Kanji_Bangou: Keysym = _

pub const Zen_Koho: Keysym = _

pub const Mae_Koho: Keysym = _

pub const Home: Keysym = _

pub const Left: Keysym = _

pub const Up: Keysym = _

pub const Right: Keysym = _

pub const Down: Keysym = _

pub const Prior: Keysym = _

pub const Page_Up: Keysym = _

pub const Next: Keysym = _

pub const Page_Down: Keysym = _

pub const End: Keysym = _

pub const Begin: Keysym = _

pub const Select: Keysym = _

pub const Print: Keysym = _

pub const Execute: Keysym = _

pub const Insert: Keysym = _

pub const Undo: Keysym = _

pub const Redo: Keysym = _

pub const Menu: Keysym = _

pub const Find: Keysym = _

pub const Cancel: Keysym = _

pub const Help: Keysym = _

pub const Break: Keysym = _

pub const Mode_switch: Keysym = _

pub const script_switch: Keysym = _

pub const Num_Lock: Keysym = _

pub const KP_Space: Keysym = _

pub const KP_Tab: Keysym = _

pub const KP_Enter: Keysym = _

pub const KP_F1: Keysym = _

pub const KP_F2: Keysym = _

pub const KP_F3: Keysym = _

pub const KP_F4: Keysym = _

pub const KP_Home: Keysym = _

pub const KP_Left: Keysym = _

pub const KP_Up: Keysym = _

pub const KP_Right: Keysym = _

pub const KP_Down: Keysym = _

pub const KP_Prior: Keysym = _

pub const KP_Page_Up: Keysym = _

pub const KP_Next: Keysym = _

pub const KP_Page_Down: Keysym = _

pub const KP_End: Keysym = _

pub const KP_Begin: Keysym = _

pub const KP_Insert: Keysym = _

pub const KP_Delete: Keysym = _

pub const KP_Equal: Keysym = _

pub const KP_Multiply: Keysym = _

pub const KP_Add: Keysym = _

pub const KP_Separator: Keysym = _

pub const KP_Subtract: Keysym = _

pub const KP_Decimal: Keysym = _

pub const KP_Divide: Keysym = _

pub const KP_0: Keysym = _

pub const KP_1: Keysym = _

pub const KP_2: Keysym = _

pub const KP_3: Keysym = _

pub const KP_4: Keysym = _

pub const KP_5: Keysym = _

pub const KP_6: Keysym = _

pub const KP_7: Keysym = _

pub const KP_8: Keysym = _

pub const KP_9: Keysym = _

pub const F1: Keysym = _

pub const F2: Keysym = _

pub const F3: Keysym = _

pub const F4: Keysym = _

pub const F5: Keysym = _

pub const F6: Keysym = _

pub const F7: Keysym = _

pub const F8: Keysym = _

pub const F9: Keysym = _

pub const F10: Keysym = _

pub const F11: Keysym = _

pub const L1: Keysym = _

pub const F12: Keysym = _

pub const L2: Keysym = _

pub const F13: Keysym = _

pub const L3: Keysym = _

pub const F14: Keysym = _

pub const L4: Keysym = _

pub const F15: Keysym = _

pub const L5: Keysym = _

pub const F16: Keysym = _

pub const L6: Keysym = _

pub const F17: Keysym = _

pub const L7: Keysym = _

pub const F18: Keysym = _

pub const L8: Keysym = _

pub const F19: Keysym = _

pub const L9: Keysym = _

pub const F20: Keysym = _

pub const L10: Keysym = _

pub const F21: Keysym = _

pub const R1: Keysym = _

pub const F22: Keysym = _

pub const R2: Keysym = _

pub const F23: Keysym = _

pub const R3: Keysym = _

pub const F24: Keysym = _

pub const R4: Keysym = _

pub const F25: Keysym = _

pub const R5: Keysym = _

pub const F26: Keysym = _

pub const R6: Keysym = _

pub const F27: Keysym = _

pub const R7: Keysym = _

pub const F28: Keysym = _

pub const R8: Keysym = _

pub const F29: Keysym = _

pub const R9: Keysym = _

pub const F30: Keysym = _

pub const R10: Keysym = _

pub const F31: Keysym = _

pub const R11: Keysym = _

pub const F32: Keysym = _

pub const R12: Keysym = _

pub const F33: Keysym = _

pub const R13: Keysym = _

pub const F34: Keysym = _

pub const R14: Keysym = _

pub const F35: Keysym = _

pub const R15: Keysym = _

pub const Shift_L: Keysym = _

pub const Shift_R: Keysym = _

pub const Control_L: Keysym = _

pub const Control_R: Keysym = _

pub const Caps_Lock: Keysym = _

pub const Shift_Lock: Keysym = _

pub const Meta_L: Keysym = _

pub const Meta_R: Keysym = _

pub const Alt_L: Keysym = _

pub const Alt_R: Keysym = _

pub const Super_L: Keysym = _

pub const Super_R: Keysym = _

pub const Hyper_L: Keysym = _

pub const Hyper_R: Keysym = _

pub const ISO_Lock: Keysym = _

pub const ISO_Level2_Latch: Keysym = _

pub const ISO_Level3_Shift: Keysym = _

pub const ISO_Level3_Latch: Keysym = _

pub const ISO_Level3_Lock: Keysym = _

pub const ISO_Level5_Shift: Keysym = _

pub const ISO_Level5_Latch: Keysym = _

pub const ISO_Level5_Lock: Keysym = _

pub const ISO_Group_Shift: Keysym = _

pub const ISO_Group_Latch: Keysym = _

pub const ISO_Group_Lock: Keysym = _

pub const ISO_Next_Group: Keysym = _

pub const ISO_Next_Group_Lock: Keysym = _

pub const ISO_Prev_Group: Keysym = _

pub const ISO_Prev_Group_Lock: Keysym = _

pub const ISO_First_Group: Keysym = _

pub const ISO_First_Group_Lock: Keysym = _

pub const ISO_Last_Group: Keysym = _

pub const ISO_Last_Group_Lock: Keysym = _

pub const ISO_Left_Tab: Keysym = _

pub const ISO_Move_Line_Up: Keysym = _

pub const ISO_Move_Line_Down: Keysym = _

pub const ISO_Partial_Line_Up: Keysym = _

pub const ISO_Partial_Line_Down: Keysym = _

pub const ISO_Partial_Space_Left: Keysym = _

pub const ISO_Partial_Space_Right: Keysym = _

pub const ISO_Set_Margin_Left: Keysym = _

pub const ISO_Set_Margin_Right: Keysym = _

pub const ISO_Release_Margin_Left: Keysym = _

pub const ISO_Release_Margin_Right: Keysym = _

pub const ISO_Release_Both_Margins: Keysym = _

pub const ISO_Fast_Cursor_Left: Keysym = _

pub const ISO_Fast_Cursor_Right: Keysym = _

pub const ISO_Fast_Cursor_Up: Keysym = _

pub const ISO_Fast_Cursor_Down: Keysym = _

pub const ISO_Continuous_Underline: Keysym = _

pub const ISO_Discontinuous_Underline: Keysym = _

pub const ISO_Emphasize: Keysym = _

pub const ISO_Center_Object: Keysym = _

pub const ISO_Enter: Keysym = _

pub const dead_grave: Keysym = _

pub const dead_acute: Keysym = _

pub const dead_circumflex: Keysym = _

pub const dead_tilde: Keysym = _

pub const dead_perispomeni: Keysym = _

pub const dead_macron: Keysym = _

pub const dead_breve: Keysym = _

pub const dead_abovedot: Keysym = _

pub const dead_diaeresis: Keysym = _

pub const dead_abovering: Keysym = _

pub const dead_doubleacute: Keysym = _

pub const dead_caron: Keysym = _

pub const dead_cedilla: Keysym = _

pub const dead_ogonek: Keysym = _

pub const dead_iota: Keysym = _

pub const dead_voiced_sound: Keysym = _

pub const dead_semivoiced_sound: Keysym = _

pub const dead_belowdot: Keysym = _

pub const dead_hook: Keysym = _

pub const dead_horn: Keysym = _

pub const dead_stroke: Keysym = _

pub const dead_abovecomma: Keysym = _

pub const dead_psili: Keysym = _

pub const dead_abovereversedcomma: Keysym = _

pub const dead_dasia: Keysym = _

pub const dead_doublegrave: Keysym = _

pub const dead_belowring: Keysym = _

pub const dead_belowmacron: Keysym = _

pub const dead_belowcircumflex: Keysym = _

pub const dead_belowtilde: Keysym = _

pub const dead_belowbreve: Keysym = _

pub const dead_belowdiaeresis: Keysym = _

pub const dead_invertedbreve: Keysym = _

pub const dead_belowcomma: Keysym = _

pub const dead_currency: Keysym = _

pub const dead_lowline: Keysym = _

pub const dead_aboveverticalline: Keysym = _

pub const dead_belowverticalline: Keysym = _

pub const dead_longsolidusoverlay: Keysym = _

pub const dead_a: Keysym = _

pub const dead_A: Keysym = _

pub const dead_e: Keysym = _

pub const dead_E: Keysym = _

pub const dead_i: Keysym = _

pub const dead_I: Keysym = _

pub const dead_o: Keysym = _

pub const dead_O: Keysym = _

pub const dead_u: Keysym = _

pub const dead_U: Keysym = _

pub const dead_small_schwa: Keysym = _

pub const dead_schwa: Keysym = _

pub const dead_capital_schwa: Keysym = _

pub const dead_SCHWA: Keysym = _

pub const dead_greek: Keysym = _

pub const dead_hamza: Keysym = _

pub const First_Virtual_Screen: Keysym = _

pub const Prev_Virtual_Screen: Keysym = _

pub const Next_Virtual_Screen: Keysym = _

pub const Last_Virtual_Screen: Keysym = _

pub const Terminate_Server: Keysym = _

pub const AccessX_Enable: Keysym = _

pub const AccessX_Feedback_Enable: Keysym = _

pub const RepeatKeys_Enable: Keysym = _

pub const SlowKeys_Enable: Keysym = _

pub const BounceKeys_Enable: Keysym = _

pub const StickyKeys_Enable: Keysym = _

pub const MouseKeys_Enable: Keysym = _

pub const MouseKeys_Accel_Enable: Keysym = _

pub const Overlay1_Enable: Keysym = _

pub const Overlay2_Enable: Keysym = _

pub const AudibleBell_Enable: Keysym = _

pub const Pointer_Left: Keysym = _

pub const Pointer_Right: Keysym = _

pub const Pointer_Up: Keysym = _

pub const Pointer_Down: Keysym = _

pub const Pointer_UpLeft: Keysym = _

pub const Pointer_UpRight: Keysym = _

pub const Pointer_DownLeft: Keysym = _

pub const Pointer_DownRight: Keysym = _

pub const Pointer_Button_Dflt: Keysym = _

pub const Pointer_Button1: Keysym = _

pub const Pointer_Button2: Keysym = _

pub const Pointer_Button3: Keysym = _

pub const Pointer_Button4: Keysym = _

pub const Pointer_Button5: Keysym = _

pub const Pointer_DblClick_Dflt: Keysym = _

pub const Pointer_DblClick1: Keysym = _

pub const Pointer_DblClick2: Keysym = _

pub const Pointer_DblClick3: Keysym = _

pub const Pointer_DblClick4: Keysym = _

pub const Pointer_DblClick5: Keysym = _

pub const Pointer_Drag_Dflt: Keysym = _

pub const Pointer_Drag1: Keysym = _

pub const Pointer_Drag2: Keysym = _

pub const Pointer_Drag3: Keysym = _

pub const Pointer_Drag4: Keysym = _

pub const Pointer_Drag5: Keysym = _

pub const Pointer_EnableKeys: Keysym = _

pub const Pointer_Accelerate: Keysym = _

pub const Pointer_DfltBtnNext: Keysym = _

pub const Pointer_DfltBtnPrev: Keysym = _

pub const ch: Keysym = _

pub const Ch: Keysym = _

pub const CH: Keysym = _

pub const c_h: Keysym = _

pub const C_h: Keysym = _

pub const C_H: Keysym = _

pub const _3270_Duplicate: Keysym = _

pub const _3270_FieldMark: Keysym = _

pub const _3270_Right2: Keysym = _

pub const _3270_Left2: Keysym = _

pub const _3270_BackTab: Keysym = _

pub const _3270_EraseEOF: Keysym = _

pub const _3270_EraseInput: Keysym = _

pub const _3270_Reset: Keysym = _

pub const _3270_Quit: Keysym = _

pub const _3270_PA1: Keysym = _

pub const _3270_PA2: Keysym = _

pub const _3270_PA3: Keysym = _

pub const _3270_Test: Keysym = _

pub const _3270_Attn: Keysym = _

pub const _3270_AltCursor: Keysym = _

pub const _3270_KeyClick: Keysym = _

pub const _3270_Jump: Keysym = _

pub const _3270_Ident: Keysym = _

pub const _3270_Rule: Keysym = _

pub const _3270_Copy: Keysym = _

pub const _3270_Play: Keysym = _

pub const _3270_Setup: Keysym = _

pub const _3270_Record: Keysym = _

pub const _3270_ChangeScreen: Keysym = _

pub const _3270_DeleteWord: Keysym = _

pub const _3270_ExSelect: Keysym = _

pub const _3270_CursorSelect: Keysym = _

pub const _3270_PrintScreen: Keysym = _

pub const _3270_Enter: Keysym = _

pub const space: Keysym = _

pub const exclam: Keysym = _

pub const quotedbl: Keysym = _

pub const numbersign: Keysym = _

pub const dollar: Keysym = _

pub const percent: Keysym = _

pub const ampersand: Keysym = _

pub const apostrophe: Keysym = _

pub const quoteright: Keysym = _

pub const parenleft: Keysym = _

pub const parenright: Keysym = _

pub const asterisk: Keysym = _

pub const plus: Keysym = _

pub const comma: Keysym = _

pub const minus: Keysym = _

pub const period: Keysym = _

pub const slash: Keysym = _

pub const _0: Keysym = _

pub const _1: Keysym = _

pub const _2: Keysym = _

pub const _3: Keysym = _

pub const _4: Keysym = _

pub const _5: Keysym = _

pub const _6: Keysym = _

pub const _7: Keysym = _

pub const _8: Keysym = _

pub const _9: Keysym = _

pub const colon: Keysym = _

pub const semicolon: Keysym = _

pub const less: Keysym = _

pub const equal: Keysym = _

pub const greater: Keysym = _

pub const question: Keysym = _

pub const at: Keysym = _

pub const A: Keysym = _

pub const B: Keysym = _

pub const C: Keysym = _

pub const D: Keysym = _

pub const E: Keysym = _

pub const F: Keysym = _

pub const G: Keysym = _

pub const H: Keysym = _

pub const I: Keysym = _

pub const J: Keysym = _

pub const K: Keysym = _

pub const L: Keysym = _

pub const M: Keysym = _

pub const N: Keysym = _

pub const O: Keysym = _

pub const P: Keysym = _

pub const Q: Keysym = _

pub const R: Keysym = _

pub const S: Keysym = _

pub const T: Keysym = _

pub const U: Keysym = _

pub const V: Keysym = _

pub const W: Keysym = _

pub const X: Keysym = _

pub const Y: Keysym = _

pub const Z: Keysym = _

pub const bracketleft: Keysym = _

pub const backslash: Keysym = _

pub const bracketright: Keysym = _

pub const asciicircum: Keysym = _

pub const underscore: Keysym = _

pub const grave: Keysym = _

pub const quoteleft: Keysym = _

pub const a: Keysym = _

pub const b: Keysym = _

pub const c: Keysym = _

pub const d: Keysym = _

pub const e: Keysym = _

pub const f: Keysym = _

pub const g: Keysym = _

pub const h: Keysym = _

pub const i: Keysym = _

pub const j: Keysym = _

pub const k: Keysym = _

pub const l: Keysym = _

pub const m: Keysym = _

pub const n: Keysym = _

pub const o: Keysym = _

pub const p: Keysym = _

pub const q: Keysym = _

pub const r: Keysym = _

pub const s: Keysym = _

pub const t: Keysym = _

pub const u: Keysym = _

pub const v: Keysym = _

pub const w: Keysym = _

pub const x: Keysym = _

pub const y: Keysym = _

pub const z: Keysym = _

pub const braceleft: Keysym = _

pub const bar: Keysym = _

pub const braceright: Keysym = _

pub const asciitilde: Keysym = _

pub const nobreakspace: Keysym = _

pub const exclamdown: Keysym = _

pub const cent: Keysym = _

pub const sterling: Keysym = _

pub const currency: Keysym = _

pub const yen: Keysym = _

pub const brokenbar: Keysym = _

pub const section: Keysym = _

pub const diaeresis: Keysym = _

pub const copyright: Keysym = _

pub const ordfeminine: Keysym = _

pub const guillemotleft: Keysym = _

pub const guillemetleft: Keysym = _

pub const notsign: Keysym = _

pub const hyphen: Keysym = _

pub const registered: Keysym = _

pub const macron: Keysym = _

pub const degree: Keysym = _

pub const plusminus: Keysym = _

pub const twosuperior: Keysym = _

pub const threesuperior: Keysym = _

pub const acute: Keysym = _

pub const mu: Keysym = _

pub const paragraph: Keysym = _

pub const periodcentered: Keysym = _

pub const cedilla: Keysym = _

pub const onesuperior: Keysym = _

pub const masculine: Keysym = _

pub const ordmasculine: Keysym = _

pub const guillemotright: Keysym = _

pub const guillemetright: Keysym = _

pub const onequarter: Keysym = _

pub const onehalf: Keysym = _

pub const threequarters: Keysym = _

pub const questiondown: Keysym = _

pub const Agrave: Keysym = _

pub const Aacute: Keysym = _

pub const Acircumflex: Keysym = _

pub const Atilde: Keysym = _

pub const Adiaeresis: Keysym = _

pub const Aring: Keysym = _

pub const AE: Keysym = _

pub const Ccedilla: Keysym = _

pub const Egrave: Keysym = _

pub const Eacute: Keysym = _

pub const Ecircumflex: Keysym = _

pub const Ediaeresis: Keysym = _

pub const Igrave: Keysym = _

pub const Iacute: Keysym = _

pub const Icircumflex: Keysym = _

pub const Idiaeresis: Keysym = _

pub const ETH: Keysym = _

pub const Eth: Keysym = _

pub const Ntilde: Keysym = _

pub const Ograve: Keysym = _

pub const Oacute: Keysym = _

pub const Ocircumflex: Keysym = _

pub const Otilde: Keysym = _

pub const Odiaeresis: Keysym = _

pub const multiply: Keysym = _

pub const Oslash: Keysym = _

pub const Ooblique: Keysym = _

pub const Ugrave: Keysym = _

pub const Uacute: Keysym = _

pub const Ucircumflex: Keysym = _

pub const Udiaeresis: Keysym = _

pub const Yacute: Keysym = _

pub const THORN: Keysym = _

pub const Thorn: Keysym = _

pub const ssharp: Keysym = _

pub const agrave: Keysym = _

pub const aacute: Keysym = _

pub const acircumflex: Keysym = _

pub const atilde: Keysym = _

pub const adiaeresis: Keysym = _

pub const aring: Keysym = _

pub const ae: Keysym = _

pub const ccedilla: Keysym = _

pub const egrave: Keysym = _

pub const eacute: Keysym = _

pub const ecircumflex: Keysym = _

pub const ediaeresis: Keysym = _

pub const igrave: Keysym = _

pub const iacute: Keysym = _

pub const icircumflex: Keysym = _

pub const idiaeresis: Keysym = _

pub const eth: Keysym = _

pub const ntilde: Keysym = _

pub const ograve: Keysym = _

pub const oacute: Keysym = _

pub const ocircumflex: Keysym = _

pub const otilde: Keysym = _

pub const odiaeresis: Keysym = _

pub const division: Keysym = _

pub const oslash: Keysym = _

pub const ooblique: Keysym = _

pub const ugrave: Keysym = _

pub const uacute: Keysym = _

pub const ucircumflex: Keysym = _

pub const udiaeresis: Keysym = _

pub const yacute: Keysym = _

pub const thorn: Keysym = _

pub const ydiaeresis: Keysym = _

pub const Aogonek: Keysym = _

pub const breve: Keysym = _

pub const Lstroke: Keysym = _

pub const Lcaron: Keysym = _

pub const Sacute: Keysym = _

pub const Scaron: Keysym = _

pub const Scedilla: Keysym = _

pub const Tcaron: Keysym = _

pub const Zacute: Keysym = _

pub const Zcaron: Keysym = _

pub const Zabovedot: Keysym = _

pub const aogonek: Keysym = _

pub const ogonek: Keysym = _

pub const lstroke: Keysym = _

pub const lcaron: Keysym = _

pub const sacute: Keysym = _

pub const caron: Keysym = _

pub const scaron: Keysym = _

pub const scedilla: Keysym = _

pub const tcaron: Keysym = _

pub const zacute: Keysym = _

pub const doubleacute: Keysym = _

pub const zcaron: Keysym = _

pub const zabovedot: Keysym = _

pub const Racute: Keysym = _

pub const Abreve: Keysym = _

pub const Lacute: Keysym = _

pub const Cacute: Keysym = _

pub const Ccaron: Keysym = _

pub const Eogonek: Keysym = _

pub const Ecaron: Keysym = _

pub const Dcaron: Keysym = _

pub const Dstroke: Keysym = _

pub const Nacute: Keysym = _

pub const Ncaron: Keysym = _

pub const Odoubleacute: Keysym = _

pub const Rcaron: Keysym = _

pub const Uring: Keysym = _

pub const Udoubleacute: Keysym = _

pub const Tcedilla: Keysym = _

pub const racute: Keysym = _

pub const abreve: Keysym = _

pub const lacute: Keysym = _

pub const cacute: Keysym = _

pub const ccaron: Keysym = _

pub const eogonek: Keysym = _

pub const ecaron: Keysym = _

pub const dcaron: Keysym = _

pub const dstroke: Keysym = _

pub const nacute: Keysym = _

pub const ncaron: Keysym = _

pub const odoubleacute: Keysym = _

pub const rcaron: Keysym = _

pub const uring: Keysym = _

pub const udoubleacute: Keysym = _

pub const tcedilla: Keysym = _

pub const abovedot: Keysym = _

pub const Hstroke: Keysym = _

pub const Hcircumflex: Keysym = _

pub const Iabovedot: Keysym = _

pub const Gbreve: Keysym = _

pub const Jcircumflex: Keysym = _

pub const hstroke: Keysym = _

pub const hcircumflex: Keysym = _

pub const idotless: Keysym = _

pub const gbreve: Keysym = _

pub const jcircumflex: Keysym = _

pub const Cabovedot: Keysym = _

pub const Ccircumflex: Keysym = _

pub const Gabovedot: Keysym = _

pub const Gcircumflex: Keysym = _

pub const Ubreve: Keysym = _

pub const Scircumflex: Keysym = _

pub const cabovedot: Keysym = _

pub const ccircumflex: Keysym = _

pub const gabovedot: Keysym = _

pub const gcircumflex: Keysym = _

pub const ubreve: Keysym = _

pub const scircumflex: Keysym = _

pub const kra: Keysym = _

pub const kappa: Keysym = _

pub const Rcedilla: Keysym = _

pub const Itilde: Keysym = _

pub const Lcedilla: Keysym = _

pub const Emacron: Keysym = _

pub const Gcedilla: Keysym = _

pub const Tslash: Keysym = _

pub const rcedilla: Keysym = _

pub const itilde: Keysym = _

pub const lcedilla: Keysym = _

pub const emacron: Keysym = _

pub const gcedilla: Keysym = _

pub const tslash: Keysym = _

pub const ENG: Keysym = _

pub const eng: Keysym = _

pub const Amacron: Keysym = _

pub const Iogonek: Keysym = _

pub const Eabovedot: Keysym = _

pub const Imacron: Keysym = _

pub const Ncedilla: Keysym = _

pub const Omacron: Keysym = _

pub const Kcedilla: Keysym = _

pub const Uogonek: Keysym = _

pub const Utilde: Keysym = _

pub const Umacron: Keysym = _

pub const amacron: Keysym = _

pub const iogonek: Keysym = _

pub const eabovedot: Keysym = _

pub const imacron: Keysym = _

pub const ncedilla: Keysym = _

pub const omacron: Keysym = _

pub const kcedilla: Keysym = _

pub const uogonek: Keysym = _

pub const utilde: Keysym = _

pub const umacron: Keysym = _

pub const Wcircumflex: Keysym = _

pub const wcircumflex: Keysym = _

pub const Ycircumflex: Keysym = _

pub const ycircumflex: Keysym = _

pub const Babovedot: Keysym = _

pub const babovedot: Keysym = _

pub const Dabovedot: Keysym = _

pub const dabovedot: Keysym = _

pub const Fabovedot: Keysym = _

pub const fabovedot: Keysym = _

pub const Mabovedot: Keysym = _

pub const mabovedot: Keysym = _

pub const Pabovedot: Keysym = _

pub const pabovedot: Keysym = _

pub const Sabovedot: Keysym = _

pub const sabovedot: Keysym = _

pub const Tabovedot: Keysym = _

pub const tabovedot: Keysym = _

pub const Wgrave: Keysym = _

pub const wgrave: Keysym = _

pub const Wacute: Keysym = _

pub const wacute: Keysym = _

pub const Wdiaeresis: Keysym = _

pub const wdiaeresis: Keysym = _

pub const Ygrave: Keysym = _

pub const ygrave: Keysym = _

pub const OE: Keysym = _

pub const oe: Keysym = _

pub const Ydiaeresis: Keysym = _

pub const overline: Keysym = _

pub const kana_fullstop: Keysym = _

pub const kana_openingbracket: Keysym = _

pub const kana_closingbracket: Keysym = _

pub const kana_comma: Keysym = _

pub const kana_conjunctive: Keysym = _

pub const kana_middledot: Keysym = _

pub const kana_WO: Keysym = _

pub const kana_a: Keysym = _

pub const kana_i: Keysym = _

pub const kana_u: Keysym = _

pub const kana_e: Keysym = _

pub const kana_o: Keysym = _

pub const kana_ya: Keysym = _

pub const kana_yu: Keysym = _

pub const kana_yo: Keysym = _

pub const kana_tsu: Keysym = _

pub const kana_tu: Keysym = _

pub const prolongedsound: Keysym = _

pub const kana_A: Keysym = _

pub const kana_I: Keysym = _

pub const kana_U: Keysym = _

pub const kana_E: Keysym = _

pub const kana_O: Keysym = _

pub const kana_KA: Keysym = _

pub const kana_KI: Keysym = _

pub const kana_KU: Keysym = _

pub const kana_KE: Keysym = _

pub const kana_KO: Keysym = _

pub const kana_SA: Keysym = _

pub const kana_SHI: Keysym = _

pub const kana_SU: Keysym = _

pub const kana_SE: Keysym = _

pub const kana_SO: Keysym = _

pub const kana_TA: Keysym = _

pub const kana_CHI: Keysym = _

pub const kana_TI: Keysym = _

pub const kana_TSU: Keysym = _

pub const kana_TU: Keysym = _

pub const kana_TE: Keysym = _

pub const kana_TO: Keysym = _

pub const kana_NA: Keysym = _

pub const kana_NI: Keysym = _

pub const kana_NU: Keysym = _

pub const kana_NE: Keysym = _

pub const kana_NO: Keysym = _

pub const kana_HA: Keysym = _

pub const kana_HI: Keysym = _

pub const kana_FU: Keysym = _

pub const kana_HU: Keysym = _

pub const kana_HE: Keysym = _

pub const kana_HO: Keysym = _

pub const kana_MA: Keysym = _

pub const kana_MI: Keysym = _

pub const kana_MU: Keysym = _

pub const kana_ME: Keysym = _

pub const kana_MO: Keysym = _

pub const kana_YA: Keysym = _

pub const kana_YU: Keysym = _

pub const kana_YO: Keysym = _

pub const kana_RA: Keysym = _

pub const kana_RI: Keysym = _

pub const kana_RU: Keysym = _

pub const kana_RE: Keysym = _

pub const kana_RO: Keysym = _

pub const kana_WA: Keysym = _

pub const kana_N: Keysym = _

pub const voicedsound: Keysym = _

pub const semivoicedsound: Keysym = _

pub const kana_switch: Keysym = _

pub const Farsi_0: Keysym = _

pub const Farsi_1: Keysym = _

pub const Farsi_2: Keysym = _

pub const Farsi_3: Keysym = _

pub const Farsi_4: Keysym = _

pub const Farsi_5: Keysym = _

pub const Farsi_6: Keysym = _

pub const Farsi_7: Keysym = _

pub const Farsi_8: Keysym = _

pub const Farsi_9: Keysym = _

pub const Arabic_percent: Keysym = _

pub const Arabic_superscript_alef: Keysym = _

pub const Arabic_tteh: Keysym = _

pub const Arabic_peh: Keysym = _

pub const Arabic_tcheh: Keysym = _

pub const Arabic_ddal: Keysym = _

pub const Arabic_rreh: Keysym = _

pub const Arabic_comma: Keysym = _

pub const Arabic_fullstop: Keysym = _

pub const Arabic_0: Keysym = _

pub const Arabic_1: Keysym = _

pub const Arabic_2: Keysym = _

pub const Arabic_3: Keysym = _

pub const Arabic_4: Keysym = _

pub const Arabic_5: Keysym = _

pub const Arabic_6: Keysym = _

pub const Arabic_7: Keysym = _

pub const Arabic_8: Keysym = _

pub const Arabic_9: Keysym = _

pub const Arabic_semicolon: Keysym = _

pub const Arabic_question_mark: Keysym = _

pub const Arabic_hamza: Keysym = _

pub const Arabic_maddaonalef: Keysym = _

pub const Arabic_hamzaonalef: Keysym = _

pub const Arabic_hamzaonwaw: Keysym = _

pub const Arabic_hamzaunderalef: Keysym = _

pub const Arabic_hamzaonyeh: Keysym = _

pub const Arabic_alef: Keysym = _

pub const Arabic_beh: Keysym = _

pub const Arabic_tehmarbuta: Keysym = _

pub const Arabic_teh: Keysym = _

pub const Arabic_theh: Keysym = _

pub const Arabic_jeem: Keysym = _

pub const Arabic_hah: Keysym = _

pub const Arabic_khah: Keysym = _

pub const Arabic_dal: Keysym = _

pub const Arabic_thal: Keysym = _

pub const Arabic_ra: Keysym = _

pub const Arabic_zain: Keysym = _

pub const Arabic_seen: Keysym = _

pub const Arabic_sheen: Keysym = _

pub const Arabic_sad: Keysym = _

pub const Arabic_dad: Keysym = _

pub const Arabic_tah: Keysym = _

pub const Arabic_zah: Keysym = _

pub const Arabic_ain: Keysym = _

pub const Arabic_ghain: Keysym = _

pub const Arabic_tatweel: Keysym = _

pub const Arabic_feh: Keysym = _

pub const Arabic_qaf: Keysym = _

pub const Arabic_kaf: Keysym = _

pub const Arabic_lam: Keysym = _

pub const Arabic_meem: Keysym = _

pub const Arabic_noon: Keysym = _

pub const Arabic_ha: Keysym = _

pub const Arabic_heh: Keysym = _

pub const Arabic_waw: Keysym = _

pub const Arabic_alefmaksura: Keysym = _

pub const Arabic_yeh: Keysym = _

pub const Arabic_fathatan: Keysym = _

pub const Arabic_dammatan: Keysym = _

pub const Arabic_kasratan: Keysym = _

pub const Arabic_fatha: Keysym = _

pub const Arabic_damma: Keysym = _

pub const Arabic_kasra: Keysym = _

pub const Arabic_shadda: Keysym = _

pub const Arabic_sukun: Keysym = _

pub const Arabic_madda_above: Keysym = _

pub const Arabic_hamza_above: Keysym = _

pub const Arabic_hamza_below: Keysym = _

pub const Arabic_jeh: Keysym = _

pub const Arabic_veh: Keysym = _

pub const Arabic_keheh: Keysym = _

pub const Arabic_gaf: Keysym = _

pub const Arabic_noon_ghunna: Keysym = _

pub const Arabic_heh_doachashmee: Keysym = _

pub const Farsi_yeh: Keysym = _

pub const Arabic_farsi_yeh: Keysym = _

pub const Arabic_yeh_baree: Keysym = _

pub const Arabic_heh_goal: Keysym = _

pub const Arabic_switch: Keysym = _

pub const Cyrillic_GHE_bar: Keysym = _

pub const Cyrillic_ghe_bar: Keysym = _

pub const Cyrillic_ZHE_descender: Keysym = _

pub const Cyrillic_zhe_descender: Keysym = _

pub const Cyrillic_KA_descender: Keysym = _

pub const Cyrillic_ka_descender: Keysym = _

pub const Cyrillic_KA_vertstroke: Keysym = _

pub const Cyrillic_ka_vertstroke: Keysym = _

pub const Cyrillic_EN_descender: Keysym = _

pub const Cyrillic_en_descender: Keysym = _

pub const Cyrillic_U_straight: Keysym = _

pub const Cyrillic_u_straight: Keysym = _

pub const Cyrillic_U_straight_bar: Keysym = _

pub const Cyrillic_u_straight_bar: Keysym = _

pub const Cyrillic_HA_descender: Keysym = _

pub const Cyrillic_ha_descender: Keysym = _

pub const Cyrillic_CHE_descender: Keysym = _

pub const Cyrillic_che_descender: Keysym = _

pub const Cyrillic_CHE_vertstroke: Keysym = _

pub const Cyrillic_che_vertstroke: Keysym = _

pub const Cyrillic_SHHA: Keysym = _

pub const Cyrillic_shha: Keysym = _

pub const Cyrillic_SCHWA: Keysym = _

pub const Cyrillic_schwa: Keysym = _

pub const Cyrillic_I_macron: Keysym = _

pub const Cyrillic_i_macron: Keysym = _

pub const Cyrillic_O_bar: Keysym = _

pub const Cyrillic_o_bar: Keysym = _

pub const Cyrillic_U_macron: Keysym = _

pub const Cyrillic_u_macron: Keysym = _

pub const Serbian_dje: Keysym = _

pub const Macedonia_gje: Keysym = _

pub const Cyrillic_io: Keysym = _

pub const Ukrainian_ie: Keysym = _

pub const Ukranian_je: Keysym = _

pub const Macedonia_dse: Keysym = _

pub const Ukrainian_i: Keysym = _

pub const Ukranian_i: Keysym = _

pub const Ukrainian_yi: Keysym = _

pub const Ukranian_yi: Keysym = _

pub const Cyrillic_je: Keysym = _

pub const Serbian_je: Keysym = _

pub const Cyrillic_lje: Keysym = _

pub const Serbian_lje: Keysym = _

pub const Cyrillic_nje: Keysym = _

pub const Serbian_nje: Keysym = _

pub const Serbian_tshe: Keysym = _

pub const Macedonia_kje: Keysym = _

pub const Ukrainian_ghe_with_upturn: Keysym = _

pub const Byelorussian_shortu: Keysym = _

pub const Cyrillic_dzhe: Keysym = _

pub const Serbian_dze: Keysym = _

pub const numerosign: Keysym = _

pub const Serbian_DJE: Keysym = _

pub const Macedonia_GJE: Keysym = _

pub const Cyrillic_IO: Keysym = _

pub const Ukrainian_IE: Keysym = _

pub const Ukranian_JE: Keysym = _

pub const Macedonia_DSE: Keysym = _

pub const Ukrainian_I: Keysym = _

pub const Ukranian_I: Keysym = _

pub const Ukrainian_YI: Keysym = _

pub const Ukranian_YI: Keysym = _

pub const Cyrillic_JE: Keysym = _

pub const Serbian_JE: Keysym = _

pub const Cyrillic_LJE: Keysym = _

pub const Serbian_LJE: Keysym = _

pub const Cyrillic_NJE: Keysym = _

pub const Serbian_NJE: Keysym = _

pub const Serbian_TSHE: Keysym = _

pub const Macedonia_KJE: Keysym = _

pub const Ukrainian_GHE_WITH_UPTURN: Keysym = _

pub const Byelorussian_SHORTU: Keysym = _

pub const Cyrillic_DZHE: Keysym = _

pub const Serbian_DZE: Keysym = _

pub const Cyrillic_yu: Keysym = _

pub const Cyrillic_a: Keysym = _

pub const Cyrillic_be: Keysym = _

pub const Cyrillic_tse: Keysym = _

pub const Cyrillic_de: Keysym = _

pub const Cyrillic_ie: Keysym = _

pub const Cyrillic_ef: Keysym = _

pub const Cyrillic_ghe: Keysym = _

pub const Cyrillic_ha: Keysym = _

pub const Cyrillic_i: Keysym = _

pub const Cyrillic_shorti: Keysym = _

pub const Cyrillic_ka: Keysym = _

pub const Cyrillic_el: Keysym = _

pub const Cyrillic_em: Keysym = _

pub const Cyrillic_en: Keysym = _

pub const Cyrillic_o: Keysym = _

pub const Cyrillic_pe: Keysym = _

pub const Cyrillic_ya: Keysym = _

pub const Cyrillic_er: Keysym = _

pub const Cyrillic_es: Keysym = _

pub const Cyrillic_te: Keysym = _

pub const Cyrillic_u: Keysym = _

pub const Cyrillic_zhe: Keysym = _

pub const Cyrillic_ve: Keysym = _

pub const Cyrillic_softsign: Keysym = _

pub const Cyrillic_yeru: Keysym = _

pub const Cyrillic_ze: Keysym = _

pub const Cyrillic_sha: Keysym = _

pub const Cyrillic_e: Keysym = _

pub const Cyrillic_shcha: Keysym = _

pub const Cyrillic_che: Keysym = _

pub const Cyrillic_hardsign: Keysym = _

pub const Cyrillic_YU: Keysym = _

pub const Cyrillic_A: Keysym = _

pub const Cyrillic_BE: Keysym = _

pub const Cyrillic_TSE: Keysym = _

pub const Cyrillic_DE: Keysym = _

pub const Cyrillic_IE: Keysym = _

pub const Cyrillic_EF: Keysym = _

pub const Cyrillic_GHE: Keysym = _

pub const Cyrillic_HA: Keysym = _

pub const Cyrillic_I: Keysym = _

pub const Cyrillic_SHORTI: Keysym = _

pub const Cyrillic_KA: Keysym = _

pub const Cyrillic_EL: Keysym = _

pub const Cyrillic_EM: Keysym = _

pub const Cyrillic_EN: Keysym = _

pub const Cyrillic_O: Keysym = _

pub const Cyrillic_PE: Keysym = _

pub const Cyrillic_YA: Keysym = _

pub const Cyrillic_ER: Keysym = _

pub const Cyrillic_ES: Keysym = _

pub const Cyrillic_TE: Keysym = _

pub const Cyrillic_U: Keysym = _

pub const Cyrillic_ZHE: Keysym = _

pub const Cyrillic_VE: Keysym = _

pub const Cyrillic_SOFTSIGN: Keysym = _

pub const Cyrillic_YERU: Keysym = _

pub const Cyrillic_ZE: Keysym = _

pub const Cyrillic_SHA: Keysym = _

pub const Cyrillic_E: Keysym = _

pub const Cyrillic_SHCHA: Keysym = _

pub const Cyrillic_CHE: Keysym = _

pub const Cyrillic_HARDSIGN: Keysym = _

pub const Greek_ALPHAaccent: Keysym = _

pub const Greek_EPSILONaccent: Keysym = _

pub const Greek_ETAaccent: Keysym = _

pub const Greek_IOTAaccent: Keysym = _

pub const Greek_IOTAdieresis: Keysym = _

pub const Greek_IOTAdiaeresis: Keysym = _

pub const Greek_OMICRONaccent: Keysym = _

pub const Greek_UPSILONaccent: Keysym = _

pub const Greek_UPSILONdieresis: Keysym = _

pub const Greek_OMEGAaccent: Keysym = _

pub const Greek_accentdieresis: Keysym = _

pub const Greek_horizbar: Keysym = _

pub const Greek_alphaaccent: Keysym = _

pub const Greek_epsilonaccent: Keysym = _

pub const Greek_etaaccent: Keysym = _

pub const Greek_iotaaccent: Keysym = _

pub const Greek_iotadieresis: Keysym = _

pub const Greek_iotaaccentdieresis: Keysym = _

pub const Greek_omicronaccent: Keysym = _

pub const Greek_upsilonaccent: Keysym = _

pub const Greek_upsilondieresis: Keysym = _

pub const Greek_upsilonaccentdieresis: Keysym = _

pub const Greek_omegaaccent: Keysym = _

pub const Greek_ALPHA: Keysym = _

pub const Greek_BETA: Keysym = _

pub const Greek_GAMMA: Keysym = _

pub const Greek_DELTA: Keysym = _

pub const Greek_EPSILON: Keysym = _

pub const Greek_ZETA: Keysym = _

pub const Greek_ETA: Keysym = _

pub const Greek_THETA: Keysym = _

pub const Greek_IOTA: Keysym = _

pub const Greek_KAPPA: Keysym = _

pub const Greek_LAMDA: Keysym = _

pub const Greek_LAMBDA: Keysym = _

pub const Greek_MU: Keysym = _

pub const Greek_NU: Keysym = _

pub const Greek_XI: Keysym = _

pub const Greek_OMICRON: Keysym = _

pub const Greek_PI: Keysym = _

pub const Greek_RHO: Keysym = _

pub const Greek_SIGMA: Keysym = _

pub const Greek_TAU: Keysym = _

pub const Greek_UPSILON: Keysym = _

pub const Greek_PHI: Keysym = _

pub const Greek_CHI: Keysym = _

pub const Greek_PSI: Keysym = _

pub const Greek_OMEGA: Keysym = _

pub const Greek_alpha: Keysym = _

pub const Greek_beta: Keysym = _

pub const Greek_gamma: Keysym = _

pub const Greek_delta: Keysym = _

pub const Greek_epsilon: Keysym = _

pub const Greek_zeta: Keysym = _

pub const Greek_eta: Keysym = _

pub const Greek_theta: Keysym = _

pub const Greek_iota: Keysym = _

pub const Greek_kappa: Keysym = _

pub const Greek_lamda: Keysym = _

pub const Greek_lambda: Keysym = _

pub const Greek_mu: Keysym = _

pub const Greek_nu: Keysym = _

pub const Greek_xi: Keysym = _

pub const Greek_omicron: Keysym = _

pub const Greek_pi: Keysym = _

pub const Greek_rho: Keysym = _

pub const Greek_sigma: Keysym = _

pub const Greek_finalsmallsigma: Keysym = _

pub const Greek_tau: Keysym = _

pub const Greek_upsilon: Keysym = _

pub const Greek_phi: Keysym = _

pub const Greek_chi: Keysym = _

pub const Greek_psi: Keysym = _

pub const Greek_omega: Keysym = _

pub const Greek_switch: Keysym = _

pub const leftradical: Keysym = _

pub const topleftradical: Keysym = _

pub const horizconnector: Keysym = _

pub const topintegral: Keysym = _

pub const botintegral: Keysym = _

pub const vertconnector: Keysym = _

pub const topleftsqbracket: Keysym = _

pub const botleftsqbracket: Keysym = _

pub const toprightsqbracket: Keysym = _

pub const botrightsqbracket: Keysym = _

pub const topleftparens: Keysym = _

pub const botleftparens: Keysym = _

pub const toprightparens: Keysym = _

pub const botrightparens: Keysym = _

pub const leftmiddlecurlybrace: Keysym = _

pub const rightmiddlecurlybrace: Keysym = _

pub const topleftsummation: Keysym = _

pub const botleftsummation: Keysym = _

pub const topvertsummationconnector: Keysym = _

pub const botvertsummationconnector: Keysym = _

pub const toprightsummation: Keysym = _

pub const botrightsummation: Keysym = _

pub const rightmiddlesummation: Keysym = _

pub const lessthanequal: Keysym = _

pub const notequal: Keysym = _

pub const greaterthanequal: Keysym = _

pub const integral: Keysym = _

pub const therefore: Keysym = _

pub const variation: Keysym = _

pub const infinity: Keysym = _

pub const nabla: Keysym = _

pub const approximate: Keysym = _

pub const similarequal: Keysym = _

pub const ifonlyif: Keysym = _

pub const implies: Keysym = _

pub const identical: Keysym = _

pub const radical: Keysym = _

pub const includedin: Keysym = _

pub const includes: Keysym = _

pub const intersection: Keysym = _

pub const union: Keysym = _

pub const logicaland: Keysym = _

pub const logicalor: Keysym = _

pub const partialderivative: Keysym = _

pub const function: Keysym = _

pub const leftarrow: Keysym = _

pub const uparrow: Keysym = _

pub const rightarrow: Keysym = _

pub const downarrow: Keysym = _

pub const blank: Keysym = _

pub const soliddiamond: Keysym = _

pub const checkerboard: Keysym = _

pub const ht: Keysym = _

pub const ff: Keysym = _

pub const cr: Keysym = _

pub const lf: Keysym = _

pub const nl: Keysym = _

pub const vt: Keysym = _

pub const lowrightcorner: Keysym = _

pub const uprightcorner: Keysym = _

pub const upleftcorner: Keysym = _

pub const lowleftcorner: Keysym = _

pub const crossinglines: Keysym = _

pub const horizlinescan1: Keysym = _

pub const horizlinescan3: Keysym = _

pub const horizlinescan5: Keysym = _

pub const horizlinescan7: Keysym = _

pub const horizlinescan9: Keysym = _

pub const leftt: Keysym = _

pub const rightt: Keysym = _

pub const bott: Keysym = _

pub const topt: Keysym = _

pub const vertbar: Keysym = _

pub const emspace: Keysym = _

pub const enspace: Keysym = _

pub const em3space: Keysym = _

pub const em4space: Keysym = _

pub const digitspace: Keysym = _

pub const punctspace: Keysym = _

pub const thinspace: Keysym = _

pub const hairspace: Keysym = _

pub const emdash: Keysym = _

pub const endash: Keysym = _

pub const signifblank: Keysym = _

pub const ellipsis: Keysym = _

pub const doubbaselinedot: Keysym = _

pub const onethird: Keysym = _

pub const twothirds: Keysym = _

pub const onefifth: Keysym = _

pub const twofifths: Keysym = _

pub const threefifths: Keysym = _

pub const fourfifths: Keysym = _

pub const onesixth: Keysym = _

pub const fivesixths: Keysym = _

pub const careof: Keysym = _

pub const figdash: Keysym = _

pub const leftanglebracket: Keysym = _

pub const decimalpoint: Keysym = _

pub const rightanglebracket: Keysym = _

pub const marker: Keysym = _

pub const oneeighth: Keysym = _

pub const threeeighths: Keysym = _

pub const fiveeighths: Keysym = _

pub const seveneighths: Keysym = _

pub const trademark: Keysym = _

pub const signaturemark: Keysym = _

pub const trademarkincircle: Keysym = _

pub const leftopentriangle: Keysym = _

pub const rightopentriangle: Keysym = _

pub const emopencircle: Keysym = _

pub const emopenrectangle: Keysym = _

pub const leftsinglequotemark: Keysym = _

pub const rightsinglequotemark: Keysym = _

pub const leftdoublequotemark: Keysym = _

pub const rightdoublequotemark: Keysym = _

pub const prescription: Keysym = _

pub const permille: Keysym = _

pub const minutes: Keysym = _

pub const seconds: Keysym = _

pub const latincross: Keysym = _

pub const hexagram: Keysym = _

pub const filledrectbullet: Keysym = _

pub const filledlefttribullet: Keysym = _

pub const filledrighttribullet: Keysym = _

pub const emfilledcircle: Keysym = _

pub const emfilledrect: Keysym = _

pub const enopencircbullet: Keysym = _

pub const enopensquarebullet: Keysym = _

pub const openrectbullet: Keysym = _

pub const opentribulletup: Keysym = _

pub const opentribulletdown: Keysym = _

pub const openstar: Keysym = _

pub const enfilledcircbullet: Keysym = _

pub const enfilledsqbullet: Keysym = _

pub const filledtribulletup: Keysym = _

pub const filledtribulletdown: Keysym = _

pub const leftpointer: Keysym = _

pub const rightpointer: Keysym = _

pub const club: Keysym = _

pub const diamond: Keysym = _

pub const heart: Keysym = _

pub const maltesecross: Keysym = _

pub const dagger: Keysym = _

pub const doubledagger: Keysym = _

pub const checkmark: Keysym = _

pub const ballotcross: Keysym = _

pub const musicalsharp: Keysym = _

pub const musicalflat: Keysym = _

pub const malesymbol: Keysym = _

pub const femalesymbol: Keysym = _

pub const telephone: Keysym = _

pub const telephonerecorder: Keysym = _

pub const phonographcopyright: Keysym = _

pub const caret: Keysym = _

pub const singlelowquotemark: Keysym = _

pub const doublelowquotemark: Keysym = _

pub const cursor: Keysym = _

pub const leftcaret: Keysym = _

pub const rightcaret: Keysym = _

pub const downcaret: Keysym = _

pub const upcaret: Keysym = _

pub const overbar: Keysym = _

pub const downtack: Keysym = _

pub const upshoe: Keysym = _

pub const downstile: Keysym = _

pub const underbar: Keysym = _

pub const jot: Keysym = _

pub const quad: Keysym = _

pub const uptack: Keysym = _

pub const circle: Keysym = _

pub const upstile: Keysym = _

pub const downshoe: Keysym = _

pub const rightshoe: Keysym = _

pub const leftshoe: Keysym = _

pub const lefttack: Keysym = _

pub const righttack: Keysym = _

pub const hebrew_doublelowline: Keysym = _

pub const hebrew_aleph: Keysym = _

pub const hebrew_bet: Keysym = _

pub const hebrew_beth: Keysym = _

pub const hebrew_gimel: Keysym = _

pub const hebrew_gimmel: Keysym = _

pub const hebrew_dalet: Keysym = _

pub const hebrew_daleth: Keysym = _

pub const hebrew_he: Keysym = _

pub const hebrew_waw: Keysym = _

pub const hebrew_zain: Keysym = _

pub const hebrew_zayin: Keysym = _

pub const hebrew_chet: Keysym = _

pub const hebrew_het: Keysym = _

pub const hebrew_tet: Keysym = _

pub const hebrew_teth: Keysym = _

pub const hebrew_yod: Keysym = _

pub const hebrew_finalkaph: Keysym = _

pub const hebrew_kaph: Keysym = _

pub const hebrew_lamed: Keysym = _

pub const hebrew_finalmem: Keysym = _

pub const hebrew_mem: Keysym = _

pub const hebrew_finalnun: Keysym = _

pub const hebrew_nun: Keysym = _

pub const hebrew_samech: Keysym = _

pub const hebrew_samekh: Keysym = _

pub const hebrew_ayin: Keysym = _

pub const hebrew_finalpe: Keysym = _

pub const hebrew_pe: Keysym = _

pub const hebrew_finalzade: Keysym = _

pub const hebrew_finalzadi: Keysym = _

pub const hebrew_zade: Keysym = _

pub const hebrew_zadi: Keysym = _

pub const hebrew_qoph: Keysym = _

pub const hebrew_kuf: Keysym = _

pub const hebrew_resh: Keysym = _

pub const hebrew_shin: Keysym = _

pub const hebrew_taw: Keysym = _

pub const hebrew_taf: Keysym = _

pub const Hebrew_switch: Keysym = _

pub const Thai_kokai: Keysym = _

pub const Thai_khokhai: Keysym = _

pub const Thai_khokhuat: Keysym = _

pub const Thai_khokhwai: Keysym = _

pub const Thai_khokhon: Keysym = _

pub const Thai_khorakhang: Keysym = _

pub const Thai_ngongu: Keysym = _

pub const Thai_chochan: Keysym = _

pub const Thai_choching: Keysym = _

pub const Thai_chochang: Keysym = _

pub const Thai_soso: Keysym = _

pub const Thai_chochoe: Keysym = _

pub const Thai_yoying: Keysym = _

pub const Thai_dochada: Keysym = _

pub const Thai_topatak: Keysym = _

pub const Thai_thothan: Keysym = _

pub const Thai_thonangmontho: Keysym = _

pub const Thai_thophuthao: Keysym = _

pub const Thai_nonen: Keysym = _

pub const Thai_dodek: Keysym = _

pub const Thai_totao: Keysym = _

pub const Thai_thothung: Keysym = _

pub const Thai_thothahan: Keysym = _

pub const Thai_thothong: Keysym = _

pub const Thai_nonu: Keysym = _

pub const Thai_bobaimai: Keysym = _

pub const Thai_popla: Keysym = _

pub const Thai_phophung: Keysym = _

pub const Thai_fofa: Keysym = _

pub const Thai_phophan: Keysym = _

pub const Thai_fofan: Keysym = _

pub const Thai_phosamphao: Keysym = _

pub const Thai_moma: Keysym = _

pub const Thai_yoyak: Keysym = _

pub const Thai_rorua: Keysym = _

pub const Thai_ru: Keysym = _

pub const Thai_loling: Keysym = _

pub const Thai_lu: Keysym = _

pub const Thai_wowaen: Keysym = _

pub const Thai_sosala: Keysym = _

pub const Thai_sorusi: Keysym = _

pub const Thai_sosua: Keysym = _

pub const Thai_hohip: Keysym = _

pub const Thai_lochula: Keysym = _

pub const Thai_oang: Keysym = _

pub const Thai_honokhuk: Keysym = _

pub const Thai_paiyannoi: Keysym = _

pub const Thai_saraa: Keysym = _

pub const Thai_maihanakat: Keysym = _

pub const Thai_saraaa: Keysym = _

pub const Thai_saraam: Keysym = _

pub const Thai_sarai: Keysym = _

pub const Thai_saraii: Keysym = _

pub const Thai_saraue: Keysym = _

pub const Thai_sarauee: Keysym = _

pub const Thai_sarau: Keysym = _

pub const Thai_sarauu: Keysym = _

pub const Thai_phinthu: Keysym = _

pub const Thai_maihanakat_maitho: Keysym = _

pub const Thai_baht: Keysym = _

pub const Thai_sarae: Keysym = _

pub const Thai_saraae: Keysym = _

pub const Thai_sarao: Keysym = _

pub const Thai_saraaimaimuan: Keysym = _

pub const Thai_saraaimaimalai: Keysym = _

pub const Thai_lakkhangyao: Keysym = _

pub const Thai_maiyamok: Keysym = _

pub const Thai_maitaikhu: Keysym = _

pub const Thai_maiek: Keysym = _

pub const Thai_maitho: Keysym = _

pub const Thai_maitri: Keysym = _

pub const Thai_maichattawa: Keysym = _

pub const Thai_thanthakhat: Keysym = _

pub const Thai_nikhahit: Keysym = _

pub const Thai_leksun: Keysym = _

pub const Thai_leknung: Keysym = _

pub const Thai_leksong: Keysym = _

pub const Thai_leksam: Keysym = _

pub const Thai_leksi: Keysym = _

pub const Thai_lekha: Keysym = _

pub const Thai_lekhok: Keysym = _

pub const Thai_lekchet: Keysym = _

pub const Thai_lekpaet: Keysym = _

pub const Thai_lekkao: Keysym = _

pub const Hangul: Keysym = _

pub const Hangul_Start: Keysym = _

pub const Hangul_End: Keysym = _

pub const Hangul_Hanja: Keysym = _

pub const Hangul_Jamo: Keysym = _

pub const Hangul_Romaja: Keysym = _

pub const Hangul_Codeinput: Keysym = _

pub const Hangul_Jeonja: Keysym = _

pub const Hangul_Banja: Keysym = _

pub const Hangul_PreHanja: Keysym = _

pub const Hangul_PostHanja: Keysym = _

pub const Hangul_SingleCandidate: Keysym = _

pub const Hangul_MultipleCandidate: Keysym = _

pub const Hangul_PreviousCandidate: Keysym = _

pub const Hangul_Special: Keysym = _

pub const Hangul_switch: Keysym = _

pub const Hangul_Kiyeog: Keysym = _

pub const Hangul_SsangKiyeog: Keysym = _

pub const Hangul_KiyeogSios: Keysym = _

pub const Hangul_Nieun: Keysym = _

pub const Hangul_NieunJieuj: Keysym = _

pub const Hangul_NieunHieuh: Keysym = _

pub const Hangul_Dikeud: Keysym = _

pub const Hangul_SsangDikeud: Keysym = _

pub const Hangul_Rieul: Keysym = _

pub const Hangul_RieulKiyeog: Keysym = _

pub const Hangul_RieulMieum: Keysym = _

pub const Hangul_RieulPieub: Keysym = _

pub const Hangul_RieulSios: Keysym = _

pub const Hangul_RieulTieut: Keysym = _

pub const Hangul_RieulPhieuf: Keysym = _

pub const Hangul_RieulHieuh: Keysym = _

pub const Hangul_Mieum: Keysym = _

pub const Hangul_Pieub: Keysym = _

pub const Hangul_SsangPieub: Keysym = _

pub const Hangul_PieubSios: Keysym = _

pub const Hangul_Sios: Keysym = _

pub const Hangul_SsangSios: Keysym = _

pub const Hangul_Ieung: Keysym = _

pub const Hangul_Jieuj: Keysym = _

pub const Hangul_SsangJieuj: Keysym = _

pub const Hangul_Cieuc: Keysym = _

pub const Hangul_Khieuq: Keysym = _

pub const Hangul_Tieut: Keysym = _

pub const Hangul_Phieuf: Keysym = _

pub const Hangul_Hieuh: Keysym = _

pub const Hangul_A: Keysym = _

pub const Hangul_AE: Keysym = _

pub const Hangul_YA: Keysym = _

pub const Hangul_YAE: Keysym = _

pub const Hangul_EO: Keysym = _

pub const Hangul_E: Keysym = _

pub const Hangul_YEO: Keysym = _

pub const Hangul_YE: Keysym = _

pub const Hangul_O: Keysym = _

pub const Hangul_WA: Keysym = _

pub const Hangul_WAE: Keysym = _

pub const Hangul_OE: Keysym = _

pub const Hangul_YO: Keysym = _

pub const Hangul_U: Keysym = _

pub const Hangul_WEO: Keysym = _

pub const Hangul_WE: Keysym = _

pub const Hangul_WI: Keysym = _

pub const Hangul_YU: Keysym = _

pub const Hangul_EU: Keysym = _

pub const Hangul_YI: Keysym = _

pub const Hangul_I: Keysym = _

pub const Hangul_J_Kiyeog: Keysym = _

pub const Hangul_J_SsangKiyeog: Keysym = _

pub const Hangul_J_KiyeogSios: Keysym = _

pub const Hangul_J_Nieun: Keysym = _

pub const Hangul_J_NieunJieuj: Keysym = _

pub const Hangul_J_NieunHieuh: Keysym = _

pub const Hangul_J_Dikeud: Keysym = _

pub const Hangul_J_Rieul: Keysym = _

pub const Hangul_J_RieulKiyeog: Keysym = _

pub const Hangul_J_RieulMieum: Keysym = _

pub const Hangul_J_RieulPieub: Keysym = _

pub const Hangul_J_RieulSios: Keysym = _

pub const Hangul_J_RieulTieut: Keysym = _

pub const Hangul_J_RieulPhieuf: Keysym = _

pub const Hangul_J_RieulHieuh: Keysym = _

pub const Hangul_J_Mieum: Keysym = _

pub const Hangul_J_Pieub: Keysym = _

pub const Hangul_J_PieubSios: Keysym = _

pub const Hangul_J_Sios: Keysym = _

pub const Hangul_J_SsangSios: Keysym = _

pub const Hangul_J_Ieung: Keysym = _

pub const Hangul_J_Jieuj: Keysym = _

pub const Hangul_J_Cieuc: Keysym = _

pub const Hangul_J_Khieuq: Keysym = _

pub const Hangul_J_Tieut: Keysym = _

pub const Hangul_J_Phieuf: Keysym = _

pub const Hangul_J_Hieuh: Keysym = _

pub const Hangul_RieulYeorinHieuh: Keysym = _

pub const Hangul_SunkyeongeumMieum: Keysym = _

pub const Hangul_SunkyeongeumPieub: Keysym = _

pub const Hangul_PanSios: Keysym = _

pub const Hangul_KkogjiDalrinIeung: Keysym = _

pub const Hangul_SunkyeongeumPhieuf: Keysym = _

pub const Hangul_YeorinHieuh: Keysym = _

pub const Hangul_AraeA: Keysym = _

pub const Hangul_AraeAE: Keysym = _

pub const Hangul_J_PanSios: Keysym = _

pub const Hangul_J_KkogjiDalrinIeung: Keysym = _

pub const Hangul_J_YeorinHieuh: Keysym = _

pub const Korean_Won: Keysym = _

pub const Armenian_ligature_ew: Keysym = _

pub const Armenian_full_stop: Keysym = _

pub const Armenian_verjaket: Keysym = _

pub const Armenian_separation_mark: Keysym = _

pub const Armenian_but: Keysym = _

pub const Armenian_hyphen: Keysym = _

pub const Armenian_yentamna: Keysym = _

pub const Armenian_exclam: Keysym = _

pub const Armenian_amanak: Keysym = _

pub const Armenian_accent: Keysym = _

pub const Armenian_shesht: Keysym = _

pub const Armenian_question: Keysym = _

pub const Armenian_paruyk: Keysym = _

pub const Armenian_AYB: Keysym = _

pub const Armenian_ayb: Keysym = _

pub const Armenian_BEN: Keysym = _

pub const Armenian_ben: Keysym = _

pub const Armenian_GIM: Keysym = _

pub const Armenian_gim: Keysym = _

pub const Armenian_DA: Keysym = _

pub const Armenian_da: Keysym = _

pub const Armenian_YECH: Keysym = _

pub const Armenian_yech: Keysym = _

pub const Armenian_ZA: Keysym = _

pub const Armenian_za: Keysym = _

pub const Armenian_E: Keysym = _

pub const Armenian_e: Keysym = _

pub const Armenian_AT: Keysym = _

pub const Armenian_at: Keysym = _

pub const Armenian_TO: Keysym = _

pub const Armenian_to: Keysym = _

pub const Armenian_ZHE: Keysym = _

pub const Armenian_zhe: Keysym = _

pub const Armenian_INI: Keysym = _

pub const Armenian_ini: Keysym = _

pub const Armenian_LYUN: Keysym = _

pub const Armenian_lyun: Keysym = _

pub const Armenian_KHE: Keysym = _

pub const Armenian_khe: Keysym = _

pub const Armenian_TSA: Keysym = _

pub const Armenian_tsa: Keysym = _

pub const Armenian_KEN: Keysym = _

pub const Armenian_ken: Keysym = _

pub const Armenian_HO: Keysym = _

pub const Armenian_ho: Keysym = _

pub const Armenian_DZA: Keysym = _

pub const Armenian_dza: Keysym = _

pub const Armenian_GHAT: Keysym = _

pub const Armenian_ghat: Keysym = _

pub const Armenian_TCHE: Keysym = _

pub const Armenian_tche: Keysym = _

pub const Armenian_MEN: Keysym = _

pub const Armenian_men: Keysym = _

pub const Armenian_HI: Keysym = _

pub const Armenian_hi: Keysym = _

pub const Armenian_NU: Keysym = _

pub const Armenian_nu: Keysym = _

pub const Armenian_SHA: Keysym = _

pub const Armenian_sha: Keysym = _

pub const Armenian_VO: Keysym = _

pub const Armenian_vo: Keysym = _

pub const Armenian_CHA: Keysym = _

pub const Armenian_cha: Keysym = _

pub const Armenian_PE: Keysym = _

pub const Armenian_pe: Keysym = _

pub const Armenian_JE: Keysym = _

pub const Armenian_je: Keysym = _

pub const Armenian_RA: Keysym = _

pub const Armenian_ra: Keysym = _

pub const Armenian_SE: Keysym = _

pub const Armenian_se: Keysym = _

pub const Armenian_VEV: Keysym = _

pub const Armenian_vev: Keysym = _

pub const Armenian_TYUN: Keysym = _

pub const Armenian_tyun: Keysym = _

pub const Armenian_RE: Keysym = _

pub const Armenian_re: Keysym = _

pub const Armenian_TSO: Keysym = _

pub const Armenian_tso: Keysym = _

pub const Armenian_VYUN: Keysym = _

pub const Armenian_vyun: Keysym = _

pub const Armenian_PYUR: Keysym = _

pub const Armenian_pyur: Keysym = _

pub const Armenian_KE: Keysym = _

pub const Armenian_ke: Keysym = _

pub const Armenian_O: Keysym = _

pub const Armenian_o: Keysym = _

pub const Armenian_FE: Keysym = _

pub const Armenian_fe: Keysym = _

pub const Armenian_apostrophe: Keysym = _

pub const Georgian_an: Keysym = _

pub const Georgian_ban: Keysym = _

pub const Georgian_gan: Keysym = _

pub const Georgian_don: Keysym = _

pub const Georgian_en: Keysym = _

pub const Georgian_vin: Keysym = _

pub const Georgian_zen: Keysym = _

pub const Georgian_tan: Keysym = _

pub const Georgian_in: Keysym = _

pub const Georgian_kan: Keysym = _

pub const Georgian_las: Keysym = _

pub const Georgian_man: Keysym = _

pub const Georgian_nar: Keysym = _

pub const Georgian_on: Keysym = _

pub const Georgian_par: Keysym = _

pub const Georgian_zhar: Keysym = _

pub const Georgian_rae: Keysym = _

pub const Georgian_san: Keysym = _

pub const Georgian_tar: Keysym = _

pub const Georgian_un: Keysym = _

pub const Georgian_phar: Keysym = _

pub const Georgian_khar: Keysym = _

pub const Georgian_ghan: Keysym = _

pub const Georgian_qar: Keysym = _

pub const Georgian_shin: Keysym = _

pub const Georgian_chin: Keysym = _

pub const Georgian_can: Keysym = _

pub const Georgian_jil: Keysym = _

pub const Georgian_cil: Keysym = _

pub const Georgian_char: Keysym = _

pub const Georgian_xan: Keysym = _

pub const Georgian_jhan: Keysym = _

pub const Georgian_hae: Keysym = _

pub const Georgian_he: Keysym = _

pub const Georgian_hie: Keysym = _

pub const Georgian_we: Keysym = _

pub const Georgian_har: Keysym = _

pub const Georgian_hoe: Keysym = _

pub const Georgian_fi: Keysym = _

pub const Xabovedot: Keysym = _

pub const Ibreve: Keysym = _

pub const Zstroke: Keysym = _

pub const Gcaron: Keysym = _

pub const Ocaron: Keysym = _

pub const Obarred: Keysym = _

pub const xabovedot: Keysym = _

pub const ibreve: Keysym = _

pub const zstroke: Keysym = _

pub const gcaron: Keysym = _

pub const ocaron: Keysym = _

pub const obarred: Keysym = _

pub const SCHWA: Keysym = _

pub const schwa: Keysym = _

pub const EZH: Keysym = _

pub const ezh: Keysym = _

pub const Lbelowdot: Keysym = _

pub const lbelowdot: Keysym = _

pub const Abelowdot: Keysym = _

pub const abelowdot: Keysym = _

pub const Ahook: Keysym = _

pub const ahook: Keysym = _

pub const Acircumflexacute: Keysym = _

pub const acircumflexacute: Keysym = _

pub const Acircumflexgrave: Keysym = _

pub const acircumflexgrave: Keysym = _

pub const Acircumflexhook: Keysym = _

pub const acircumflexhook: Keysym = _

pub const Acircumflextilde: Keysym = _

pub const acircumflextilde: Keysym = _

pub const Acircumflexbelowdot: Keysym = _

pub const acircumflexbelowdot: Keysym = _

pub const Abreveacute: Keysym = _

pub const abreveacute: Keysym = _

pub const Abrevegrave: Keysym = _

pub const abrevegrave: Keysym = _

pub const Abrevehook: Keysym = _

pub const abrevehook: Keysym = _

pub const Abrevetilde: Keysym = _

pub const abrevetilde: Keysym = _

pub const Abrevebelowdot: Keysym = _

pub const abrevebelowdot: Keysym = _

pub const Ebelowdot: Keysym = _

pub const ebelowdot: Keysym = _

pub const Ehook: Keysym = _

pub const ehook: Keysym = _

pub const Etilde: Keysym = _

pub const etilde: Keysym = _

pub const Ecircumflexacute: Keysym = _

pub const ecircumflexacute: Keysym = _

pub const Ecircumflexgrave: Keysym = _

pub const ecircumflexgrave: Keysym = _

pub const Ecircumflexhook: Keysym = _

pub const ecircumflexhook: Keysym = _

pub const Ecircumflextilde: Keysym = _

pub const ecircumflextilde: Keysym = _

pub const Ecircumflexbelowdot: Keysym = _

pub const ecircumflexbelowdot: Keysym = _

pub const Ihook: Keysym = _

pub const ihook: Keysym = _

pub const Ibelowdot: Keysym = _

pub const ibelowdot: Keysym = _

pub const Obelowdot: Keysym = _

pub const obelowdot: Keysym = _

pub const Ohook: Keysym = _

pub const ohook: Keysym = _

pub const Ocircumflexacute: Keysym = _

pub const ocircumflexacute: Keysym = _

pub const Ocircumflexgrave: Keysym = _

pub const ocircumflexgrave: Keysym = _

pub const Ocircumflexhook: Keysym = _

pub const ocircumflexhook: Keysym = _

pub const Ocircumflextilde: Keysym = _

pub const ocircumflextilde: Keysym = _

pub const Ocircumflexbelowdot: Keysym = _

pub const ocircumflexbelowdot: Keysym = _

pub const Ohornacute: Keysym = _

pub const ohornacute: Keysym = _

pub const Ohorngrave: Keysym = _

pub const ohorngrave: Keysym = _

pub const Ohornhook: Keysym = _

pub const ohornhook: Keysym = _

pub const Ohorntilde: Keysym = _

pub const ohorntilde: Keysym = _

pub const Ohornbelowdot: Keysym = _

pub const ohornbelowdot: Keysym = _

pub const Ubelowdot: Keysym = _

pub const ubelowdot: Keysym = _

pub const Uhook: Keysym = _

pub const uhook: Keysym = _

pub const Uhornacute: Keysym = _

pub const uhornacute: Keysym = _

pub const Uhorngrave: Keysym = _

pub const uhorngrave: Keysym = _

pub const Uhornhook: Keysym = _

pub const uhornhook: Keysym = _

pub const Uhorntilde: Keysym = _

pub const uhorntilde: Keysym = _

pub const Uhornbelowdot: Keysym = _

pub const uhornbelowdot: Keysym = _

pub const Ybelowdot: Keysym = _

pub const ybelowdot: Keysym = _

pub const Yhook: Keysym = _

pub const yhook: Keysym = _

pub const Ytilde: Keysym = _

pub const ytilde: Keysym = _

pub const Ohorn: Keysym = _

pub const ohorn: Keysym = _

pub const Uhorn: Keysym = _

pub const uhorn: Keysym = _

pub const combining_tilde: Keysym = _

pub const combining_grave: Keysym = _

pub const combining_acute: Keysym = _

pub const combining_hook: Keysym = _

pub const combining_belowdot: Keysym = _

pub const EcuSign: Keysym = _

pub const ColonSign: Keysym = _

pub const CruzeiroSign: Keysym = _

pub const FFrancSign: Keysym = _

pub const LiraSign: Keysym = _

pub const MillSign: Keysym = _

pub const NairaSign: Keysym = _

pub const PesetaSign: Keysym = _

pub const RupeeSign: Keysym = _

pub const WonSign: Keysym = _

pub const NewSheqelSign: Keysym = _

pub const DongSign: Keysym = _

pub const EuroSign: Keysym = _

pub const zerosuperior: Keysym = _

pub const foursuperior: Keysym = _

pub const fivesuperior: Keysym = _

pub const sixsuperior: Keysym = _

pub const sevensuperior: Keysym = _

pub const eightsuperior: Keysym = _

pub const ninesuperior: Keysym = _

pub const zerosubscript: Keysym = _

pub const onesubscript: Keysym = _

pub const twosubscript: Keysym = _

pub const threesubscript: Keysym = _

pub const foursubscript: Keysym = _

pub const fivesubscript: Keysym = _

pub const sixsubscript: Keysym = _

pub const sevensubscript: Keysym = _

pub const eightsubscript: Keysym = _

pub const ninesubscript: Keysym = _

pub const partdifferential: Keysym = _

pub const emptyset: Keysym = _

pub const elementof: Keysym = _

pub const notelementof: Keysym = _

pub const containsas: Keysym = _

pub const squareroot: Keysym = _

pub const cuberoot: Keysym = _

pub const fourthroot: Keysym = _

pub const dintegral: Keysym = _

pub const tintegral: Keysym = _

pub const because: Keysym = _

pub const approxeq: Keysym = _

pub const notapproxeq: Keysym = _

pub const notidentical: Keysym = _

pub const stricteq: Keysym = _

pub const braille_dot_1: Keysym = _

pub const braille_dot_2: Keysym = _

pub const braille_dot_3: Keysym = _

pub const braille_dot_4: Keysym = _

pub const braille_dot_5: Keysym = _

pub const braille_dot_6: Keysym = _

pub const braille_dot_7: Keysym = _

pub const braille_dot_8: Keysym = _

pub const braille_dot_9: Keysym = _

pub const braille_dot_10: Keysym = _

pub const braille_blank: Keysym = _

pub const braille_dots_1: Keysym = _

pub const braille_dots_2: Keysym = _

pub const braille_dots_12: Keysym = _

pub const braille_dots_3: Keysym = _

pub const braille_dots_13: Keysym = _

pub const braille_dots_23: Keysym = _

pub const braille_dots_123: Keysym = _

pub const braille_dots_4: Keysym = _

pub const braille_dots_14: Keysym = _

pub const braille_dots_24: Keysym = _

pub const braille_dots_124: Keysym = _

pub const braille_dots_34: Keysym = _

pub const braille_dots_134: Keysym = _

pub const braille_dots_234: Keysym = _

pub const braille_dots_1234: Keysym = _

pub const braille_dots_5: Keysym = _

pub const braille_dots_15: Keysym = _

pub const braille_dots_25: Keysym = _

pub const braille_dots_125: Keysym = _

pub const braille_dots_35: Keysym = _

pub const braille_dots_135: Keysym = _

pub const braille_dots_235: Keysym = _

pub const braille_dots_1235: Keysym = _

pub const braille_dots_45: Keysym = _

pub const braille_dots_145: Keysym = _

pub const braille_dots_245: Keysym = _

pub const braille_dots_1245: Keysym = _

pub const braille_dots_345: Keysym = _

pub const braille_dots_1345: Keysym = _

pub const braille_dots_2345: Keysym = _

pub const braille_dots_12345: Keysym = _

pub const braille_dots_6: Keysym = _

pub const braille_dots_16: Keysym = _

pub const braille_dots_26: Keysym = _

pub const braille_dots_126: Keysym = _

pub const braille_dots_36: Keysym = _

pub const braille_dots_136: Keysym = _

pub const braille_dots_236: Keysym = _

pub const braille_dots_1236: Keysym = _

pub const braille_dots_46: Keysym = _

pub const braille_dots_146: Keysym = _

pub const braille_dots_246: Keysym = _

pub const braille_dots_1246: Keysym = _

pub const braille_dots_346: Keysym = _

pub const braille_dots_1346: Keysym = _

pub const braille_dots_2346: Keysym = _

pub const braille_dots_12346: Keysym = _

pub const braille_dots_56: Keysym = _

pub const braille_dots_156: Keysym = _

pub const braille_dots_256: Keysym = _

pub const braille_dots_1256: Keysym = _

pub const braille_dots_356: Keysym = _

pub const braille_dots_1356: Keysym = _

pub const braille_dots_2356: Keysym = _

pub const braille_dots_12356: Keysym = _

pub const braille_dots_456: Keysym = _

pub const braille_dots_1456: Keysym = _

pub const braille_dots_2456: Keysym = _

pub const braille_dots_12456: Keysym = _

pub const braille_dots_3456: Keysym = _

pub const braille_dots_13456: Keysym = _

pub const braille_dots_23456: Keysym = _

pub const braille_dots_123456: Keysym = _

pub const braille_dots_7: Keysym = _

pub const braille_dots_17: Keysym = _

pub const braille_dots_27: Keysym = _

pub const braille_dots_127: Keysym = _

pub const braille_dots_37: Keysym = _

pub const braille_dots_137: Keysym = _

pub const braille_dots_237: Keysym = _

pub const braille_dots_1237: Keysym = _

pub const braille_dots_47: Keysym = _

pub const braille_dots_147: Keysym = _

pub const braille_dots_247: Keysym = _

pub const braille_dots_1247: Keysym = _

pub const braille_dots_347: Keysym = _

pub const braille_dots_1347: Keysym = _

pub const braille_dots_2347: Keysym = _

pub const braille_dots_12347: Keysym = _

pub const braille_dots_57: Keysym = _

pub const braille_dots_157: Keysym = _

pub const braille_dots_257: Keysym = _

pub const braille_dots_1257: Keysym = _

pub const braille_dots_357: Keysym = _

pub const braille_dots_1357: Keysym = _

pub const braille_dots_2357: Keysym = _

pub const braille_dots_12357: Keysym = _

pub const braille_dots_457: Keysym = _

pub const braille_dots_1457: Keysym = _

pub const braille_dots_2457: Keysym = _

pub const braille_dots_12457: Keysym = _

pub const braille_dots_3457: Keysym = _

pub const braille_dots_13457: Keysym = _

pub const braille_dots_23457: Keysym = _

pub const braille_dots_123457: Keysym = _

pub const braille_dots_67: Keysym = _

pub const braille_dots_167: Keysym = _

pub const braille_dots_267: Keysym = _

pub const braille_dots_1267: Keysym = _

pub const braille_dots_367: Keysym = _

pub const braille_dots_1367: Keysym = _

pub const braille_dots_2367: Keysym = _

pub const braille_dots_12367: Keysym = _

pub const braille_dots_467: Keysym = _

pub const braille_dots_1467: Keysym = _

pub const braille_dots_2467: Keysym = _

pub const braille_dots_12467: Keysym = _

pub const braille_dots_3467: Keysym = _

pub const braille_dots_13467: Keysym = _

pub const braille_dots_23467: Keysym = _

pub const braille_dots_123467: Keysym = _

pub const braille_dots_567: Keysym = _

pub const braille_dots_1567: Keysym = _

pub const braille_dots_2567: Keysym = _

pub const braille_dots_12567: Keysym = _

pub const braille_dots_3567: Keysym = _

pub const braille_dots_13567: Keysym = _

pub const braille_dots_23567: Keysym = _

pub const braille_dots_123567: Keysym = _

pub const braille_dots_4567: Keysym = _

pub const braille_dots_14567: Keysym = _

pub const braille_dots_24567: Keysym = _

pub const braille_dots_124567: Keysym = _

pub const braille_dots_34567: Keysym = _

pub const braille_dots_134567: Keysym = _

pub const braille_dots_234567: Keysym = _

pub const braille_dots_1234567: Keysym = _

pub const braille_dots_8: Keysym = _

pub const braille_dots_18: Keysym = _

pub const braille_dots_28: Keysym = _

pub const braille_dots_128: Keysym = _

pub const braille_dots_38: Keysym = _

pub const braille_dots_138: Keysym = _

pub const braille_dots_238: Keysym = _

pub const braille_dots_1238: Keysym = _

pub const braille_dots_48: Keysym = _

pub const braille_dots_148: Keysym = _

pub const braille_dots_248: Keysym = _

pub const braille_dots_1248: Keysym = _

pub const braille_dots_348: Keysym = _

pub const braille_dots_1348: Keysym = _

pub const braille_dots_2348: Keysym = _

pub const braille_dots_12348: Keysym = _

pub const braille_dots_58: Keysym = _

pub const braille_dots_158: Keysym = _

pub const braille_dots_258: Keysym = _

pub const braille_dots_1258: Keysym = _

pub const braille_dots_358: Keysym = _

pub const braille_dots_1358: Keysym = _

pub const braille_dots_2358: Keysym = _

pub const braille_dots_12358: Keysym = _

pub const braille_dots_458: Keysym = _

pub const braille_dots_1458: Keysym = _

pub const braille_dots_2458: Keysym = _

pub const braille_dots_12458: Keysym = _

pub const braille_dots_3458: Keysym = _

pub const braille_dots_13458: Keysym = _

pub const braille_dots_23458: Keysym = _

pub const braille_dots_123458: Keysym = _

pub const braille_dots_68: Keysym = _

pub const braille_dots_168: Keysym = _

pub const braille_dots_268: Keysym = _

pub const braille_dots_1268: Keysym = _

pub const braille_dots_368: Keysym = _

pub const braille_dots_1368: Keysym = _

pub const braille_dots_2368: Keysym = _

pub const braille_dots_12368: Keysym = _

pub const braille_dots_468: Keysym = _

pub const braille_dots_1468: Keysym = _

pub const braille_dots_2468: Keysym = _

pub const braille_dots_12468: Keysym = _

pub const braille_dots_3468: Keysym = _

pub const braille_dots_13468: Keysym = _

pub const braille_dots_23468: Keysym = _

pub const braille_dots_123468: Keysym = _

pub const braille_dots_568: Keysym = _

pub const braille_dots_1568: Keysym = _

pub const braille_dots_2568: Keysym = _

pub const braille_dots_12568: Keysym = _

pub const braille_dots_3568: Keysym = _

pub const braille_dots_13568: Keysym = _

pub const braille_dots_23568: Keysym = _

pub const braille_dots_123568: Keysym = _

pub const braille_dots_4568: Keysym = _

pub const braille_dots_14568: Keysym = _

pub const braille_dots_24568: Keysym = _

pub const braille_dots_124568: Keysym = _

pub const braille_dots_34568: Keysym = _

pub const braille_dots_134568: Keysym = _

pub const braille_dots_234568: Keysym = _

pub const braille_dots_1234568: Keysym = _

pub const braille_dots_78: Keysym = _

pub const braille_dots_178: Keysym = _

pub const braille_dots_278: Keysym = _

pub const braille_dots_1278: Keysym = _

pub const braille_dots_378: Keysym = _

pub const braille_dots_1378: Keysym = _

pub const braille_dots_2378: Keysym = _

pub const braille_dots_12378: Keysym = _

pub const braille_dots_478: Keysym = _

pub const braille_dots_1478: Keysym = _

pub const braille_dots_2478: Keysym = _

pub const braille_dots_12478: Keysym = _

pub const braille_dots_3478: Keysym = _

pub const braille_dots_13478: Keysym = _

pub const braille_dots_23478: Keysym = _

pub const braille_dots_123478: Keysym = _

pub const braille_dots_578: Keysym = _

pub const braille_dots_1578: Keysym = _

pub const braille_dots_2578: Keysym = _

pub const braille_dots_12578: Keysym = _

pub const braille_dots_3578: Keysym = _

pub const braille_dots_13578: Keysym = _

pub const braille_dots_23578: Keysym = _

pub const braille_dots_123578: Keysym = _

pub const braille_dots_4578: Keysym = _

pub const braille_dots_14578: Keysym = _

pub const braille_dots_24578: Keysym = _

pub const braille_dots_124578: Keysym = _

pub const braille_dots_34578: Keysym = _

pub const braille_dots_134578: Keysym = _

pub const braille_dots_234578: Keysym = _

pub const braille_dots_1234578: Keysym = _

pub const braille_dots_678: Keysym = _

pub const braille_dots_1678: Keysym = _

pub const braille_dots_2678: Keysym = _

pub const braille_dots_12678: Keysym = _

pub const braille_dots_3678: Keysym = _

pub const braille_dots_13678: Keysym = _

pub const braille_dots_23678: Keysym = _

pub const braille_dots_123678: Keysym = _

pub const braille_dots_4678: Keysym = _

pub const braille_dots_14678: Keysym = _

pub const braille_dots_24678: Keysym = _

pub const braille_dots_124678: Keysym = _

pub const braille_dots_34678: Keysym = _

pub const braille_dots_134678: Keysym = _

pub const braille_dots_234678: Keysym = _

pub const braille_dots_1234678: Keysym = _

pub const braille_dots_5678: Keysym = _

pub const braille_dots_15678: Keysym = _

pub const braille_dots_25678: Keysym = _

pub const braille_dots_125678: Keysym = _

pub const braille_dots_35678: Keysym = _

pub const braille_dots_135678: Keysym = _

pub const braille_dots_235678: Keysym = _

pub const braille_dots_1235678: Keysym = _

pub const braille_dots_45678: Keysym = _

pub const braille_dots_145678: Keysym = _

pub const braille_dots_245678: Keysym = _

pub const braille_dots_1245678: Keysym = _

pub const braille_dots_345678: Keysym = _

pub const braille_dots_1345678: Keysym = _

pub const braille_dots_2345678: Keysym = _

pub const braille_dots_12345678: Keysym = _

pub const Sinh_ng: Keysym = _

pub const Sinh_h2: Keysym = _

pub const Sinh_a: Keysym = _

pub const Sinh_aa: Keysym = _

pub const Sinh_ae: Keysym = _

pub const Sinh_aee: Keysym = _

pub const Sinh_i: Keysym = _

pub const Sinh_ii: Keysym = _

pub const Sinh_u: Keysym = _

pub const Sinh_uu: Keysym = _

pub const Sinh_ri: Keysym = _

pub const Sinh_rii: Keysym = _

pub const Sinh_lu: Keysym = _

pub const Sinh_luu: Keysym = _

pub const Sinh_e: Keysym = _

pub const Sinh_ee: Keysym = _

pub const Sinh_ai: Keysym = _

pub const Sinh_o: Keysym = _

pub const Sinh_oo: Keysym = _

pub const Sinh_au: Keysym = _

pub const Sinh_ka: Keysym = _

pub const Sinh_kha: Keysym = _

pub const Sinh_ga: Keysym = _

pub const Sinh_gha: Keysym = _

pub const Sinh_ng2: Keysym = _

pub const Sinh_nga: Keysym = _

pub const Sinh_ca: Keysym = _

pub const Sinh_cha: Keysym = _

pub const Sinh_ja: Keysym = _

pub const Sinh_jha: Keysym = _

pub const Sinh_nya: Keysym = _

pub const Sinh_jnya: Keysym = _

pub const Sinh_nja: Keysym = _

pub const Sinh_tta: Keysym = _

pub const Sinh_ttha: Keysym = _

pub const Sinh_dda: Keysym = _

pub const Sinh_ddha: Keysym = _

pub const Sinh_nna: Keysym = _

pub const Sinh_ndda: Keysym = _

pub const Sinh_tha: Keysym = _

pub const Sinh_thha: Keysym = _

pub const Sinh_dha: Keysym = _

pub const Sinh_dhha: Keysym = _

pub const Sinh_na: Keysym = _

pub const Sinh_ndha: Keysym = _

pub const Sinh_pa: Keysym = _

pub const Sinh_pha: Keysym = _

pub const Sinh_ba: Keysym = _

pub const Sinh_bha: Keysym = _

pub const Sinh_ma: Keysym = _

pub const Sinh_mba: Keysym = _

pub const Sinh_ya: Keysym = _

pub const Sinh_ra: Keysym = _

pub const Sinh_la: Keysym = _

pub const Sinh_va: Keysym = _

pub const Sinh_sha: Keysym = _

pub const Sinh_ssha: Keysym = _

pub const Sinh_sa: Keysym = _

pub const Sinh_ha: Keysym = _

pub const Sinh_lla: Keysym = _

pub const Sinh_fa: Keysym = _

pub const Sinh_al: Keysym = _

pub const Sinh_aa2: Keysym = _

pub const Sinh_ae2: Keysym = _

pub const Sinh_aee2: Keysym = _

pub const Sinh_i2: Keysym = _

pub const Sinh_ii2: Keysym = _

pub const Sinh_u2: Keysym = _

pub const Sinh_uu2: Keysym = _

pub const Sinh_ru2: Keysym = _

pub const Sinh_e2: Keysym = _

pub const Sinh_ee2: Keysym = _

pub const Sinh_ai2: Keysym = _

pub const Sinh_o2: Keysym = _

pub const Sinh_oo2: Keysym = _

pub const Sinh_au2: Keysym = _

pub const Sinh_lu2: Keysym = _

pub const Sinh_ruu2: Keysym = _

pub const Sinh_luu2: Keysym = _

pub const Sinh_kunddaliya: Keysym = _

pub const XF86_ModeLock: Keysym = _

pub const XF86_MonBrightnessUp: Keysym = _

pub const XF86_MonBrightnessDown: Keysym = _

pub const XF86_KbdLightOnOff: Keysym = _

pub const XF86_KbdBrightnessUp: Keysym = _

pub const XF86_KbdBrightnessDown: Keysym = _

pub const XF86_MonBrightnessCycle: Keysym = _

pub const XF86_Standby: Keysym = _

pub const XF86_AudioLowerVolume: Keysym = _

pub const XF86_AudioMute: Keysym = _

pub const XF86_AudioRaiseVolume: Keysym = _

pub const XF86_AudioPlay: Keysym = _

pub const XF86_AudioStop: Keysym = _

pub const XF86_AudioPrev: Keysym = _

pub const XF86_AudioNext: Keysym = _

pub const XF86_HomePage: Keysym = _

pub const XF86_Mail: Keysym = _

pub const XF86_Start: Keysym = _

pub const XF86_AudioRecord: Keysym = _

pub const XF86_Calculator: Keysym = _

pub const XF86_Memo: Keysym = _

pub const XF86_ToDoList: Keysym = _

pub const XF86_Calendar: Keysym = _

pub const XF86_PowerDown: Keysym = _

pub const XF86_ContrastAdjust: Keysym = _

pub const XF86_RockerUp: Keysym = _

pub const XF86_RockerDown: Keysym = _

pub const XF86_RockerEnter: Keysym = _

pub const XF86_Back: Keysym = _

pub const XF86_Forward: Keysym = _

pub const XF86_Stop: Keysym = _

pub const XF86_Refresh: Keysym = _

pub const XF86_PowerOff: Keysym = _

pub const XF86_WakeUp: Keysym = _

pub const XF86_Eject: Keysym = _

pub const XF86_ScreenSaver: Keysym = _

pub const XF86_WWW: Keysym = _

pub const XF86_Sleep: Keysym = _

pub const XF86_Favorites: Keysym = _

pub const XF86_AudioPause: Keysym = _

pub const XF86_AudioMedia: Keysym = _

pub const XF86_MyComputer: Keysym = _

pub const XF86_VendorHome: Keysym = _

pub const XF86_LightBulb: Keysym = _

pub const XF86_Shop: Keysym = _

pub const XF86_History: Keysym = _

pub const XF86_OpenURL: Keysym = _

pub const XF86_AddFavorite: Keysym = _

pub const XF86_BrightnessAdjust: Keysym = _

pub const XF86_Finance: Keysym = _

pub const XF86_Community: Keysym = _

pub const XF86_AudioRewind: Keysym = _

pub const XF86_BackForward: Keysym = _

pub const XF86_Launch0: Keysym = _

pub const XF86_Launch1: Keysym = _

pub const XF86_Launch2: Keysym = _

pub const XF86_Launch3: Keysym = _

pub const XF86_Launch4: Keysym = _

pub const XF86_Launch5: Keysym = _

pub const XF86_Launch6: Keysym = _

pub const XF86_Launch7: Keysym = _

pub const XF86_Launch8: Keysym = _

pub const XF86_Launch9: Keysym = _

pub const XF86_LaunchA: Keysym = _

pub const XF86_LaunchB: Keysym = _

pub const XF86_LaunchC: Keysym = _

pub const XF86_LaunchD: Keysym = _

pub const XF86_LaunchE: Keysym = _

pub const XF86_LaunchF: Keysym = _

pub const XF86_ApplicationLeft: Keysym = _

pub const XF86_ApplicationRight: Keysym = _

pub const XF86_Book: Keysym = _

pub const XF86_CD: Keysym = _

pub const XF86_Calculater: Keysym = _

pub const XF86_Clear: Keysym = _

pub const XF86_Close: Keysym = _

pub const XF86_Copy: Keysym = _

pub const XF86_Cut: Keysym = _

pub const XF86_Display: Keysym = _

pub const XF86_DOS: Keysym = _

pub const XF86_Documents: Keysym = _

pub const XF86_Excel: Keysym = _

pub const XF86_Explorer: Keysym = _

pub const XF86_Game: Keysym = _

pub const XF86_Go: Keysym = _

pub const XF86_iTouch: Keysym = _

pub const XF86_LogOff: Keysym = _

pub const XF86_Market: Keysym = _

pub const XF86_Meeting: Keysym = _

pub const XF86_MenuKB: Keysym = _

pub const XF86_MenuPB: Keysym = _

pub const XF86_MySites: Keysym = _

pub const XF86_New: Keysym = _

pub const XF86_News: Keysym = _

pub const XF86_OfficeHome: Keysym = _

pub const XF86_Open: Keysym = _

pub const XF86_Option: Keysym = _

pub const XF86_Paste: Keysym = _

pub const XF86_Phone: Keysym = _

pub const XF86_Q: Keysym = _

pub const XF86_Reply: Keysym = _

pub const XF86_Reload: Keysym = _

pub const XF86_RotateWindows: Keysym = _

pub const XF86_RotationPB: Keysym = _

pub const XF86_RotationKB: Keysym = _

pub const XF86_Save: Keysym = _

pub const XF86_ScrollUp: Keysym = _

pub const XF86_ScrollDown: Keysym = _

pub const XF86_ScrollClick: Keysym = _

pub const XF86_Send: Keysym = _

pub const XF86_Spell: Keysym = _

pub const XF86_SplitScreen: Keysym = _

pub const XF86_Support: Keysym = _

pub const XF86_TaskPane: Keysym = _

pub const XF86_Terminal: Keysym = _

pub const XF86_Tools: Keysym = _

pub const XF86_Travel: Keysym = _

pub const XF86_UserPB: Keysym = _

pub const XF86_User1KB: Keysym = _

pub const XF86_User2KB: Keysym = _

pub const XF86_Video: Keysym = _

pub const XF86_WheelButton: Keysym = _

pub const XF86_Word: Keysym = _

pub const XF86_Xfer: Keysym = _

pub const XF86_ZoomIn: Keysym = _

pub const XF86_ZoomOut: Keysym = _

pub const XF86_Away: Keysym = _

pub const XF86_Messenger: Keysym = _

pub const XF86_WebCam: Keysym = _

pub const XF86_MailForward: Keysym = _

pub const XF86_Pictures: Keysym = _

pub const XF86_Music: Keysym = _

pub const XF86_Battery: Keysym = _

pub const XF86_Bluetooth: Keysym = _

pub const XF86_WLAN: Keysym = _

pub const XF86_UWB: Keysym = _

pub const XF86_AudioForward: Keysym = _

pub const XF86_AudioRepeat: Keysym = _

pub const XF86_AudioRandomPlay: Keysym = _

pub const XF86_Subtitle: Keysym = _

pub const XF86_AudioCycleTrack: Keysym = _

pub const XF86_CycleAngle: Keysym = _

pub const XF86_FrameBack: Keysym = _

pub const XF86_FrameForward: Keysym = _

pub const XF86_Time: Keysym = _

pub const XF86_Select: Keysym = _

pub const XF86_View: Keysym = _

pub const XF86_TopMenu: Keysym = _

pub const XF86_Red: Keysym = _

pub const XF86_Green: Keysym = _

pub const XF86_Yellow: Keysym = _

pub const XF86_Blue: Keysym = _

pub const XF86_Suspend: Keysym = _

pub const XF86_Hibernate: Keysym = _

pub const XF86_TouchpadToggle: Keysym = _

pub const XF86_TouchpadOn: Keysym = _

pub const XF86_TouchpadOff: Keysym = _

pub const XF86_AudioMicMute: Keysym = _

pub const XF86_Keyboard: Keysym = _

pub const XF86_WWAN: Keysym = _

pub const XF86_RFKill: Keysym = _

pub const XF86_AudioPreset: Keysym = _

pub const XF86_RotationLockToggle: Keysym = _

pub const XF86_FullScreen: Keysym = _

pub const XF86_Switch_VT_1: Keysym = _

pub const XF86_Switch_VT_2: Keysym = _

pub const XF86_Switch_VT_3: Keysym = _

pub const XF86_Switch_VT_4: Keysym = _

pub const XF86_Switch_VT_5: Keysym = _

pub const XF86_Switch_VT_6: Keysym = _

pub const XF86_Switch_VT_7: Keysym = _

pub const XF86_Switch_VT_8: Keysym = _

pub const XF86_Switch_VT_9: Keysym = _

pub const XF86_Switch_VT_10: Keysym = _

pub const XF86_Switch_VT_11: Keysym = _

pub const XF86_Switch_VT_12: Keysym = _

pub const XF86_Ungrab: Keysym = _

pub const XF86_ClearGrab: Keysym = _

pub const XF86_Next_VMode: Keysym = _

pub const XF86_Prev_VMode: Keysym = _

pub const XF86_LogWindowTree: Keysym = _

pub const XF86_LogGrabInfo: Keysym = _

pub const XF86_BrightnessAuto: Keysym = _

pub const XF86_DisplayOff: Keysym = _

pub const XF86_Info: Keysym = _

pub const XF86_AspectRatio: Keysym = _

pub const XF86_DVD: Keysym = _

pub const XF86_Audio: Keysym = _

pub const XF86_ChannelUp: Keysym = _

pub const XF86_ChannelDown: Keysym = _

pub const XF86_Break: Keysym = _

pub const XF86_VideoPhone: Keysym = _

pub const XF86_ZoomReset: Keysym = _

pub const XF86_Editor: Keysym = _

pub const XF86_GraphicsEditor: Keysym = _

pub const XF86_Presentation: Keysym = _

pub const XF86_Database: Keysym = _

pub const XF86_Voicemail: Keysym = _

pub const XF86_Addressbook: Keysym = _

pub const XF86_DisplayToggle: Keysym = _

pub const XF86_SpellCheck: Keysym = _

pub const XF86_ContextMenu: Keysym = _

pub const XF86_MediaRepeat: Keysym = _

pub const XF86_10ChannelsUp: Keysym = _

pub const XF86_10ChannelsDown: Keysym = _

pub const XF86_Images: Keysym = _

pub const XF86_NotificationCenter: Keysym = _

pub const XF86_PickupPhone: Keysym = _

pub const XF86_HangupPhone: Keysym = _

pub const XF86_Fn: Keysym = _

pub const XF86_Fn_Esc: Keysym = _

pub const XF86_FnRightShift: Keysym = _

pub const XF86_Numeric0: Keysym = _

pub const XF86_Numeric1: Keysym = _

pub const XF86_Numeric2: Keysym = _

pub const XF86_Numeric3: Keysym = _

pub const XF86_Numeric4: Keysym = _

pub const XF86_Numeric5: Keysym = _

pub const XF86_Numeric6: Keysym = _

pub const XF86_Numeric7: Keysym = _

pub const XF86_Numeric8: Keysym = _

pub const XF86_Numeric9: Keysym = _

pub const XF86_NumericStar: Keysym = _

pub const XF86_NumericPound: Keysym = _

pub const XF86_NumericA: Keysym = _

pub const XF86_NumericB: Keysym = _

pub const XF86_NumericC: Keysym = _

pub const XF86_NumericD: Keysym = _

pub const XF86_CameraFocus: Keysym = _

pub const XF86_WPSButton: Keysym = _

pub const XF86_CameraZoomIn: Keysym = _

pub const XF86_CameraZoomOut: Keysym = _

pub const XF86_CameraUp: Keysym = _

pub const XF86_CameraDown: Keysym = _

pub const XF86_CameraLeft: Keysym = _

pub const XF86_CameraRight: Keysym = _

pub const XF86_AttendantOn: Keysym = _

pub const XF86_AttendantOff: Keysym = _

pub const XF86_AttendantToggle: Keysym = _

pub const XF86_LightsToggle: Keysym = _

pub const XF86_ALSToggle: Keysym = _

pub const XF86_Buttonconfig: Keysym = _

pub const XF86_Taskmanager: Keysym = _

pub const XF86_Journal: Keysym = _

pub const XF86_ControlPanel: Keysym = _

pub const XF86_AppSelect: Keysym = _

pub const XF86_Screensaver: Keysym = _

pub const XF86_VoiceCommand: Keysym = _

pub const XF86_Assistant: Keysym = _

pub const XF86_EmojiPicker: Keysym = _

pub const XF86_Dictate: Keysym = _

pub const XF86_CameraAccessEnable: Keysym = _

pub const XF86_CameraAccessDisable: Keysym = _

pub const XF86_CameraAccessToggle: Keysym = _

pub const XF86_BrightnessMin: Keysym = _

pub const XF86_BrightnessMax: Keysym = _

pub const XF86_KbdInputAssistPrev: Keysym = _

pub const XF86_KbdInputAssistNext: Keysym = _

pub const XF86_KbdInputAssistPrevgroup: Keysym = _

pub const XF86_KbdInputAssistNextgroup: Keysym = _

pub const XF86_KbdInputAssistAccept: Keysym = _

pub const XF86_KbdInputAssistCancel: Keysym = _

pub const XF86_RightUp: Keysym = _

pub const XF86_RightDown: Keysym = _

pub const XF86_LeftUp: Keysym = _

pub const XF86_LeftDown: Keysym = _

pub const XF86_RootMenu: Keysym = _

pub const XF86_MediaTopMenu: Keysym = _

pub const XF86_Numeric11: Keysym = _

pub const XF86_Numeric12: Keysym = _

pub const XF86_AudioDesc: Keysym = _

pub const XF86_3DMode: Keysym = _

pub const XF86_NextFavorite: Keysym = _

pub const XF86_StopRecord: Keysym = _

pub const XF86_PauseRecord: Keysym = _

pub const XF86_VOD: Keysym = _

pub const XF86_Unmute: Keysym = _

pub const XF86_FastReverse: Keysym = _

pub const XF86_SlowReverse: Keysym = _

pub const XF86_Data: Keysym = _

pub const XF86_OnScreenKeyboard: Keysym = _

pub const XF86_PrivacyScreenToggle: Keysym = _

pub const XF86_SelectiveScreenshot: Keysym = _

pub const XF86_NextElement: Keysym = _

pub const XF86_PreviousElement: Keysym = _

pub const XF86_AutopilotEngageToggle: Keysym = _

pub const XF86_MarkWaypoint: Keysym = _

pub const XF86_Sos: Keysym = _

pub const XF86_NavChart: Keysym = _

pub const XF86_FishingChart: Keysym = _

pub const XF86_SingleRangeRadar: Keysym = _

pub const XF86_DualRangeRadar: Keysym = _

pub const XF86_RadarOverlay: Keysym = _

pub const XF86_TraditionalSonar: Keysym = _

pub const XF86_ClearvuSonar: Keysym = _

pub const XF86_SidevuSonar: Keysym = _

pub const XF86_NavInfo: Keysym = _

pub const XF86_Macro1: Keysym = _

pub const XF86_Macro2: Keysym = _

pub const XF86_Macro3: Keysym = _

pub const XF86_Macro4: Keysym = _

pub const XF86_Macro5: Keysym = _

pub const XF86_Macro6: Keysym = _

pub const XF86_Macro7: Keysym = _

pub const XF86_Macro8: Keysym = _

pub const XF86_Macro9: Keysym = _

pub const XF86_Macro10: Keysym = _

pub const XF86_Macro11: Keysym = _

pub const XF86_Macro12: Keysym = _

pub const XF86_Macro13: Keysym = _

pub const XF86_Macro14: Keysym = _

pub const XF86_Macro15: Keysym = _

pub const XF86_Macro16: Keysym = _

pub const XF86_Macro17: Keysym = _

pub const XF86_Macro18: Keysym = _

pub const XF86_Macro19: Keysym = _

pub const XF86_Macro20: Keysym = _

pub const XF86_Macro21: Keysym = _

pub const XF86_Macro22: Keysym = _

pub const XF86_Macro23: Keysym = _

pub const XF86_Macro24: Keysym = _

pub const XF86_Macro25: Keysym = _

pub const XF86_Macro26: Keysym = _

pub const XF86_Macro27: Keysym = _

pub const XF86_Macro28: Keysym = _

pub const XF86_Macro29: Keysym = _

pub const XF86_Macro30: Keysym = _

pub const XF86_MacroRecordStart: Keysym = _

pub const XF86_MacroRecordStop: Keysym = _

pub const XF86_MacroPresetCycle: Keysym = _

pub const XF86_MacroPreset1: Keysym = _

pub const XF86_MacroPreset2: Keysym = _

pub const XF86_MacroPreset3: Keysym = _

pub const XF86_KbdLcdMenu1: Keysym = _

pub const XF86_KbdLcdMenu2: Keysym = _

pub const XF86_KbdLcdMenu3: Keysym = _

pub const XF86_KbdLcdMenu4: Keysym = _

pub const XF86_KbdLcdMenu5: Keysym = _

pub const SUN_FA_Grave: Keysym = _

pub const SUN_FA_Circum: Keysym = _

pub const SUN_FA_Tilde: Keysym = _

pub const SUN_FA_Acute: Keysym = _

pub const SUN_FA_Diaeresis: Keysym = _

pub const SUN_FA_Cedilla: Keysym = _

pub const SUN_F36: Keysym = _

pub const SUN_F37: Keysym = _

pub const SUN_Sys_Req: Keysym = _

pub const SUN_Print_Screen: Keysym = _

pub const SUN_Compose: Keysym = _

pub const SUN_AltGraph: Keysym = _

pub const SUN_PageUp: Keysym = _

pub const SUN_PageDown: Keysym = _

pub const SUN_Undo: Keysym = _

pub const SUN_Again: Keysym = _

pub const SUN_Find: Keysym = _

pub const SUN_Stop: Keysym = _

pub const SUN_Props: Keysym = _

pub const SUN_Front: Keysym = _

pub const SUN_Copy: Keysym = _

pub const SUN_Open: Keysym = _

pub const SUN_Paste: Keysym = _

pub const SUN_Cut: Keysym = _

pub const SUN_PowerSwitch: Keysym = _

pub const SUN_AudioLowerVolume: Keysym = _

pub const SUN_AudioMute: Keysym = _

pub const SUN_AudioRaiseVolume: Keysym = _

pub const SUN_VideoDegauss: Keysym = _

pub const SUN_VideoLowerBrightness: Keysym = _

pub const SUN_VideoRaiseBrightness: Keysym = _

pub const SUN_PowerSwitchShift: Keysym = _

pub const D_ring_accent: Keysym = _

pub const D_circumflex_accent: Keysym = _

pub const D_cedilla_accent: Keysym = _

pub const D_acute_accent: Keysym = _

pub const D_grave_accent: Keysym = _

pub const D_tilde: Keysym = _

pub const D_diaeresis: Keysym = _

pub const D_Remove: Keysym = _

pub const HP_ClearLine: Keysym = _

pub const HP_InsertLine: Keysym = _

pub const HP_DeleteLine: Keysym = _

pub const HP_InsertChar: Keysym = _

pub const HP_DeleteChar: Keysym = _

pub const HP_BackTab: Keysym = _

pub const HP_KP_BackTab: Keysym = _

pub const HP_Modelock1: Keysym = _

pub const HP_Modelock2: Keysym = _

pub const HP_Reset: Keysym = _

pub const HP_System: Keysym = _

pub const HP_User: Keysym = _

pub const HP_mute_acute: Keysym = _

pub const HP_mute_grave: Keysym = _

pub const HP_mute_asciicircum: Keysym = _

pub const HP_mute_diaeresis: Keysym = _

pub const HP_mute_asciitilde: Keysym = _

pub const HP_lira: Keysym = _

pub const HP_guilder: Keysym = _

pub const HP_IO: Keysym = _

pub const HP_longminus: Keysym = _

pub const HP_block: Keysym = _

pub const OSF_Copy: Keysym = _

pub const OSF_Cut: Keysym = _

pub const OSF_Paste: Keysym = _

pub const OSF_BackTab: Keysym = _

pub const OSF_BackSpace: Keysym = _

pub const OSF_Clear: Keysym = _

pub const OSF_Escape: Keysym = _

pub const OSF_AddMode: Keysym = _

pub const OSF_PrimaryPaste: Keysym = _

pub const OSF_QuickPaste: Keysym = _

pub const OSF_PageLeft: Keysym = _

pub const OSF_PageUp: Keysym = _

pub const OSF_PageDown: Keysym = _

pub const OSF_PageRight: Keysym = _

pub const OSF_Activate: Keysym = _

pub const OSF_MenuBar: Keysym = _

pub const OSF_Left: Keysym = _

pub const OSF_Up: Keysym = _

pub const OSF_Right: Keysym = _

pub const OSF_Down: Keysym = _

pub const OSF_EndLine: Keysym = _

pub const OSF_BeginLine: Keysym = _

pub const OSF_EndData: Keysym = _

pub const OSF_BeginData: Keysym = _

pub const OSF_PrevMenu: Keysym = _

pub const OSF_NextMenu: Keysym = _

pub const OSF_PrevField: Keysym = _

pub const OSF_NextField: Keysym = _

pub const OSF_Select: Keysym = _

pub const OSF_Insert: Keysym = _

pub const OSF_Undo: Keysym = _

pub const OSF_Menu: Keysym = _

pub const OSF_Cancel: Keysym = _

pub const OSF_Help: Keysym = _

pub const OSF_SelectAll: Keysym = _

pub const OSF_DeselectAll: Keysym = _

pub const OSF_Reselect: Keysym = _

pub const OSF_Extend: Keysym = _

pub const OSF_Restore: Keysym = _

pub const OSF_Delete: Keysym = _

pub const Reset: Keysym = _

pub const System: Keysym = _

pub const User: Keysym = _

pub const ClearLine: Keysym = _

pub const InsertLine: Keysym = _

pub const DeleteLine: Keysym = _

pub const InsertChar: Keysym = _

pub const DeleteChar: Keysym = _

pub const BackTab: Keysym = _

pub const KP_BackTab: Keysym = _

pub const Ext16bit_L: Keysym = _

pub const Ext16bit_R: Keysym = _

pub const mute_acute: Keysym = _

pub const mute_grave: Keysym = _

pub const mute_asciicircum: Keysym = _

pub const mute_diaeresis: Keysym = _

pub const mute_asciitilde: Keysym = _

pub const lira: Keysym = _

pub const guilder: Keysym = _

pub const IO: Keysym = _

pub const longminus: Keysym = _

pub const block: Keysym = _

§

impl Keysym

pub const fn new(raw: u32) -> Keysym

Create a new Keysym from a raw keyboard symbol.

-

pub const fn raw(self) -> u32

Get the raw keyboard symbol.

-

pub const fn name(self) -> Option<&'static str>

Get a string corresponding to the name of this keyboard symbol.

+

pub const VoidSymbol: Keysym = _

pub const BackSpace: Keysym = _

pub const Tab: Keysym = _

pub const Linefeed: Keysym = _

pub const Clear: Keysym = _

pub const Return: Keysym = _

pub const Pause: Keysym = _

pub const Scroll_Lock: Keysym = _

pub const Sys_Req: Keysym = _

pub const Escape: Keysym = _

pub const Delete: Keysym = _

pub const Multi_key: Keysym = _

pub const Codeinput: Keysym = _

pub const SingleCandidate: Keysym = _

pub const MultipleCandidate: Keysym = _

pub const PreviousCandidate: Keysym = _

pub const Kanji: Keysym = _

pub const Muhenkan: Keysym = _

pub const Henkan_Mode: Keysym = _

pub const Henkan: Keysym = _

pub const Romaji: Keysym = _

pub const Hiragana: Keysym = _

pub const Katakana: Keysym = _

pub const Hiragana_Katakana: Keysym = _

pub const Zenkaku: Keysym = _

pub const Hankaku: Keysym = _

pub const Zenkaku_Hankaku: Keysym = _

pub const Touroku: Keysym = _

pub const Massyo: Keysym = _

pub const Kana_Lock: Keysym = _

pub const Kana_Shift: Keysym = _

pub const Eisu_Shift: Keysym = _

pub const Eisu_toggle: Keysym = _

pub const Kanji_Bangou: Keysym = _

pub const Zen_Koho: Keysym = _

pub const Mae_Koho: Keysym = _

pub const Home: Keysym = _

pub const Left: Keysym = _

pub const Up: Keysym = _

pub const Right: Keysym = _

pub const Down: Keysym = _

pub const Prior: Keysym = _

pub const Page_Up: Keysym = _

pub const Next: Keysym = _

pub const Page_Down: Keysym = _

pub const End: Keysym = _

pub const Begin: Keysym = _

pub const Select: Keysym = _

pub const Print: Keysym = _

pub const Execute: Keysym = _

pub const Insert: Keysym = _

pub const Undo: Keysym = _

pub const Redo: Keysym = _

pub const Menu: Keysym = _

pub const Find: Keysym = _

pub const Cancel: Keysym = _

pub const Help: Keysym = _

pub const Break: Keysym = _

pub const Mode_switch: Keysym = _

pub const script_switch: Keysym = _

pub const Num_Lock: Keysym = _

pub const KP_Space: Keysym = _

pub const KP_Tab: Keysym = _

pub const KP_Enter: Keysym = _

pub const KP_F1: Keysym = _

pub const KP_F2: Keysym = _

pub const KP_F3: Keysym = _

pub const KP_F4: Keysym = _

pub const KP_Home: Keysym = _

pub const KP_Left: Keysym = _

pub const KP_Up: Keysym = _

pub const KP_Right: Keysym = _

pub const KP_Down: Keysym = _

pub const KP_Prior: Keysym = _

pub const KP_Page_Up: Keysym = _

pub const KP_Next: Keysym = _

pub const KP_Page_Down: Keysym = _

pub const KP_End: Keysym = _

pub const KP_Begin: Keysym = _

pub const KP_Insert: Keysym = _

pub const KP_Delete: Keysym = _

pub const KP_Equal: Keysym = _

pub const KP_Multiply: Keysym = _

pub const KP_Add: Keysym = _

pub const KP_Separator: Keysym = _

pub const KP_Subtract: Keysym = _

pub const KP_Decimal: Keysym = _

pub const KP_Divide: Keysym = _

pub const KP_0: Keysym = _

pub const KP_1: Keysym = _

pub const KP_2: Keysym = _

pub const KP_3: Keysym = _

pub const KP_4: Keysym = _

pub const KP_5: Keysym = _

pub const KP_6: Keysym = _

pub const KP_7: Keysym = _

pub const KP_8: Keysym = _

pub const KP_9: Keysym = _

pub const F1: Keysym = _

pub const F2: Keysym = _

pub const F3: Keysym = _

pub const F4: Keysym = _

pub const F5: Keysym = _

pub const F6: Keysym = _

pub const F7: Keysym = _

pub const F8: Keysym = _

pub const F9: Keysym = _

pub const F10: Keysym = _

pub const F11: Keysym = _

pub const L1: Keysym = _

pub const F12: Keysym = _

pub const L2: Keysym = _

pub const F13: Keysym = _

pub const L3: Keysym = _

pub const F14: Keysym = _

pub const L4: Keysym = _

pub const F15: Keysym = _

pub const L5: Keysym = _

pub const F16: Keysym = _

pub const L6: Keysym = _

pub const F17: Keysym = _

pub const L7: Keysym = _

pub const F18: Keysym = _

pub const L8: Keysym = _

pub const F19: Keysym = _

pub const L9: Keysym = _

pub const F20: Keysym = _

pub const L10: Keysym = _

pub const F21: Keysym = _

pub const R1: Keysym = _

pub const F22: Keysym = _

pub const R2: Keysym = _

pub const F23: Keysym = _

pub const R3: Keysym = _

pub const F24: Keysym = _

pub const R4: Keysym = _

pub const F25: Keysym = _

pub const R5: Keysym = _

pub const F26: Keysym = _

pub const R6: Keysym = _

pub const F27: Keysym = _

pub const R7: Keysym = _

pub const F28: Keysym = _

pub const R8: Keysym = _

pub const F29: Keysym = _

pub const R9: Keysym = _

pub const F30: Keysym = _

pub const R10: Keysym = _

pub const F31: Keysym = _

pub const R11: Keysym = _

pub const F32: Keysym = _

pub const R12: Keysym = _

pub const F33: Keysym = _

pub const R13: Keysym = _

pub const F34: Keysym = _

pub const R14: Keysym = _

pub const F35: Keysym = _

pub const R15: Keysym = _

pub const Shift_L: Keysym = _

pub const Shift_R: Keysym = _

pub const Control_L: Keysym = _

pub const Control_R: Keysym = _

pub const Caps_Lock: Keysym = _

pub const Shift_Lock: Keysym = _

pub const Meta_L: Keysym = _

pub const Meta_R: Keysym = _

pub const Alt_L: Keysym = _

pub const Alt_R: Keysym = _

pub const Super_L: Keysym = _

pub const Super_R: Keysym = _

pub const Hyper_L: Keysym = _

pub const Hyper_R: Keysym = _

pub const ISO_Lock: Keysym = _

pub const ISO_Level2_Latch: Keysym = _

pub const ISO_Level3_Shift: Keysym = _

pub const ISO_Level3_Latch: Keysym = _

pub const ISO_Level3_Lock: Keysym = _

pub const ISO_Level5_Shift: Keysym = _

pub const ISO_Level5_Latch: Keysym = _

pub const ISO_Level5_Lock: Keysym = _

pub const ISO_Group_Shift: Keysym = _

pub const ISO_Group_Latch: Keysym = _

pub const ISO_Group_Lock: Keysym = _

pub const ISO_Next_Group: Keysym = _

pub const ISO_Next_Group_Lock: Keysym = _

pub const ISO_Prev_Group: Keysym = _

pub const ISO_Prev_Group_Lock: Keysym = _

pub const ISO_First_Group: Keysym = _

pub const ISO_First_Group_Lock: Keysym = _

pub const ISO_Last_Group: Keysym = _

pub const ISO_Last_Group_Lock: Keysym = _

pub const ISO_Left_Tab: Keysym = _

pub const ISO_Move_Line_Up: Keysym = _

pub const ISO_Move_Line_Down: Keysym = _

pub const ISO_Partial_Line_Up: Keysym = _

pub const ISO_Partial_Line_Down: Keysym = _

pub const ISO_Partial_Space_Left: Keysym = _

pub const ISO_Partial_Space_Right: Keysym = _

pub const ISO_Set_Margin_Left: Keysym = _

pub const ISO_Set_Margin_Right: Keysym = _

pub const ISO_Release_Margin_Left: Keysym = _

pub const ISO_Release_Margin_Right: Keysym = _

pub const ISO_Release_Both_Margins: Keysym = _

pub const ISO_Fast_Cursor_Left: Keysym = _

pub const ISO_Fast_Cursor_Right: Keysym = _

pub const ISO_Fast_Cursor_Up: Keysym = _

pub const ISO_Fast_Cursor_Down: Keysym = _

pub const ISO_Continuous_Underline: Keysym = _

pub const ISO_Discontinuous_Underline: Keysym = _

pub const ISO_Emphasize: Keysym = _

pub const ISO_Center_Object: Keysym = _

pub const ISO_Enter: Keysym = _

pub const dead_grave: Keysym = _

pub const dead_acute: Keysym = _

pub const dead_circumflex: Keysym = _

pub const dead_tilde: Keysym = _

pub const dead_perispomeni: Keysym = _

pub const dead_macron: Keysym = _

pub const dead_breve: Keysym = _

pub const dead_abovedot: Keysym = _

pub const dead_diaeresis: Keysym = _

pub const dead_abovering: Keysym = _

pub const dead_doubleacute: Keysym = _

pub const dead_caron: Keysym = _

pub const dead_cedilla: Keysym = _

pub const dead_ogonek: Keysym = _

pub const dead_iota: Keysym = _

pub const dead_voiced_sound: Keysym = _

pub const dead_semivoiced_sound: Keysym = _

pub const dead_belowdot: Keysym = _

pub const dead_hook: Keysym = _

pub const dead_horn: Keysym = _

pub const dead_stroke: Keysym = _

pub const dead_abovecomma: Keysym = _

pub const dead_psili: Keysym = _

pub const dead_abovereversedcomma: Keysym = _

pub const dead_dasia: Keysym = _

pub const dead_doublegrave: Keysym = _

pub const dead_belowring: Keysym = _

pub const dead_belowmacron: Keysym = _

pub const dead_belowcircumflex: Keysym = _

pub const dead_belowtilde: Keysym = _

pub const dead_belowbreve: Keysym = _

pub const dead_belowdiaeresis: Keysym = _

pub const dead_invertedbreve: Keysym = _

pub const dead_belowcomma: Keysym = _

pub const dead_currency: Keysym = _

pub const dead_lowline: Keysym = _

pub const dead_aboveverticalline: Keysym = _

pub const dead_belowverticalline: Keysym = _

pub const dead_longsolidusoverlay: Keysym = _

pub const dead_a: Keysym = _

pub const dead_A: Keysym = _

pub const dead_e: Keysym = _

pub const dead_E: Keysym = _

pub const dead_i: Keysym = _

pub const dead_I: Keysym = _

pub const dead_o: Keysym = _

pub const dead_O: Keysym = _

pub const dead_u: Keysym = _

pub const dead_U: Keysym = _

pub const dead_small_schwa: Keysym = _

pub const dead_schwa: Keysym = _

pub const dead_capital_schwa: Keysym = _

pub const dead_SCHWA: Keysym = _

pub const dead_greek: Keysym = _

pub const dead_hamza: Keysym = _

pub const First_Virtual_Screen: Keysym = _

pub const Prev_Virtual_Screen: Keysym = _

pub const Next_Virtual_Screen: Keysym = _

pub const Last_Virtual_Screen: Keysym = _

pub const Terminate_Server: Keysym = _

pub const AccessX_Enable: Keysym = _

pub const AccessX_Feedback_Enable: Keysym = _

pub const RepeatKeys_Enable: Keysym = _

pub const SlowKeys_Enable: Keysym = _

pub const BounceKeys_Enable: Keysym = _

pub const StickyKeys_Enable: Keysym = _

pub const MouseKeys_Enable: Keysym = _

pub const MouseKeys_Accel_Enable: Keysym = _

pub const Overlay1_Enable: Keysym = _

pub const Overlay2_Enable: Keysym = _

pub const AudibleBell_Enable: Keysym = _

pub const Pointer_Left: Keysym = _

pub const Pointer_Right: Keysym = _

pub const Pointer_Up: Keysym = _

pub const Pointer_Down: Keysym = _

pub const Pointer_UpLeft: Keysym = _

pub const Pointer_UpRight: Keysym = _

pub const Pointer_DownLeft: Keysym = _

pub const Pointer_DownRight: Keysym = _

pub const Pointer_Button_Dflt: Keysym = _

pub const Pointer_Button1: Keysym = _

pub const Pointer_Button2: Keysym = _

pub const Pointer_Button3: Keysym = _

pub const Pointer_Button4: Keysym = _

pub const Pointer_Button5: Keysym = _

pub const Pointer_DblClick_Dflt: Keysym = _

pub const Pointer_DblClick1: Keysym = _

pub const Pointer_DblClick2: Keysym = _

pub const Pointer_DblClick3: Keysym = _

pub const Pointer_DblClick4: Keysym = _

pub const Pointer_DblClick5: Keysym = _

pub const Pointer_Drag_Dflt: Keysym = _

pub const Pointer_Drag1: Keysym = _

pub const Pointer_Drag2: Keysym = _

pub const Pointer_Drag3: Keysym = _

pub const Pointer_Drag4: Keysym = _

pub const Pointer_Drag5: Keysym = _

pub const Pointer_EnableKeys: Keysym = _

pub const Pointer_Accelerate: Keysym = _

pub const Pointer_DfltBtnNext: Keysym = _

pub const Pointer_DfltBtnPrev: Keysym = _

pub const ch: Keysym = _

pub const Ch: Keysym = _

pub const CH: Keysym = _

pub const c_h: Keysym = _

pub const C_h: Keysym = _

pub const C_H: Keysym = _

pub const _3270_Duplicate: Keysym = _

pub const _3270_FieldMark: Keysym = _

pub const _3270_Right2: Keysym = _

pub const _3270_Left2: Keysym = _

pub const _3270_BackTab: Keysym = _

pub const _3270_EraseEOF: Keysym = _

pub const _3270_EraseInput: Keysym = _

pub const _3270_Reset: Keysym = _

pub const _3270_Quit: Keysym = _

pub const _3270_PA1: Keysym = _

pub const _3270_PA2: Keysym = _

pub const _3270_PA3: Keysym = _

pub const _3270_Test: Keysym = _

pub const _3270_Attn: Keysym = _

pub const _3270_AltCursor: Keysym = _

pub const _3270_KeyClick: Keysym = _

pub const _3270_Jump: Keysym = _

pub const _3270_Ident: Keysym = _

pub const _3270_Rule: Keysym = _

pub const _3270_Copy: Keysym = _

pub const _3270_Play: Keysym = _

pub const _3270_Setup: Keysym = _

pub const _3270_Record: Keysym = _

pub const _3270_ChangeScreen: Keysym = _

pub const _3270_DeleteWord: Keysym = _

pub const _3270_ExSelect: Keysym = _

pub const _3270_CursorSelect: Keysym = _

pub const _3270_PrintScreen: Keysym = _

pub const _3270_Enter: Keysym = _

pub const space: Keysym = _

pub const exclam: Keysym = _

pub const quotedbl: Keysym = _

pub const numbersign: Keysym = _

pub const dollar: Keysym = _

pub const percent: Keysym = _

pub const ampersand: Keysym = _

pub const apostrophe: Keysym = _

pub const quoteright: Keysym = _

pub const parenleft: Keysym = _

pub const parenright: Keysym = _

pub const asterisk: Keysym = _

pub const plus: Keysym = _

pub const comma: Keysym = _

pub const minus: Keysym = _

pub const period: Keysym = _

pub const slash: Keysym = _

pub const _0: Keysym = _

pub const _1: Keysym = _

pub const _2: Keysym = _

pub const _3: Keysym = _

pub const _4: Keysym = _

pub const _5: Keysym = _

pub const _6: Keysym = _

pub const _7: Keysym = _

pub const _8: Keysym = _

pub const _9: Keysym = _

pub const colon: Keysym = _

pub const semicolon: Keysym = _

pub const less: Keysym = _

pub const equal: Keysym = _

pub const greater: Keysym = _

pub const question: Keysym = _

pub const at: Keysym = _

pub const A: Keysym = _

pub const B: Keysym = _

pub const C: Keysym = _

pub const D: Keysym = _

pub const E: Keysym = _

pub const F: Keysym = _

pub const G: Keysym = _

pub const H: Keysym = _

pub const I: Keysym = _

pub const J: Keysym = _

pub const K: Keysym = _

pub const L: Keysym = _

pub const M: Keysym = _

pub const N: Keysym = _

pub const O: Keysym = _

pub const P: Keysym = _

pub const Q: Keysym = _

pub const R: Keysym = _

pub const S: Keysym = _

pub const T: Keysym = _

pub const U: Keysym = _

pub const V: Keysym = _

pub const W: Keysym = _

pub const X: Keysym = _

pub const Y: Keysym = _

pub const Z: Keysym = _

pub const bracketleft: Keysym = _

pub const backslash: Keysym = _

pub const bracketright: Keysym = _

pub const asciicircum: Keysym = _

pub const underscore: Keysym = _

pub const grave: Keysym = _

pub const quoteleft: Keysym = _

pub const a: Keysym = _

pub const b: Keysym = _

pub const c: Keysym = _

pub const d: Keysym = _

pub const e: Keysym = _

pub const f: Keysym = _

pub const g: Keysym = _

pub const h: Keysym = _

pub const i: Keysym = _

pub const j: Keysym = _

pub const k: Keysym = _

pub const l: Keysym = _

pub const m: Keysym = _

pub const n: Keysym = _

pub const o: Keysym = _

pub const p: Keysym = _

pub const q: Keysym = _

pub const r: Keysym = _

pub const s: Keysym = _

pub const t: Keysym = _

pub const u: Keysym = _

pub const v: Keysym = _

pub const w: Keysym = _

pub const x: Keysym = _

pub const y: Keysym = _

pub const z: Keysym = _

pub const braceleft: Keysym = _

pub const bar: Keysym = _

pub const braceright: Keysym = _

pub const asciitilde: Keysym = _

pub const nobreakspace: Keysym = _

pub const exclamdown: Keysym = _

pub const cent: Keysym = _

pub const sterling: Keysym = _

pub const currency: Keysym = _

pub const yen: Keysym = _

pub const brokenbar: Keysym = _

pub const section: Keysym = _

pub const diaeresis: Keysym = _

pub const copyright: Keysym = _

pub const ordfeminine: Keysym = _

pub const guillemotleft: Keysym = _

pub const guillemetleft: Keysym = _

pub const notsign: Keysym = _

pub const hyphen: Keysym = _

pub const registered: Keysym = _

pub const macron: Keysym = _

pub const degree: Keysym = _

pub const plusminus: Keysym = _

pub const twosuperior: Keysym = _

pub const threesuperior: Keysym = _

pub const acute: Keysym = _

pub const mu: Keysym = _

pub const paragraph: Keysym = _

pub const periodcentered: Keysym = _

pub const cedilla: Keysym = _

pub const onesuperior: Keysym = _

pub const masculine: Keysym = _

pub const ordmasculine: Keysym = _

pub const guillemotright: Keysym = _

pub const guillemetright: Keysym = _

pub const onequarter: Keysym = _

pub const onehalf: Keysym = _

pub const threequarters: Keysym = _

pub const questiondown: Keysym = _

pub const Agrave: Keysym = _

pub const Aacute: Keysym = _

pub const Acircumflex: Keysym = _

pub const Atilde: Keysym = _

pub const Adiaeresis: Keysym = _

pub const Aring: Keysym = _

pub const AE: Keysym = _

pub const Ccedilla: Keysym = _

pub const Egrave: Keysym = _

pub const Eacute: Keysym = _

pub const Ecircumflex: Keysym = _

pub const Ediaeresis: Keysym = _

pub const Igrave: Keysym = _

pub const Iacute: Keysym = _

pub const Icircumflex: Keysym = _

pub const Idiaeresis: Keysym = _

pub const ETH: Keysym = _

pub const Eth: Keysym = _

pub const Ntilde: Keysym = _

pub const Ograve: Keysym = _

pub const Oacute: Keysym = _

pub const Ocircumflex: Keysym = _

pub const Otilde: Keysym = _

pub const Odiaeresis: Keysym = _

pub const multiply: Keysym = _

pub const Oslash: Keysym = _

pub const Ooblique: Keysym = _

pub const Ugrave: Keysym = _

pub const Uacute: Keysym = _

pub const Ucircumflex: Keysym = _

pub const Udiaeresis: Keysym = _

pub const Yacute: Keysym = _

pub const THORN: Keysym = _

pub const Thorn: Keysym = _

pub const ssharp: Keysym = _

pub const agrave: Keysym = _

pub const aacute: Keysym = _

pub const acircumflex: Keysym = _

pub const atilde: Keysym = _

pub const adiaeresis: Keysym = _

pub const aring: Keysym = _

pub const ae: Keysym = _

pub const ccedilla: Keysym = _

pub const egrave: Keysym = _

pub const eacute: Keysym = _

pub const ecircumflex: Keysym = _

pub const ediaeresis: Keysym = _

pub const igrave: Keysym = _

pub const iacute: Keysym = _

pub const icircumflex: Keysym = _

pub const idiaeresis: Keysym = _

pub const eth: Keysym = _

pub const ntilde: Keysym = _

pub const ograve: Keysym = _

pub const oacute: Keysym = _

pub const ocircumflex: Keysym = _

pub const otilde: Keysym = _

pub const odiaeresis: Keysym = _

pub const division: Keysym = _

pub const oslash: Keysym = _

pub const ooblique: Keysym = _

pub const ugrave: Keysym = _

pub const uacute: Keysym = _

pub const ucircumflex: Keysym = _

pub const udiaeresis: Keysym = _

pub const yacute: Keysym = _

pub const thorn: Keysym = _

pub const ydiaeresis: Keysym = _

pub const Aogonek: Keysym = _

pub const breve: Keysym = _

pub const Lstroke: Keysym = _

pub const Lcaron: Keysym = _

pub const Sacute: Keysym = _

pub const Scaron: Keysym = _

pub const Scedilla: Keysym = _

pub const Tcaron: Keysym = _

pub const Zacute: Keysym = _

pub const Zcaron: Keysym = _

pub const Zabovedot: Keysym = _

pub const aogonek: Keysym = _

pub const ogonek: Keysym = _

pub const lstroke: Keysym = _

pub const lcaron: Keysym = _

pub const sacute: Keysym = _

pub const caron: Keysym = _

pub const scaron: Keysym = _

pub const scedilla: Keysym = _

pub const tcaron: Keysym = _

pub const zacute: Keysym = _

pub const doubleacute: Keysym = _

pub const zcaron: Keysym = _

pub const zabovedot: Keysym = _

pub const Racute: Keysym = _

pub const Abreve: Keysym = _

pub const Lacute: Keysym = _

pub const Cacute: Keysym = _

pub const Ccaron: Keysym = _

pub const Eogonek: Keysym = _

pub const Ecaron: Keysym = _

pub const Dcaron: Keysym = _

pub const Dstroke: Keysym = _

pub const Nacute: Keysym = _

pub const Ncaron: Keysym = _

pub const Odoubleacute: Keysym = _

pub const Rcaron: Keysym = _

pub const Uring: Keysym = _

pub const Udoubleacute: Keysym = _

pub const Tcedilla: Keysym = _

pub const racute: Keysym = _

pub const abreve: Keysym = _

pub const lacute: Keysym = _

pub const cacute: Keysym = _

pub const ccaron: Keysym = _

pub const eogonek: Keysym = _

pub const ecaron: Keysym = _

pub const dcaron: Keysym = _

pub const dstroke: Keysym = _

pub const nacute: Keysym = _

pub const ncaron: Keysym = _

pub const odoubleacute: Keysym = _

pub const rcaron: Keysym = _

pub const uring: Keysym = _

pub const udoubleacute: Keysym = _

pub const tcedilla: Keysym = _

pub const abovedot: Keysym = _

pub const Hstroke: Keysym = _

pub const Hcircumflex: Keysym = _

pub const Iabovedot: Keysym = _

pub const Gbreve: Keysym = _

pub const Jcircumflex: Keysym = _

pub const hstroke: Keysym = _

pub const hcircumflex: Keysym = _

pub const idotless: Keysym = _

pub const gbreve: Keysym = _

pub const jcircumflex: Keysym = _

pub const Cabovedot: Keysym = _

pub const Ccircumflex: Keysym = _

pub const Gabovedot: Keysym = _

pub const Gcircumflex: Keysym = _

pub const Ubreve: Keysym = _

pub const Scircumflex: Keysym = _

pub const cabovedot: Keysym = _

pub const ccircumflex: Keysym = _

pub const gabovedot: Keysym = _

pub const gcircumflex: Keysym = _

pub const ubreve: Keysym = _

pub const scircumflex: Keysym = _

pub const kra: Keysym = _

pub const kappa: Keysym = _

pub const Rcedilla: Keysym = _

pub const Itilde: Keysym = _

pub const Lcedilla: Keysym = _

pub const Emacron: Keysym = _

pub const Gcedilla: Keysym = _

pub const Tslash: Keysym = _

pub const rcedilla: Keysym = _

pub const itilde: Keysym = _

pub const lcedilla: Keysym = _

pub const emacron: Keysym = _

pub const gcedilla: Keysym = _

pub const tslash: Keysym = _

pub const ENG: Keysym = _

pub const eng: Keysym = _

pub const Amacron: Keysym = _

pub const Iogonek: Keysym = _

pub const Eabovedot: Keysym = _

pub const Imacron: Keysym = _

pub const Ncedilla: Keysym = _

pub const Omacron: Keysym = _

pub const Kcedilla: Keysym = _

pub const Uogonek: Keysym = _

pub const Utilde: Keysym = _

pub const Umacron: Keysym = _

pub const amacron: Keysym = _

pub const iogonek: Keysym = _

pub const eabovedot: Keysym = _

pub const imacron: Keysym = _

pub const ncedilla: Keysym = _

pub const omacron: Keysym = _

pub const kcedilla: Keysym = _

pub const uogonek: Keysym = _

pub const utilde: Keysym = _

pub const umacron: Keysym = _

pub const Wcircumflex: Keysym = _

pub const wcircumflex: Keysym = _

pub const Ycircumflex: Keysym = _

pub const ycircumflex: Keysym = _

pub const Babovedot: Keysym = _

pub const babovedot: Keysym = _

pub const Dabovedot: Keysym = _

pub const dabovedot: Keysym = _

pub const Fabovedot: Keysym = _

pub const fabovedot: Keysym = _

pub const Mabovedot: Keysym = _

pub const mabovedot: Keysym = _

pub const Pabovedot: Keysym = _

pub const pabovedot: Keysym = _

pub const Sabovedot: Keysym = _

pub const sabovedot: Keysym = _

pub const Tabovedot: Keysym = _

pub const tabovedot: Keysym = _

pub const Wgrave: Keysym = _

pub const wgrave: Keysym = _

pub const Wacute: Keysym = _

pub const wacute: Keysym = _

pub const Wdiaeresis: Keysym = _

pub const wdiaeresis: Keysym = _

pub const Ygrave: Keysym = _

pub const ygrave: Keysym = _

pub const OE: Keysym = _

pub const oe: Keysym = _

pub const Ydiaeresis: Keysym = _

pub const overline: Keysym = _

pub const kana_fullstop: Keysym = _

pub const kana_openingbracket: Keysym = _

pub const kana_closingbracket: Keysym = _

pub const kana_comma: Keysym = _

pub const kana_conjunctive: Keysym = _

pub const kana_middledot: Keysym = _

pub const kana_WO: Keysym = _

pub const kana_a: Keysym = _

pub const kana_i: Keysym = _

pub const kana_u: Keysym = _

pub const kana_e: Keysym = _

pub const kana_o: Keysym = _

pub const kana_ya: Keysym = _

pub const kana_yu: Keysym = _

pub const kana_yo: Keysym = _

pub const kana_tsu: Keysym = _

pub const kana_tu: Keysym = _

pub const prolongedsound: Keysym = _

pub const kana_A: Keysym = _

pub const kana_I: Keysym = _

pub const kana_U: Keysym = _

pub const kana_E: Keysym = _

pub const kana_O: Keysym = _

pub const kana_KA: Keysym = _

pub const kana_KI: Keysym = _

pub const kana_KU: Keysym = _

pub const kana_KE: Keysym = _

pub const kana_KO: Keysym = _

pub const kana_SA: Keysym = _

pub const kana_SHI: Keysym = _

pub const kana_SU: Keysym = _

pub const kana_SE: Keysym = _

pub const kana_SO: Keysym = _

pub const kana_TA: Keysym = _

pub const kana_CHI: Keysym = _

pub const kana_TI: Keysym = _

pub const kana_TSU: Keysym = _

pub const kana_TU: Keysym = _

pub const kana_TE: Keysym = _

pub const kana_TO: Keysym = _

pub const kana_NA: Keysym = _

pub const kana_NI: Keysym = _

pub const kana_NU: Keysym = _

pub const kana_NE: Keysym = _

pub const kana_NO: Keysym = _

pub const kana_HA: Keysym = _

pub const kana_HI: Keysym = _

pub const kana_FU: Keysym = _

pub const kana_HU: Keysym = _

pub const kana_HE: Keysym = _

pub const kana_HO: Keysym = _

pub const kana_MA: Keysym = _

pub const kana_MI: Keysym = _

pub const kana_MU: Keysym = _

pub const kana_ME: Keysym = _

pub const kana_MO: Keysym = _

pub const kana_YA: Keysym = _

pub const kana_YU: Keysym = _

pub const kana_YO: Keysym = _

pub const kana_RA: Keysym = _

pub const kana_RI: Keysym = _

pub const kana_RU: Keysym = _

pub const kana_RE: Keysym = _

pub const kana_RO: Keysym = _

pub const kana_WA: Keysym = _

pub const kana_N: Keysym = _

pub const voicedsound: Keysym = _

pub const semivoicedsound: Keysym = _

pub const kana_switch: Keysym = _

pub const Farsi_0: Keysym = _

pub const Farsi_1: Keysym = _

pub const Farsi_2: Keysym = _

pub const Farsi_3: Keysym = _

pub const Farsi_4: Keysym = _

pub const Farsi_5: Keysym = _

pub const Farsi_6: Keysym = _

pub const Farsi_7: Keysym = _

pub const Farsi_8: Keysym = _

pub const Farsi_9: Keysym = _

pub const Arabic_percent: Keysym = _

pub const Arabic_superscript_alef: Keysym = _

pub const Arabic_tteh: Keysym = _

pub const Arabic_peh: Keysym = _

pub const Arabic_tcheh: Keysym = _

pub const Arabic_ddal: Keysym = _

pub const Arabic_rreh: Keysym = _

pub const Arabic_comma: Keysym = _

pub const Arabic_fullstop: Keysym = _

pub const Arabic_0: Keysym = _

pub const Arabic_1: Keysym = _

pub const Arabic_2: Keysym = _

pub const Arabic_3: Keysym = _

pub const Arabic_4: Keysym = _

pub const Arabic_5: Keysym = _

pub const Arabic_6: Keysym = _

pub const Arabic_7: Keysym = _

pub const Arabic_8: Keysym = _

pub const Arabic_9: Keysym = _

pub const Arabic_semicolon: Keysym = _

pub const Arabic_question_mark: Keysym = _

pub const Arabic_hamza: Keysym = _

pub const Arabic_maddaonalef: Keysym = _

pub const Arabic_hamzaonalef: Keysym = _

pub const Arabic_hamzaonwaw: Keysym = _

pub const Arabic_hamzaunderalef: Keysym = _

pub const Arabic_hamzaonyeh: Keysym = _

pub const Arabic_alef: Keysym = _

pub const Arabic_beh: Keysym = _

pub const Arabic_tehmarbuta: Keysym = _

pub const Arabic_teh: Keysym = _

pub const Arabic_theh: Keysym = _

pub const Arabic_jeem: Keysym = _

pub const Arabic_hah: Keysym = _

pub const Arabic_khah: Keysym = _

pub const Arabic_dal: Keysym = _

pub const Arabic_thal: Keysym = _

pub const Arabic_ra: Keysym = _

pub const Arabic_zain: Keysym = _

pub const Arabic_seen: Keysym = _

pub const Arabic_sheen: Keysym = _

pub const Arabic_sad: Keysym = _

pub const Arabic_dad: Keysym = _

pub const Arabic_tah: Keysym = _

pub const Arabic_zah: Keysym = _

pub const Arabic_ain: Keysym = _

pub const Arabic_ghain: Keysym = _

pub const Arabic_tatweel: Keysym = _

pub const Arabic_feh: Keysym = _

pub const Arabic_qaf: Keysym = _

pub const Arabic_kaf: Keysym = _

pub const Arabic_lam: Keysym = _

pub const Arabic_meem: Keysym = _

pub const Arabic_noon: Keysym = _

pub const Arabic_ha: Keysym = _

pub const Arabic_heh: Keysym = _

pub const Arabic_waw: Keysym = _

pub const Arabic_alefmaksura: Keysym = _

pub const Arabic_yeh: Keysym = _

pub const Arabic_fathatan: Keysym = _

pub const Arabic_dammatan: Keysym = _

pub const Arabic_kasratan: Keysym = _

pub const Arabic_fatha: Keysym = _

pub const Arabic_damma: Keysym = _

pub const Arabic_kasra: Keysym = _

pub const Arabic_shadda: Keysym = _

pub const Arabic_sukun: Keysym = _

pub const Arabic_madda_above: Keysym = _

pub const Arabic_hamza_above: Keysym = _

pub const Arabic_hamza_below: Keysym = _

pub const Arabic_jeh: Keysym = _

pub const Arabic_veh: Keysym = _

pub const Arabic_keheh: Keysym = _

pub const Arabic_gaf: Keysym = _

pub const Arabic_noon_ghunna: Keysym = _

pub const Arabic_heh_doachashmee: Keysym = _

pub const Farsi_yeh: Keysym = _

pub const Arabic_farsi_yeh: Keysym = _

pub const Arabic_yeh_baree: Keysym = _

pub const Arabic_heh_goal: Keysym = _

pub const Arabic_switch: Keysym = _

pub const Cyrillic_GHE_bar: Keysym = _

pub const Cyrillic_ghe_bar: Keysym = _

pub const Cyrillic_ZHE_descender: Keysym = _

pub const Cyrillic_zhe_descender: Keysym = _

pub const Cyrillic_KA_descender: Keysym = _

pub const Cyrillic_ka_descender: Keysym = _

pub const Cyrillic_KA_vertstroke: Keysym = _

pub const Cyrillic_ka_vertstroke: Keysym = _

pub const Cyrillic_EN_descender: Keysym = _

pub const Cyrillic_en_descender: Keysym = _

pub const Cyrillic_U_straight: Keysym = _

pub const Cyrillic_u_straight: Keysym = _

pub const Cyrillic_U_straight_bar: Keysym = _

pub const Cyrillic_u_straight_bar: Keysym = _

pub const Cyrillic_HA_descender: Keysym = _

pub const Cyrillic_ha_descender: Keysym = _

pub const Cyrillic_CHE_descender: Keysym = _

pub const Cyrillic_che_descender: Keysym = _

pub const Cyrillic_CHE_vertstroke: Keysym = _

pub const Cyrillic_che_vertstroke: Keysym = _

pub const Cyrillic_SHHA: Keysym = _

pub const Cyrillic_shha: Keysym = _

pub const Cyrillic_SCHWA: Keysym = _

pub const Cyrillic_schwa: Keysym = _

pub const Cyrillic_I_macron: Keysym = _

pub const Cyrillic_i_macron: Keysym = _

pub const Cyrillic_O_bar: Keysym = _

pub const Cyrillic_o_bar: Keysym = _

pub const Cyrillic_U_macron: Keysym = _

pub const Cyrillic_u_macron: Keysym = _

pub const Serbian_dje: Keysym = _

pub const Macedonia_gje: Keysym = _

pub const Cyrillic_io: Keysym = _

pub const Ukrainian_ie: Keysym = _

pub const Ukranian_je: Keysym = _

pub const Macedonia_dse: Keysym = _

pub const Ukrainian_i: Keysym = _

pub const Ukranian_i: Keysym = _

pub const Ukrainian_yi: Keysym = _

pub const Ukranian_yi: Keysym = _

pub const Cyrillic_je: Keysym = _

pub const Serbian_je: Keysym = _

pub const Cyrillic_lje: Keysym = _

pub const Serbian_lje: Keysym = _

pub const Cyrillic_nje: Keysym = _

pub const Serbian_nje: Keysym = _

pub const Serbian_tshe: Keysym = _

pub const Macedonia_kje: Keysym = _

pub const Ukrainian_ghe_with_upturn: Keysym = _

pub const Byelorussian_shortu: Keysym = _

pub const Cyrillic_dzhe: Keysym = _

pub const Serbian_dze: Keysym = _

pub const numerosign: Keysym = _

pub const Serbian_DJE: Keysym = _

pub const Macedonia_GJE: Keysym = _

pub const Cyrillic_IO: Keysym = _

pub const Ukrainian_IE: Keysym = _

pub const Ukranian_JE: Keysym = _

pub const Macedonia_DSE: Keysym = _

pub const Ukrainian_I: Keysym = _

pub const Ukranian_I: Keysym = _

pub const Ukrainian_YI: Keysym = _

pub const Ukranian_YI: Keysym = _

pub const Cyrillic_JE: Keysym = _

pub const Serbian_JE: Keysym = _

pub const Cyrillic_LJE: Keysym = _

pub const Serbian_LJE: Keysym = _

pub const Cyrillic_NJE: Keysym = _

pub const Serbian_NJE: Keysym = _

pub const Serbian_TSHE: Keysym = _

pub const Macedonia_KJE: Keysym = _

pub const Ukrainian_GHE_WITH_UPTURN: Keysym = _

pub const Byelorussian_SHORTU: Keysym = _

pub const Cyrillic_DZHE: Keysym = _

pub const Serbian_DZE: Keysym = _

pub const Cyrillic_yu: Keysym = _

pub const Cyrillic_a: Keysym = _

pub const Cyrillic_be: Keysym = _

pub const Cyrillic_tse: Keysym = _

pub const Cyrillic_de: Keysym = _

pub const Cyrillic_ie: Keysym = _

pub const Cyrillic_ef: Keysym = _

pub const Cyrillic_ghe: Keysym = _

pub const Cyrillic_ha: Keysym = _

pub const Cyrillic_i: Keysym = _

pub const Cyrillic_shorti: Keysym = _

pub const Cyrillic_ka: Keysym = _

pub const Cyrillic_el: Keysym = _

pub const Cyrillic_em: Keysym = _

pub const Cyrillic_en: Keysym = _

pub const Cyrillic_o: Keysym = _

pub const Cyrillic_pe: Keysym = _

pub const Cyrillic_ya: Keysym = _

pub const Cyrillic_er: Keysym = _

pub const Cyrillic_es: Keysym = _

pub const Cyrillic_te: Keysym = _

pub const Cyrillic_u: Keysym = _

pub const Cyrillic_zhe: Keysym = _

pub const Cyrillic_ve: Keysym = _

pub const Cyrillic_softsign: Keysym = _

pub const Cyrillic_yeru: Keysym = _

pub const Cyrillic_ze: Keysym = _

pub const Cyrillic_sha: Keysym = _

pub const Cyrillic_e: Keysym = _

pub const Cyrillic_shcha: Keysym = _

pub const Cyrillic_che: Keysym = _

pub const Cyrillic_hardsign: Keysym = _

pub const Cyrillic_YU: Keysym = _

pub const Cyrillic_A: Keysym = _

pub const Cyrillic_BE: Keysym = _

pub const Cyrillic_TSE: Keysym = _

pub const Cyrillic_DE: Keysym = _

pub const Cyrillic_IE: Keysym = _

pub const Cyrillic_EF: Keysym = _

pub const Cyrillic_GHE: Keysym = _

pub const Cyrillic_HA: Keysym = _

pub const Cyrillic_I: Keysym = _

pub const Cyrillic_SHORTI: Keysym = _

pub const Cyrillic_KA: Keysym = _

pub const Cyrillic_EL: Keysym = _

pub const Cyrillic_EM: Keysym = _

pub const Cyrillic_EN: Keysym = _

pub const Cyrillic_O: Keysym = _

pub const Cyrillic_PE: Keysym = _

pub const Cyrillic_YA: Keysym = _

pub const Cyrillic_ER: Keysym = _

pub const Cyrillic_ES: Keysym = _

pub const Cyrillic_TE: Keysym = _

pub const Cyrillic_U: Keysym = _

pub const Cyrillic_ZHE: Keysym = _

pub const Cyrillic_VE: Keysym = _

pub const Cyrillic_SOFTSIGN: Keysym = _

pub const Cyrillic_YERU: Keysym = _

pub const Cyrillic_ZE: Keysym = _

pub const Cyrillic_SHA: Keysym = _

pub const Cyrillic_E: Keysym = _

pub const Cyrillic_SHCHA: Keysym = _

pub const Cyrillic_CHE: Keysym = _

pub const Cyrillic_HARDSIGN: Keysym = _

pub const Greek_ALPHAaccent: Keysym = _

pub const Greek_EPSILONaccent: Keysym = _

pub const Greek_ETAaccent: Keysym = _

pub const Greek_IOTAaccent: Keysym = _

pub const Greek_IOTAdieresis: Keysym = _

pub const Greek_IOTAdiaeresis: Keysym = _

pub const Greek_OMICRONaccent: Keysym = _

pub const Greek_UPSILONaccent: Keysym = _

pub const Greek_UPSILONdieresis: Keysym = _

pub const Greek_OMEGAaccent: Keysym = _

pub const Greek_accentdieresis: Keysym = _

pub const Greek_horizbar: Keysym = _

pub const Greek_alphaaccent: Keysym = _

pub const Greek_epsilonaccent: Keysym = _

pub const Greek_etaaccent: Keysym = _

pub const Greek_iotaaccent: Keysym = _

pub const Greek_iotadieresis: Keysym = _

pub const Greek_iotaaccentdieresis: Keysym = _

pub const Greek_omicronaccent: Keysym = _

pub const Greek_upsilonaccent: Keysym = _

pub const Greek_upsilondieresis: Keysym = _

pub const Greek_upsilonaccentdieresis: Keysym = _

pub const Greek_omegaaccent: Keysym = _

pub const Greek_ALPHA: Keysym = _

pub const Greek_BETA: Keysym = _

pub const Greek_GAMMA: Keysym = _

pub const Greek_DELTA: Keysym = _

pub const Greek_EPSILON: Keysym = _

pub const Greek_ZETA: Keysym = _

pub const Greek_ETA: Keysym = _

pub const Greek_THETA: Keysym = _

pub const Greek_IOTA: Keysym = _

pub const Greek_KAPPA: Keysym = _

pub const Greek_LAMDA: Keysym = _

pub const Greek_LAMBDA: Keysym = _

pub const Greek_MU: Keysym = _

pub const Greek_NU: Keysym = _

pub const Greek_XI: Keysym = _

pub const Greek_OMICRON: Keysym = _

pub const Greek_PI: Keysym = _

pub const Greek_RHO: Keysym = _

pub const Greek_SIGMA: Keysym = _

pub const Greek_TAU: Keysym = _

pub const Greek_UPSILON: Keysym = _

pub const Greek_PHI: Keysym = _

pub const Greek_CHI: Keysym = _

pub const Greek_PSI: Keysym = _

pub const Greek_OMEGA: Keysym = _

pub const Greek_alpha: Keysym = _

pub const Greek_beta: Keysym = _

pub const Greek_gamma: Keysym = _

pub const Greek_delta: Keysym = _

pub const Greek_epsilon: Keysym = _

pub const Greek_zeta: Keysym = _

pub const Greek_eta: Keysym = _

pub const Greek_theta: Keysym = _

pub const Greek_iota: Keysym = _

pub const Greek_kappa: Keysym = _

pub const Greek_lamda: Keysym = _

pub const Greek_lambda: Keysym = _

pub const Greek_mu: Keysym = _

pub const Greek_nu: Keysym = _

pub const Greek_xi: Keysym = _

pub const Greek_omicron: Keysym = _

pub const Greek_pi: Keysym = _

pub const Greek_rho: Keysym = _

pub const Greek_sigma: Keysym = _

pub const Greek_finalsmallsigma: Keysym = _

pub const Greek_tau: Keysym = _

pub const Greek_upsilon: Keysym = _

pub const Greek_phi: Keysym = _

pub const Greek_chi: Keysym = _

pub const Greek_psi: Keysym = _

pub const Greek_omega: Keysym = _

pub const Greek_switch: Keysym = _

pub const leftradical: Keysym = _

pub const topleftradical: Keysym = _

pub const horizconnector: Keysym = _

pub const topintegral: Keysym = _

pub const botintegral: Keysym = _

pub const vertconnector: Keysym = _

pub const topleftsqbracket: Keysym = _

pub const botleftsqbracket: Keysym = _

pub const toprightsqbracket: Keysym = _

pub const botrightsqbracket: Keysym = _

pub const topleftparens: Keysym = _

pub const botleftparens: Keysym = _

pub const toprightparens: Keysym = _

pub const botrightparens: Keysym = _

pub const leftmiddlecurlybrace: Keysym = _

pub const rightmiddlecurlybrace: Keysym = _

pub const topleftsummation: Keysym = _

pub const botleftsummation: Keysym = _

pub const topvertsummationconnector: Keysym = _

pub const botvertsummationconnector: Keysym = _

pub const toprightsummation: Keysym = _

pub const botrightsummation: Keysym = _

pub const rightmiddlesummation: Keysym = _

pub const lessthanequal: Keysym = _

pub const notequal: Keysym = _

pub const greaterthanequal: Keysym = _

pub const integral: Keysym = _

pub const therefore: Keysym = _

pub const variation: Keysym = _

pub const infinity: Keysym = _

pub const nabla: Keysym = _

pub const approximate: Keysym = _

pub const similarequal: Keysym = _

pub const ifonlyif: Keysym = _

pub const implies: Keysym = _

pub const identical: Keysym = _

pub const radical: Keysym = _

pub const includedin: Keysym = _

pub const includes: Keysym = _

pub const intersection: Keysym = _

pub const union: Keysym = _

pub const logicaland: Keysym = _

pub const logicalor: Keysym = _

pub const partialderivative: Keysym = _

pub const function: Keysym = _

pub const leftarrow: Keysym = _

pub const uparrow: Keysym = _

pub const rightarrow: Keysym = _

pub const downarrow: Keysym = _

pub const blank: Keysym = _

pub const soliddiamond: Keysym = _

pub const checkerboard: Keysym = _

pub const ht: Keysym = _

pub const ff: Keysym = _

pub const cr: Keysym = _

pub const lf: Keysym = _

pub const nl: Keysym = _

pub const vt: Keysym = _

pub const lowrightcorner: Keysym = _

pub const uprightcorner: Keysym = _

pub const upleftcorner: Keysym = _

pub const lowleftcorner: Keysym = _

pub const crossinglines: Keysym = _

pub const horizlinescan1: Keysym = _

pub const horizlinescan3: Keysym = _

pub const horizlinescan5: Keysym = _

pub const horizlinescan7: Keysym = _

pub const horizlinescan9: Keysym = _

pub const leftt: Keysym = _

pub const rightt: Keysym = _

pub const bott: Keysym = _

pub const topt: Keysym = _

pub const vertbar: Keysym = _

pub const emspace: Keysym = _

pub const enspace: Keysym = _

pub const em3space: Keysym = _

pub const em4space: Keysym = _

pub const digitspace: Keysym = _

pub const punctspace: Keysym = _

pub const thinspace: Keysym = _

pub const hairspace: Keysym = _

pub const emdash: Keysym = _

pub const endash: Keysym = _

pub const signifblank: Keysym = _

pub const ellipsis: Keysym = _

pub const doubbaselinedot: Keysym = _

pub const onethird: Keysym = _

pub const twothirds: Keysym = _

pub const onefifth: Keysym = _

pub const twofifths: Keysym = _

pub const threefifths: Keysym = _

pub const fourfifths: Keysym = _

pub const onesixth: Keysym = _

pub const fivesixths: Keysym = _

pub const careof: Keysym = _

pub const figdash: Keysym = _

pub const leftanglebracket: Keysym = _

pub const decimalpoint: Keysym = _

pub const rightanglebracket: Keysym = _

pub const marker: Keysym = _

pub const oneeighth: Keysym = _

pub const threeeighths: Keysym = _

pub const fiveeighths: Keysym = _

pub const seveneighths: Keysym = _

pub const trademark: Keysym = _

pub const signaturemark: Keysym = _

pub const trademarkincircle: Keysym = _

pub const leftopentriangle: Keysym = _

pub const rightopentriangle: Keysym = _

pub const emopencircle: Keysym = _

pub const emopenrectangle: Keysym = _

pub const leftsinglequotemark: Keysym = _

pub const rightsinglequotemark: Keysym = _

pub const leftdoublequotemark: Keysym = _

pub const rightdoublequotemark: Keysym = _

pub const prescription: Keysym = _

pub const permille: Keysym = _

pub const minutes: Keysym = _

pub const seconds: Keysym = _

pub const latincross: Keysym = _

pub const hexagram: Keysym = _

pub const filledrectbullet: Keysym = _

pub const filledlefttribullet: Keysym = _

pub const filledrighttribullet: Keysym = _

pub const emfilledcircle: Keysym = _

pub const emfilledrect: Keysym = _

pub const enopencircbullet: Keysym = _

pub const enopensquarebullet: Keysym = _

pub const openrectbullet: Keysym = _

pub const opentribulletup: Keysym = _

pub const opentribulletdown: Keysym = _

pub const openstar: Keysym = _

pub const enfilledcircbullet: Keysym = _

pub const enfilledsqbullet: Keysym = _

pub const filledtribulletup: Keysym = _

pub const filledtribulletdown: Keysym = _

pub const leftpointer: Keysym = _

pub const rightpointer: Keysym = _

pub const club: Keysym = _

pub const diamond: Keysym = _

pub const heart: Keysym = _

pub const maltesecross: Keysym = _

pub const dagger: Keysym = _

pub const doubledagger: Keysym = _

pub const checkmark: Keysym = _

pub const ballotcross: Keysym = _

pub const musicalsharp: Keysym = _

pub const musicalflat: Keysym = _

pub const malesymbol: Keysym = _

pub const femalesymbol: Keysym = _

pub const telephone: Keysym = _

pub const telephonerecorder: Keysym = _

pub const phonographcopyright: Keysym = _

pub const caret: Keysym = _

pub const singlelowquotemark: Keysym = _

pub const doublelowquotemark: Keysym = _

pub const cursor: Keysym = _

pub const leftcaret: Keysym = _

pub const rightcaret: Keysym = _

pub const downcaret: Keysym = _

pub const upcaret: Keysym = _

pub const overbar: Keysym = _

pub const downtack: Keysym = _

pub const upshoe: Keysym = _

pub const downstile: Keysym = _

pub const underbar: Keysym = _

pub const jot: Keysym = _

pub const quad: Keysym = _

pub const uptack: Keysym = _

pub const circle: Keysym = _

pub const upstile: Keysym = _

pub const downshoe: Keysym = _

pub const rightshoe: Keysym = _

pub const leftshoe: Keysym = _

pub const lefttack: Keysym = _

pub const righttack: Keysym = _

pub const hebrew_doublelowline: Keysym = _

pub const hebrew_aleph: Keysym = _

pub const hebrew_bet: Keysym = _

pub const hebrew_beth: Keysym = _

pub const hebrew_gimel: Keysym = _

pub const hebrew_gimmel: Keysym = _

pub const hebrew_dalet: Keysym = _

pub const hebrew_daleth: Keysym = _

pub const hebrew_he: Keysym = _

pub const hebrew_waw: Keysym = _

pub const hebrew_zain: Keysym = _

pub const hebrew_zayin: Keysym = _

pub const hebrew_chet: Keysym = _

pub const hebrew_het: Keysym = _

pub const hebrew_tet: Keysym = _

pub const hebrew_teth: Keysym = _

pub const hebrew_yod: Keysym = _

pub const hebrew_finalkaph: Keysym = _

pub const hebrew_kaph: Keysym = _

pub const hebrew_lamed: Keysym = _

pub const hebrew_finalmem: Keysym = _

pub const hebrew_mem: Keysym = _

pub const hebrew_finalnun: Keysym = _

pub const hebrew_nun: Keysym = _

pub const hebrew_samech: Keysym = _

pub const hebrew_samekh: Keysym = _

pub const hebrew_ayin: Keysym = _

pub const hebrew_finalpe: Keysym = _

pub const hebrew_pe: Keysym = _

pub const hebrew_finalzade: Keysym = _

pub const hebrew_finalzadi: Keysym = _

pub const hebrew_zade: Keysym = _

pub const hebrew_zadi: Keysym = _

pub const hebrew_qoph: Keysym = _

pub const hebrew_kuf: Keysym = _

pub const hebrew_resh: Keysym = _

pub const hebrew_shin: Keysym = _

pub const hebrew_taw: Keysym = _

pub const hebrew_taf: Keysym = _

pub const Hebrew_switch: Keysym = _

pub const Thai_kokai: Keysym = _

pub const Thai_khokhai: Keysym = _

pub const Thai_khokhuat: Keysym = _

pub const Thai_khokhwai: Keysym = _

pub const Thai_khokhon: Keysym = _

pub const Thai_khorakhang: Keysym = _

pub const Thai_ngongu: Keysym = _

pub const Thai_chochan: Keysym = _

pub const Thai_choching: Keysym = _

pub const Thai_chochang: Keysym = _

pub const Thai_soso: Keysym = _

pub const Thai_chochoe: Keysym = _

pub const Thai_yoying: Keysym = _

pub const Thai_dochada: Keysym = _

pub const Thai_topatak: Keysym = _

pub const Thai_thothan: Keysym = _

pub const Thai_thonangmontho: Keysym = _

pub const Thai_thophuthao: Keysym = _

pub const Thai_nonen: Keysym = _

pub const Thai_dodek: Keysym = _

pub const Thai_totao: Keysym = _

pub const Thai_thothung: Keysym = _

pub const Thai_thothahan: Keysym = _

pub const Thai_thothong: Keysym = _

pub const Thai_nonu: Keysym = _

pub const Thai_bobaimai: Keysym = _

pub const Thai_popla: Keysym = _

pub const Thai_phophung: Keysym = _

pub const Thai_fofa: Keysym = _

pub const Thai_phophan: Keysym = _

pub const Thai_fofan: Keysym = _

pub const Thai_phosamphao: Keysym = _

pub const Thai_moma: Keysym = _

pub const Thai_yoyak: Keysym = _

pub const Thai_rorua: Keysym = _

pub const Thai_ru: Keysym = _

pub const Thai_loling: Keysym = _

pub const Thai_lu: Keysym = _

pub const Thai_wowaen: Keysym = _

pub const Thai_sosala: Keysym = _

pub const Thai_sorusi: Keysym = _

pub const Thai_sosua: Keysym = _

pub const Thai_hohip: Keysym = _

pub const Thai_lochula: Keysym = _

pub const Thai_oang: Keysym = _

pub const Thai_honokhuk: Keysym = _

pub const Thai_paiyannoi: Keysym = _

pub const Thai_saraa: Keysym = _

pub const Thai_maihanakat: Keysym = _

pub const Thai_saraaa: Keysym = _

pub const Thai_saraam: Keysym = _

pub const Thai_sarai: Keysym = _

pub const Thai_saraii: Keysym = _

pub const Thai_saraue: Keysym = _

pub const Thai_sarauee: Keysym = _

pub const Thai_sarau: Keysym = _

pub const Thai_sarauu: Keysym = _

pub const Thai_phinthu: Keysym = _

pub const Thai_maihanakat_maitho: Keysym = _

pub const Thai_baht: Keysym = _

pub const Thai_sarae: Keysym = _

pub const Thai_saraae: Keysym = _

pub const Thai_sarao: Keysym = _

pub const Thai_saraaimaimuan: Keysym = _

pub const Thai_saraaimaimalai: Keysym = _

pub const Thai_lakkhangyao: Keysym = _

pub const Thai_maiyamok: Keysym = _

pub const Thai_maitaikhu: Keysym = _

pub const Thai_maiek: Keysym = _

pub const Thai_maitho: Keysym = _

pub const Thai_maitri: Keysym = _

pub const Thai_maichattawa: Keysym = _

pub const Thai_thanthakhat: Keysym = _

pub const Thai_nikhahit: Keysym = _

pub const Thai_leksun: Keysym = _

pub const Thai_leknung: Keysym = _

pub const Thai_leksong: Keysym = _

pub const Thai_leksam: Keysym = _

pub const Thai_leksi: Keysym = _

pub const Thai_lekha: Keysym = _

pub const Thai_lekhok: Keysym = _

pub const Thai_lekchet: Keysym = _

pub const Thai_lekpaet: Keysym = _

pub const Thai_lekkao: Keysym = _

pub const Hangul: Keysym = _

pub const Hangul_Start: Keysym = _

pub const Hangul_End: Keysym = _

pub const Hangul_Hanja: Keysym = _

pub const Hangul_Jamo: Keysym = _

pub const Hangul_Romaja: Keysym = _

pub const Hangul_Codeinput: Keysym = _

pub const Hangul_Jeonja: Keysym = _

pub const Hangul_Banja: Keysym = _

pub const Hangul_PreHanja: Keysym = _

pub const Hangul_PostHanja: Keysym = _

pub const Hangul_SingleCandidate: Keysym = _

pub const Hangul_MultipleCandidate: Keysym = _

pub const Hangul_PreviousCandidate: Keysym = _

pub const Hangul_Special: Keysym = _

pub const Hangul_switch: Keysym = _

pub const Hangul_Kiyeog: Keysym = _

pub const Hangul_SsangKiyeog: Keysym = _

pub const Hangul_KiyeogSios: Keysym = _

pub const Hangul_Nieun: Keysym = _

pub const Hangul_NieunJieuj: Keysym = _

pub const Hangul_NieunHieuh: Keysym = _

pub const Hangul_Dikeud: Keysym = _

pub const Hangul_SsangDikeud: Keysym = _

pub const Hangul_Rieul: Keysym = _

pub const Hangul_RieulKiyeog: Keysym = _

pub const Hangul_RieulMieum: Keysym = _

pub const Hangul_RieulPieub: Keysym = _

pub const Hangul_RieulSios: Keysym = _

pub const Hangul_RieulTieut: Keysym = _

pub const Hangul_RieulPhieuf: Keysym = _

pub const Hangul_RieulHieuh: Keysym = _

pub const Hangul_Mieum: Keysym = _

pub const Hangul_Pieub: Keysym = _

pub const Hangul_SsangPieub: Keysym = _

pub const Hangul_PieubSios: Keysym = _

pub const Hangul_Sios: Keysym = _

pub const Hangul_SsangSios: Keysym = _

pub const Hangul_Ieung: Keysym = _

pub const Hangul_Jieuj: Keysym = _

pub const Hangul_SsangJieuj: Keysym = _

pub const Hangul_Cieuc: Keysym = _

pub const Hangul_Khieuq: Keysym = _

pub const Hangul_Tieut: Keysym = _

pub const Hangul_Phieuf: Keysym = _

pub const Hangul_Hieuh: Keysym = _

pub const Hangul_A: Keysym = _

pub const Hangul_AE: Keysym = _

pub const Hangul_YA: Keysym = _

pub const Hangul_YAE: Keysym = _

pub const Hangul_EO: Keysym = _

pub const Hangul_E: Keysym = _

pub const Hangul_YEO: Keysym = _

pub const Hangul_YE: Keysym = _

pub const Hangul_O: Keysym = _

pub const Hangul_WA: Keysym = _

pub const Hangul_WAE: Keysym = _

pub const Hangul_OE: Keysym = _

pub const Hangul_YO: Keysym = _

pub const Hangul_U: Keysym = _

pub const Hangul_WEO: Keysym = _

pub const Hangul_WE: Keysym = _

pub const Hangul_WI: Keysym = _

pub const Hangul_YU: Keysym = _

pub const Hangul_EU: Keysym = _

pub const Hangul_YI: Keysym = _

pub const Hangul_I: Keysym = _

pub const Hangul_J_Kiyeog: Keysym = _

pub const Hangul_J_SsangKiyeog: Keysym = _

pub const Hangul_J_KiyeogSios: Keysym = _

pub const Hangul_J_Nieun: Keysym = _

pub const Hangul_J_NieunJieuj: Keysym = _

pub const Hangul_J_NieunHieuh: Keysym = _

pub const Hangul_J_Dikeud: Keysym = _

pub const Hangul_J_Rieul: Keysym = _

pub const Hangul_J_RieulKiyeog: Keysym = _

pub const Hangul_J_RieulMieum: Keysym = _

pub const Hangul_J_RieulPieub: Keysym = _

pub const Hangul_J_RieulSios: Keysym = _

pub const Hangul_J_RieulTieut: Keysym = _

pub const Hangul_J_RieulPhieuf: Keysym = _

pub const Hangul_J_RieulHieuh: Keysym = _

pub const Hangul_J_Mieum: Keysym = _

pub const Hangul_J_Pieub: Keysym = _

pub const Hangul_J_PieubSios: Keysym = _

pub const Hangul_J_Sios: Keysym = _

pub const Hangul_J_SsangSios: Keysym = _

pub const Hangul_J_Ieung: Keysym = _

pub const Hangul_J_Jieuj: Keysym = _

pub const Hangul_J_Cieuc: Keysym = _

pub const Hangul_J_Khieuq: Keysym = _

pub const Hangul_J_Tieut: Keysym = _

pub const Hangul_J_Phieuf: Keysym = _

pub const Hangul_J_Hieuh: Keysym = _

pub const Hangul_RieulYeorinHieuh: Keysym = _

pub const Hangul_SunkyeongeumMieum: Keysym = _

pub const Hangul_SunkyeongeumPieub: Keysym = _

pub const Hangul_PanSios: Keysym = _

pub const Hangul_KkogjiDalrinIeung: Keysym = _

pub const Hangul_SunkyeongeumPhieuf: Keysym = _

pub const Hangul_YeorinHieuh: Keysym = _

pub const Hangul_AraeA: Keysym = _

pub const Hangul_AraeAE: Keysym = _

pub const Hangul_J_PanSios: Keysym = _

pub const Hangul_J_KkogjiDalrinIeung: Keysym = _

pub const Hangul_J_YeorinHieuh: Keysym = _

pub const Korean_Won: Keysym = _

pub const Armenian_ligature_ew: Keysym = _

pub const Armenian_full_stop: Keysym = _

pub const Armenian_verjaket: Keysym = _

pub const Armenian_separation_mark: Keysym = _

pub const Armenian_but: Keysym = _

pub const Armenian_hyphen: Keysym = _

pub const Armenian_yentamna: Keysym = _

pub const Armenian_exclam: Keysym = _

pub const Armenian_amanak: Keysym = _

pub const Armenian_accent: Keysym = _

pub const Armenian_shesht: Keysym = _

pub const Armenian_question: Keysym = _

pub const Armenian_paruyk: Keysym = _

pub const Armenian_AYB: Keysym = _

pub const Armenian_ayb: Keysym = _

pub const Armenian_BEN: Keysym = _

pub const Armenian_ben: Keysym = _

pub const Armenian_GIM: Keysym = _

pub const Armenian_gim: Keysym = _

pub const Armenian_DA: Keysym = _

pub const Armenian_da: Keysym = _

pub const Armenian_YECH: Keysym = _

pub const Armenian_yech: Keysym = _

pub const Armenian_ZA: Keysym = _

pub const Armenian_za: Keysym = _

pub const Armenian_E: Keysym = _

pub const Armenian_e: Keysym = _

pub const Armenian_AT: Keysym = _

pub const Armenian_at: Keysym = _

pub const Armenian_TO: Keysym = _

pub const Armenian_to: Keysym = _

pub const Armenian_ZHE: Keysym = _

pub const Armenian_zhe: Keysym = _

pub const Armenian_INI: Keysym = _

pub const Armenian_ini: Keysym = _

pub const Armenian_LYUN: Keysym = _

pub const Armenian_lyun: Keysym = _

pub const Armenian_KHE: Keysym = _

pub const Armenian_khe: Keysym = _

pub const Armenian_TSA: Keysym = _

pub const Armenian_tsa: Keysym = _

pub const Armenian_KEN: Keysym = _

pub const Armenian_ken: Keysym = _

pub const Armenian_HO: Keysym = _

pub const Armenian_ho: Keysym = _

pub const Armenian_DZA: Keysym = _

pub const Armenian_dza: Keysym = _

pub const Armenian_GHAT: Keysym = _

pub const Armenian_ghat: Keysym = _

pub const Armenian_TCHE: Keysym = _

pub const Armenian_tche: Keysym = _

pub const Armenian_MEN: Keysym = _

pub const Armenian_men: Keysym = _

pub const Armenian_HI: Keysym = _

pub const Armenian_hi: Keysym = _

pub const Armenian_NU: Keysym = _

pub const Armenian_nu: Keysym = _

pub const Armenian_SHA: Keysym = _

pub const Armenian_sha: Keysym = _

pub const Armenian_VO: Keysym = _

pub const Armenian_vo: Keysym = _

pub const Armenian_CHA: Keysym = _

pub const Armenian_cha: Keysym = _

pub const Armenian_PE: Keysym = _

pub const Armenian_pe: Keysym = _

pub const Armenian_JE: Keysym = _

pub const Armenian_je: Keysym = _

pub const Armenian_RA: Keysym = _

pub const Armenian_ra: Keysym = _

pub const Armenian_SE: Keysym = _

pub const Armenian_se: Keysym = _

pub const Armenian_VEV: Keysym = _

pub const Armenian_vev: Keysym = _

pub const Armenian_TYUN: Keysym = _

pub const Armenian_tyun: Keysym = _

pub const Armenian_RE: Keysym = _

pub const Armenian_re: Keysym = _

pub const Armenian_TSO: Keysym = _

pub const Armenian_tso: Keysym = _

pub const Armenian_VYUN: Keysym = _

pub const Armenian_vyun: Keysym = _

pub const Armenian_PYUR: Keysym = _

pub const Armenian_pyur: Keysym = _

pub const Armenian_KE: Keysym = _

pub const Armenian_ke: Keysym = _

pub const Armenian_O: Keysym = _

pub const Armenian_o: Keysym = _

pub const Armenian_FE: Keysym = _

pub const Armenian_fe: Keysym = _

pub const Armenian_apostrophe: Keysym = _

pub const Georgian_an: Keysym = _

pub const Georgian_ban: Keysym = _

pub const Georgian_gan: Keysym = _

pub const Georgian_don: Keysym = _

pub const Georgian_en: Keysym = _

pub const Georgian_vin: Keysym = _

pub const Georgian_zen: Keysym = _

pub const Georgian_tan: Keysym = _

pub const Georgian_in: Keysym = _

pub const Georgian_kan: Keysym = _

pub const Georgian_las: Keysym = _

pub const Georgian_man: Keysym = _

pub const Georgian_nar: Keysym = _

pub const Georgian_on: Keysym = _

pub const Georgian_par: Keysym = _

pub const Georgian_zhar: Keysym = _

pub const Georgian_rae: Keysym = _

pub const Georgian_san: Keysym = _

pub const Georgian_tar: Keysym = _

pub const Georgian_un: Keysym = _

pub const Georgian_phar: Keysym = _

pub const Georgian_khar: Keysym = _

pub const Georgian_ghan: Keysym = _

pub const Georgian_qar: Keysym = _

pub const Georgian_shin: Keysym = _

pub const Georgian_chin: Keysym = _

pub const Georgian_can: Keysym = _

pub const Georgian_jil: Keysym = _

pub const Georgian_cil: Keysym = _

pub const Georgian_char: Keysym = _

pub const Georgian_xan: Keysym = _

pub const Georgian_jhan: Keysym = _

pub const Georgian_hae: Keysym = _

pub const Georgian_he: Keysym = _

pub const Georgian_hie: Keysym = _

pub const Georgian_we: Keysym = _

pub const Georgian_har: Keysym = _

pub const Georgian_hoe: Keysym = _

pub const Georgian_fi: Keysym = _

pub const Xabovedot: Keysym = _

pub const Ibreve: Keysym = _

pub const Zstroke: Keysym = _

pub const Gcaron: Keysym = _

pub const Ocaron: Keysym = _

pub const Obarred: Keysym = _

pub const xabovedot: Keysym = _

pub const ibreve: Keysym = _

pub const zstroke: Keysym = _

pub const gcaron: Keysym = _

pub const ocaron: Keysym = _

pub const obarred: Keysym = _

pub const SCHWA: Keysym = _

pub const schwa: Keysym = _

pub const EZH: Keysym = _

pub const ezh: Keysym = _

pub const Lbelowdot: Keysym = _

pub const lbelowdot: Keysym = _

pub const Abelowdot: Keysym = _

pub const abelowdot: Keysym = _

pub const Ahook: Keysym = _

pub const ahook: Keysym = _

pub const Acircumflexacute: Keysym = _

pub const acircumflexacute: Keysym = _

pub const Acircumflexgrave: Keysym = _

pub const acircumflexgrave: Keysym = _

pub const Acircumflexhook: Keysym = _

pub const acircumflexhook: Keysym = _

pub const Acircumflextilde: Keysym = _

pub const acircumflextilde: Keysym = _

pub const Acircumflexbelowdot: Keysym = _

pub const acircumflexbelowdot: Keysym = _

pub const Abreveacute: Keysym = _

pub const abreveacute: Keysym = _

pub const Abrevegrave: Keysym = _

pub const abrevegrave: Keysym = _

pub const Abrevehook: Keysym = _

pub const abrevehook: Keysym = _

pub const Abrevetilde: Keysym = _

pub const abrevetilde: Keysym = _

pub const Abrevebelowdot: Keysym = _

pub const abrevebelowdot: Keysym = _

pub const Ebelowdot: Keysym = _

pub const ebelowdot: Keysym = _

pub const Ehook: Keysym = _

pub const ehook: Keysym = _

pub const Etilde: Keysym = _

pub const etilde: Keysym = _

pub const Ecircumflexacute: Keysym = _

pub const ecircumflexacute: Keysym = _

pub const Ecircumflexgrave: Keysym = _

pub const ecircumflexgrave: Keysym = _

pub const Ecircumflexhook: Keysym = _

pub const ecircumflexhook: Keysym = _

pub const Ecircumflextilde: Keysym = _

pub const ecircumflextilde: Keysym = _

pub const Ecircumflexbelowdot: Keysym = _

pub const ecircumflexbelowdot: Keysym = _

pub const Ihook: Keysym = _

pub const ihook: Keysym = _

pub const Ibelowdot: Keysym = _

pub const ibelowdot: Keysym = _

pub const Obelowdot: Keysym = _

pub const obelowdot: Keysym = _

pub const Ohook: Keysym = _

pub const ohook: Keysym = _

pub const Ocircumflexacute: Keysym = _

pub const ocircumflexacute: Keysym = _

pub const Ocircumflexgrave: Keysym = _

pub const ocircumflexgrave: Keysym = _

pub const Ocircumflexhook: Keysym = _

pub const ocircumflexhook: Keysym = _

pub const Ocircumflextilde: Keysym = _

pub const ocircumflextilde: Keysym = _

pub const Ocircumflexbelowdot: Keysym = _

pub const ocircumflexbelowdot: Keysym = _

pub const Ohornacute: Keysym = _

pub const ohornacute: Keysym = _

pub const Ohorngrave: Keysym = _

pub const ohorngrave: Keysym = _

pub const Ohornhook: Keysym = _

pub const ohornhook: Keysym = _

pub const Ohorntilde: Keysym = _

pub const ohorntilde: Keysym = _

pub const Ohornbelowdot: Keysym = _

pub const ohornbelowdot: Keysym = _

pub const Ubelowdot: Keysym = _

pub const ubelowdot: Keysym = _

pub const Uhook: Keysym = _

pub const uhook: Keysym = _

pub const Uhornacute: Keysym = _

pub const uhornacute: Keysym = _

pub const Uhorngrave: Keysym = _

pub const uhorngrave: Keysym = _

pub const Uhornhook: Keysym = _

pub const uhornhook: Keysym = _

pub const Uhorntilde: Keysym = _

pub const uhorntilde: Keysym = _

pub const Uhornbelowdot: Keysym = _

pub const uhornbelowdot: Keysym = _

pub const Ybelowdot: Keysym = _

pub const ybelowdot: Keysym = _

pub const Yhook: Keysym = _

pub const yhook: Keysym = _

pub const Ytilde: Keysym = _

pub const ytilde: Keysym = _

pub const Ohorn: Keysym = _

pub const ohorn: Keysym = _

pub const Uhorn: Keysym = _

pub const uhorn: Keysym = _

pub const combining_tilde: Keysym = _

pub const combining_grave: Keysym = _

pub const combining_acute: Keysym = _

pub const combining_hook: Keysym = _

pub const combining_belowdot: Keysym = _

pub const EcuSign: Keysym = _

pub const ColonSign: Keysym = _

pub const CruzeiroSign: Keysym = _

pub const FFrancSign: Keysym = _

pub const LiraSign: Keysym = _

pub const MillSign: Keysym = _

pub const NairaSign: Keysym = _

pub const PesetaSign: Keysym = _

pub const RupeeSign: Keysym = _

pub const WonSign: Keysym = _

pub const NewSheqelSign: Keysym = _

pub const DongSign: Keysym = _

pub const EuroSign: Keysym = _

pub const zerosuperior: Keysym = _

pub const foursuperior: Keysym = _

pub const fivesuperior: Keysym = _

pub const sixsuperior: Keysym = _

pub const sevensuperior: Keysym = _

pub const eightsuperior: Keysym = _

pub const ninesuperior: Keysym = _

pub const zerosubscript: Keysym = _

pub const onesubscript: Keysym = _

pub const twosubscript: Keysym = _

pub const threesubscript: Keysym = _

pub const foursubscript: Keysym = _

pub const fivesubscript: Keysym = _

pub const sixsubscript: Keysym = _

pub const sevensubscript: Keysym = _

pub const eightsubscript: Keysym = _

pub const ninesubscript: Keysym = _

pub const partdifferential: Keysym = _

pub const emptyset: Keysym = _

pub const elementof: Keysym = _

pub const notelementof: Keysym = _

pub const containsas: Keysym = _

pub const squareroot: Keysym = _

pub const cuberoot: Keysym = _

pub const fourthroot: Keysym = _

pub const dintegral: Keysym = _

pub const tintegral: Keysym = _

pub const because: Keysym = _

pub const approxeq: Keysym = _

pub const notapproxeq: Keysym = _

pub const notidentical: Keysym = _

pub const stricteq: Keysym = _

pub const braille_dot_1: Keysym = _

pub const braille_dot_2: Keysym = _

pub const braille_dot_3: Keysym = _

pub const braille_dot_4: Keysym = _

pub const braille_dot_5: Keysym = _

pub const braille_dot_6: Keysym = _

pub const braille_dot_7: Keysym = _

pub const braille_dot_8: Keysym = _

pub const braille_dot_9: Keysym = _

pub const braille_dot_10: Keysym = _

pub const braille_blank: Keysym = _

pub const braille_dots_1: Keysym = _

pub const braille_dots_2: Keysym = _

pub const braille_dots_12: Keysym = _

pub const braille_dots_3: Keysym = _

pub const braille_dots_13: Keysym = _

pub const braille_dots_23: Keysym = _

pub const braille_dots_123: Keysym = _

pub const braille_dots_4: Keysym = _

pub const braille_dots_14: Keysym = _

pub const braille_dots_24: Keysym = _

pub const braille_dots_124: Keysym = _

pub const braille_dots_34: Keysym = _

pub const braille_dots_134: Keysym = _

pub const braille_dots_234: Keysym = _

pub const braille_dots_1234: Keysym = _

pub const braille_dots_5: Keysym = _

pub const braille_dots_15: Keysym = _

pub const braille_dots_25: Keysym = _

pub const braille_dots_125: Keysym = _

pub const braille_dots_35: Keysym = _

pub const braille_dots_135: Keysym = _

pub const braille_dots_235: Keysym = _

pub const braille_dots_1235: Keysym = _

pub const braille_dots_45: Keysym = _

pub const braille_dots_145: Keysym = _

pub const braille_dots_245: Keysym = _

pub const braille_dots_1245: Keysym = _

pub const braille_dots_345: Keysym = _

pub const braille_dots_1345: Keysym = _

pub const braille_dots_2345: Keysym = _

pub const braille_dots_12345: Keysym = _

pub const braille_dots_6: Keysym = _

pub const braille_dots_16: Keysym = _

pub const braille_dots_26: Keysym = _

pub const braille_dots_126: Keysym = _

pub const braille_dots_36: Keysym = _

pub const braille_dots_136: Keysym = _

pub const braille_dots_236: Keysym = _

pub const braille_dots_1236: Keysym = _

pub const braille_dots_46: Keysym = _

pub const braille_dots_146: Keysym = _

pub const braille_dots_246: Keysym = _

pub const braille_dots_1246: Keysym = _

pub const braille_dots_346: Keysym = _

pub const braille_dots_1346: Keysym = _

pub const braille_dots_2346: Keysym = _

pub const braille_dots_12346: Keysym = _

pub const braille_dots_56: Keysym = _

pub const braille_dots_156: Keysym = _

pub const braille_dots_256: Keysym = _

pub const braille_dots_1256: Keysym = _

pub const braille_dots_356: Keysym = _

pub const braille_dots_1356: Keysym = _

pub const braille_dots_2356: Keysym = _

pub const braille_dots_12356: Keysym = _

pub const braille_dots_456: Keysym = _

pub const braille_dots_1456: Keysym = _

pub const braille_dots_2456: Keysym = _

pub const braille_dots_12456: Keysym = _

pub const braille_dots_3456: Keysym = _

pub const braille_dots_13456: Keysym = _

pub const braille_dots_23456: Keysym = _

pub const braille_dots_123456: Keysym = _

pub const braille_dots_7: Keysym = _

pub const braille_dots_17: Keysym = _

pub const braille_dots_27: Keysym = _

pub const braille_dots_127: Keysym = _

pub const braille_dots_37: Keysym = _

pub const braille_dots_137: Keysym = _

pub const braille_dots_237: Keysym = _

pub const braille_dots_1237: Keysym = _

pub const braille_dots_47: Keysym = _

pub const braille_dots_147: Keysym = _

pub const braille_dots_247: Keysym = _

pub const braille_dots_1247: Keysym = _

pub const braille_dots_347: Keysym = _

pub const braille_dots_1347: Keysym = _

pub const braille_dots_2347: Keysym = _

pub const braille_dots_12347: Keysym = _

pub const braille_dots_57: Keysym = _

pub const braille_dots_157: Keysym = _

pub const braille_dots_257: Keysym = _

pub const braille_dots_1257: Keysym = _

pub const braille_dots_357: Keysym = _

pub const braille_dots_1357: Keysym = _

pub const braille_dots_2357: Keysym = _

pub const braille_dots_12357: Keysym = _

pub const braille_dots_457: Keysym = _

pub const braille_dots_1457: Keysym = _

pub const braille_dots_2457: Keysym = _

pub const braille_dots_12457: Keysym = _

pub const braille_dots_3457: Keysym = _

pub const braille_dots_13457: Keysym = _

pub const braille_dots_23457: Keysym = _

pub const braille_dots_123457: Keysym = _

pub const braille_dots_67: Keysym = _

pub const braille_dots_167: Keysym = _

pub const braille_dots_267: Keysym = _

pub const braille_dots_1267: Keysym = _

pub const braille_dots_367: Keysym = _

pub const braille_dots_1367: Keysym = _

pub const braille_dots_2367: Keysym = _

pub const braille_dots_12367: Keysym = _

pub const braille_dots_467: Keysym = _

pub const braille_dots_1467: Keysym = _

pub const braille_dots_2467: Keysym = _

pub const braille_dots_12467: Keysym = _

pub const braille_dots_3467: Keysym = _

pub const braille_dots_13467: Keysym = _

pub const braille_dots_23467: Keysym = _

pub const braille_dots_123467: Keysym = _

pub const braille_dots_567: Keysym = _

pub const braille_dots_1567: Keysym = _

pub const braille_dots_2567: Keysym = _

pub const braille_dots_12567: Keysym = _

pub const braille_dots_3567: Keysym = _

pub const braille_dots_13567: Keysym = _

pub const braille_dots_23567: Keysym = _

pub const braille_dots_123567: Keysym = _

pub const braille_dots_4567: Keysym = _

pub const braille_dots_14567: Keysym = _

pub const braille_dots_24567: Keysym = _

pub const braille_dots_124567: Keysym = _

pub const braille_dots_34567: Keysym = _

pub const braille_dots_134567: Keysym = _

pub const braille_dots_234567: Keysym = _

pub const braille_dots_1234567: Keysym = _

pub const braille_dots_8: Keysym = _

pub const braille_dots_18: Keysym = _

pub const braille_dots_28: Keysym = _

pub const braille_dots_128: Keysym = _

pub const braille_dots_38: Keysym = _

pub const braille_dots_138: Keysym = _

pub const braille_dots_238: Keysym = _

pub const braille_dots_1238: Keysym = _

pub const braille_dots_48: Keysym = _

pub const braille_dots_148: Keysym = _

pub const braille_dots_248: Keysym = _

pub const braille_dots_1248: Keysym = _

pub const braille_dots_348: Keysym = _

pub const braille_dots_1348: Keysym = _

pub const braille_dots_2348: Keysym = _

pub const braille_dots_12348: Keysym = _

pub const braille_dots_58: Keysym = _

pub const braille_dots_158: Keysym = _

pub const braille_dots_258: Keysym = _

pub const braille_dots_1258: Keysym = _

pub const braille_dots_358: Keysym = _

pub const braille_dots_1358: Keysym = _

pub const braille_dots_2358: Keysym = _

pub const braille_dots_12358: Keysym = _

pub const braille_dots_458: Keysym = _

pub const braille_dots_1458: Keysym = _

pub const braille_dots_2458: Keysym = _

pub const braille_dots_12458: Keysym = _

pub const braille_dots_3458: Keysym = _

pub const braille_dots_13458: Keysym = _

pub const braille_dots_23458: Keysym = _

pub const braille_dots_123458: Keysym = _

pub const braille_dots_68: Keysym = _

pub const braille_dots_168: Keysym = _

pub const braille_dots_268: Keysym = _

pub const braille_dots_1268: Keysym = _

pub const braille_dots_368: Keysym = _

pub const braille_dots_1368: Keysym = _

pub const braille_dots_2368: Keysym = _

pub const braille_dots_12368: Keysym = _

pub const braille_dots_468: Keysym = _

pub const braille_dots_1468: Keysym = _

pub const braille_dots_2468: Keysym = _

pub const braille_dots_12468: Keysym = _

pub const braille_dots_3468: Keysym = _

pub const braille_dots_13468: Keysym = _

pub const braille_dots_23468: Keysym = _

pub const braille_dots_123468: Keysym = _

pub const braille_dots_568: Keysym = _

pub const braille_dots_1568: Keysym = _

pub const braille_dots_2568: Keysym = _

pub const braille_dots_12568: Keysym = _

pub const braille_dots_3568: Keysym = _

pub const braille_dots_13568: Keysym = _

pub const braille_dots_23568: Keysym = _

pub const braille_dots_123568: Keysym = _

pub const braille_dots_4568: Keysym = _

pub const braille_dots_14568: Keysym = _

pub const braille_dots_24568: Keysym = _

pub const braille_dots_124568: Keysym = _

pub const braille_dots_34568: Keysym = _

pub const braille_dots_134568: Keysym = _

pub const braille_dots_234568: Keysym = _

pub const braille_dots_1234568: Keysym = _

pub const braille_dots_78: Keysym = _

pub const braille_dots_178: Keysym = _

pub const braille_dots_278: Keysym = _

pub const braille_dots_1278: Keysym = _

pub const braille_dots_378: Keysym = _

pub const braille_dots_1378: Keysym = _

pub const braille_dots_2378: Keysym = _

pub const braille_dots_12378: Keysym = _

pub const braille_dots_478: Keysym = _

pub const braille_dots_1478: Keysym = _

pub const braille_dots_2478: Keysym = _

pub const braille_dots_12478: Keysym = _

pub const braille_dots_3478: Keysym = _

pub const braille_dots_13478: Keysym = _

pub const braille_dots_23478: Keysym = _

pub const braille_dots_123478: Keysym = _

pub const braille_dots_578: Keysym = _

pub const braille_dots_1578: Keysym = _

pub const braille_dots_2578: Keysym = _

pub const braille_dots_12578: Keysym = _

pub const braille_dots_3578: Keysym = _

pub const braille_dots_13578: Keysym = _

pub const braille_dots_23578: Keysym = _

pub const braille_dots_123578: Keysym = _

pub const braille_dots_4578: Keysym = _

pub const braille_dots_14578: Keysym = _

pub const braille_dots_24578: Keysym = _

pub const braille_dots_124578: Keysym = _

pub const braille_dots_34578: Keysym = _

pub const braille_dots_134578: Keysym = _

pub const braille_dots_234578: Keysym = _

pub const braille_dots_1234578: Keysym = _

pub const braille_dots_678: Keysym = _

pub const braille_dots_1678: Keysym = _

pub const braille_dots_2678: Keysym = _

pub const braille_dots_12678: Keysym = _

pub const braille_dots_3678: Keysym = _

pub const braille_dots_13678: Keysym = _

pub const braille_dots_23678: Keysym = _

pub const braille_dots_123678: Keysym = _

pub const braille_dots_4678: Keysym = _

pub const braille_dots_14678: Keysym = _

pub const braille_dots_24678: Keysym = _

pub const braille_dots_124678: Keysym = _

pub const braille_dots_34678: Keysym = _

pub const braille_dots_134678: Keysym = _

pub const braille_dots_234678: Keysym = _

pub const braille_dots_1234678: Keysym = _

pub const braille_dots_5678: Keysym = _

pub const braille_dots_15678: Keysym = _

pub const braille_dots_25678: Keysym = _

pub const braille_dots_125678: Keysym = _

pub const braille_dots_35678: Keysym = _

pub const braille_dots_135678: Keysym = _

pub const braille_dots_235678: Keysym = _

pub const braille_dots_1235678: Keysym = _

pub const braille_dots_45678: Keysym = _

pub const braille_dots_145678: Keysym = _

pub const braille_dots_245678: Keysym = _

pub const braille_dots_1245678: Keysym = _

pub const braille_dots_345678: Keysym = _

pub const braille_dots_1345678: Keysym = _

pub const braille_dots_2345678: Keysym = _

pub const braille_dots_12345678: Keysym = _

pub const Sinh_ng: Keysym = _

pub const Sinh_h2: Keysym = _

pub const Sinh_a: Keysym = _

pub const Sinh_aa: Keysym = _

pub const Sinh_ae: Keysym = _

pub const Sinh_aee: Keysym = _

pub const Sinh_i: Keysym = _

pub const Sinh_ii: Keysym = _

pub const Sinh_u: Keysym = _

pub const Sinh_uu: Keysym = _

pub const Sinh_ri: Keysym = _

pub const Sinh_rii: Keysym = _

pub const Sinh_lu: Keysym = _

pub const Sinh_luu: Keysym = _

pub const Sinh_e: Keysym = _

pub const Sinh_ee: Keysym = _

pub const Sinh_ai: Keysym = _

pub const Sinh_o: Keysym = _

pub const Sinh_oo: Keysym = _

pub const Sinh_au: Keysym = _

pub const Sinh_ka: Keysym = _

pub const Sinh_kha: Keysym = _

pub const Sinh_ga: Keysym = _

pub const Sinh_gha: Keysym = _

pub const Sinh_ng2: Keysym = _

pub const Sinh_nga: Keysym = _

pub const Sinh_ca: Keysym = _

pub const Sinh_cha: Keysym = _

pub const Sinh_ja: Keysym = _

pub const Sinh_jha: Keysym = _

pub const Sinh_nya: Keysym = _

pub const Sinh_jnya: Keysym = _

pub const Sinh_nja: Keysym = _

pub const Sinh_tta: Keysym = _

pub const Sinh_ttha: Keysym = _

pub const Sinh_dda: Keysym = _

pub const Sinh_ddha: Keysym = _

pub const Sinh_nna: Keysym = _

pub const Sinh_ndda: Keysym = _

pub const Sinh_tha: Keysym = _

pub const Sinh_thha: Keysym = _

pub const Sinh_dha: Keysym = _

pub const Sinh_dhha: Keysym = _

pub const Sinh_na: Keysym = _

pub const Sinh_ndha: Keysym = _

pub const Sinh_pa: Keysym = _

pub const Sinh_pha: Keysym = _

pub const Sinh_ba: Keysym = _

pub const Sinh_bha: Keysym = _

pub const Sinh_ma: Keysym = _

pub const Sinh_mba: Keysym = _

pub const Sinh_ya: Keysym = _

pub const Sinh_ra: Keysym = _

pub const Sinh_la: Keysym = _

pub const Sinh_va: Keysym = _

pub const Sinh_sha: Keysym = _

pub const Sinh_ssha: Keysym = _

pub const Sinh_sa: Keysym = _

pub const Sinh_ha: Keysym = _

pub const Sinh_lla: Keysym = _

pub const Sinh_fa: Keysym = _

pub const Sinh_al: Keysym = _

pub const Sinh_aa2: Keysym = _

pub const Sinh_ae2: Keysym = _

pub const Sinh_aee2: Keysym = _

pub const Sinh_i2: Keysym = _

pub const Sinh_ii2: Keysym = _

pub const Sinh_u2: Keysym = _

pub const Sinh_uu2: Keysym = _

pub const Sinh_ru2: Keysym = _

pub const Sinh_e2: Keysym = _

pub const Sinh_ee2: Keysym = _

pub const Sinh_ai2: Keysym = _

pub const Sinh_o2: Keysym = _

pub const Sinh_oo2: Keysym = _

pub const Sinh_au2: Keysym = _

pub const Sinh_lu2: Keysym = _

pub const Sinh_ruu2: Keysym = _

pub const Sinh_luu2: Keysym = _

pub const Sinh_kunddaliya: Keysym = _

pub const XF86_ModeLock: Keysym = _

pub const XF86_MonBrightnessUp: Keysym = _

pub const XF86_MonBrightnessDown: Keysym = _

pub const XF86_KbdLightOnOff: Keysym = _

pub const XF86_KbdBrightnessUp: Keysym = _

pub const XF86_KbdBrightnessDown: Keysym = _

pub const XF86_MonBrightnessCycle: Keysym = _

pub const XF86_Standby: Keysym = _

pub const XF86_AudioLowerVolume: Keysym = _

pub const XF86_AudioMute: Keysym = _

pub const XF86_AudioRaiseVolume: Keysym = _

pub const XF86_AudioPlay: Keysym = _

pub const XF86_AudioStop: Keysym = _

pub const XF86_AudioPrev: Keysym = _

pub const XF86_AudioNext: Keysym = _

pub const XF86_HomePage: Keysym = _

pub const XF86_Mail: Keysym = _

pub const XF86_Start: Keysym = _

pub const XF86_AudioRecord: Keysym = _

pub const XF86_Calculator: Keysym = _

pub const XF86_Memo: Keysym = _

pub const XF86_ToDoList: Keysym = _

pub const XF86_Calendar: Keysym = _

pub const XF86_PowerDown: Keysym = _

pub const XF86_ContrastAdjust: Keysym = _

pub const XF86_RockerUp: Keysym = _

pub const XF86_RockerDown: Keysym = _

pub const XF86_RockerEnter: Keysym = _

pub const XF86_Back: Keysym = _

pub const XF86_Forward: Keysym = _

pub const XF86_Stop: Keysym = _

pub const XF86_Refresh: Keysym = _

pub const XF86_PowerOff: Keysym = _

pub const XF86_WakeUp: Keysym = _

pub const XF86_Eject: Keysym = _

pub const XF86_ScreenSaver: Keysym = _

pub const XF86_WWW: Keysym = _

pub const XF86_Sleep: Keysym = _

pub const XF86_Favorites: Keysym = _

pub const XF86_AudioPause: Keysym = _

pub const XF86_AudioMedia: Keysym = _

pub const XF86_MyComputer: Keysym = _

pub const XF86_VendorHome: Keysym = _

pub const XF86_LightBulb: Keysym = _

pub const XF86_Shop: Keysym = _

pub const XF86_History: Keysym = _

pub const XF86_OpenURL: Keysym = _

pub const XF86_AddFavorite: Keysym = _

pub const XF86_BrightnessAdjust: Keysym = _

pub const XF86_Finance: Keysym = _

pub const XF86_Community: Keysym = _

pub const XF86_AudioRewind: Keysym = _

pub const XF86_BackForward: Keysym = _

pub const XF86_Launch0: Keysym = _

pub const XF86_Launch1: Keysym = _

pub const XF86_Launch2: Keysym = _

pub const XF86_Launch3: Keysym = _

pub const XF86_Launch4: Keysym = _

pub const XF86_Launch5: Keysym = _

pub const XF86_Launch6: Keysym = _

pub const XF86_Launch7: Keysym = _

pub const XF86_Launch8: Keysym = _

pub const XF86_Launch9: Keysym = _

pub const XF86_LaunchA: Keysym = _

pub const XF86_LaunchB: Keysym = _

pub const XF86_LaunchC: Keysym = _

pub const XF86_LaunchD: Keysym = _

pub const XF86_LaunchE: Keysym = _

pub const XF86_LaunchF: Keysym = _

pub const XF86_ApplicationLeft: Keysym = _

pub const XF86_ApplicationRight: Keysym = _

pub const XF86_Book: Keysym = _

pub const XF86_CD: Keysym = _

pub const XF86_Calculater: Keysym = _

pub const XF86_Clear: Keysym = _

pub const XF86_Close: Keysym = _

pub const XF86_Copy: Keysym = _

pub const XF86_Cut: Keysym = _

pub const XF86_Display: Keysym = _

pub const XF86_DOS: Keysym = _

pub const XF86_Documents: Keysym = _

pub const XF86_Excel: Keysym = _

pub const XF86_Explorer: Keysym = _

pub const XF86_Game: Keysym = _

pub const XF86_Go: Keysym = _

pub const XF86_iTouch: Keysym = _

pub const XF86_LogOff: Keysym = _

pub const XF86_Market: Keysym = _

pub const XF86_Meeting: Keysym = _

pub const XF86_MenuKB: Keysym = _

pub const XF86_MenuPB: Keysym = _

pub const XF86_MySites: Keysym = _

pub const XF86_New: Keysym = _

pub const XF86_News: Keysym = _

pub const XF86_OfficeHome: Keysym = _

pub const XF86_Open: Keysym = _

pub const XF86_Option: Keysym = _

pub const XF86_Paste: Keysym = _

pub const XF86_Phone: Keysym = _

pub const XF86_Q: Keysym = _

pub const XF86_Reply: Keysym = _

pub const XF86_Reload: Keysym = _

pub const XF86_RotateWindows: Keysym = _

pub const XF86_RotationPB: Keysym = _

pub const XF86_RotationKB: Keysym = _

pub const XF86_Save: Keysym = _

pub const XF86_ScrollUp: Keysym = _

pub const XF86_ScrollDown: Keysym = _

pub const XF86_ScrollClick: Keysym = _

pub const XF86_Send: Keysym = _

pub const XF86_Spell: Keysym = _

pub const XF86_SplitScreen: Keysym = _

pub const XF86_Support: Keysym = _

pub const XF86_TaskPane: Keysym = _

pub const XF86_Terminal: Keysym = _

pub const XF86_Tools: Keysym = _

pub const XF86_Travel: Keysym = _

pub const XF86_UserPB: Keysym = _

pub const XF86_User1KB: Keysym = _

pub const XF86_User2KB: Keysym = _

pub const XF86_Video: Keysym = _

pub const XF86_WheelButton: Keysym = _

pub const XF86_Word: Keysym = _

pub const XF86_Xfer: Keysym = _

pub const XF86_ZoomIn: Keysym = _

pub const XF86_ZoomOut: Keysym = _

pub const XF86_Away: Keysym = _

pub const XF86_Messenger: Keysym = _

pub const XF86_WebCam: Keysym = _

pub const XF86_MailForward: Keysym = _

pub const XF86_Pictures: Keysym = _

pub const XF86_Music: Keysym = _

pub const XF86_Battery: Keysym = _

pub const XF86_Bluetooth: Keysym = _

pub const XF86_WLAN: Keysym = _

pub const XF86_UWB: Keysym = _

pub const XF86_AudioForward: Keysym = _

pub const XF86_AudioRepeat: Keysym = _

pub const XF86_AudioRandomPlay: Keysym = _

pub const XF86_Subtitle: Keysym = _

pub const XF86_AudioCycleTrack: Keysym = _

pub const XF86_CycleAngle: Keysym = _

pub const XF86_FrameBack: Keysym = _

pub const XF86_FrameForward: Keysym = _

pub const XF86_Time: Keysym = _

pub const XF86_Select: Keysym = _

pub const XF86_View: Keysym = _

pub const XF86_TopMenu: Keysym = _

pub const XF86_Red: Keysym = _

pub const XF86_Green: Keysym = _

pub const XF86_Yellow: Keysym = _

pub const XF86_Blue: Keysym = _

pub const XF86_Suspend: Keysym = _

pub const XF86_Hibernate: Keysym = _

pub const XF86_TouchpadToggle: Keysym = _

pub const XF86_TouchpadOn: Keysym = _

pub const XF86_TouchpadOff: Keysym = _

pub const XF86_AudioMicMute: Keysym = _

pub const XF86_Keyboard: Keysym = _

pub const XF86_WWAN: Keysym = _

pub const XF86_RFKill: Keysym = _

pub const XF86_AudioPreset: Keysym = _

pub const XF86_RotationLockToggle: Keysym = _

pub const XF86_FullScreen: Keysym = _

pub const XF86_Switch_VT_1: Keysym = _

pub const XF86_Switch_VT_2: Keysym = _

pub const XF86_Switch_VT_3: Keysym = _

pub const XF86_Switch_VT_4: Keysym = _

pub const XF86_Switch_VT_5: Keysym = _

pub const XF86_Switch_VT_6: Keysym = _

pub const XF86_Switch_VT_7: Keysym = _

pub const XF86_Switch_VT_8: Keysym = _

pub const XF86_Switch_VT_9: Keysym = _

pub const XF86_Switch_VT_10: Keysym = _

pub const XF86_Switch_VT_11: Keysym = _

pub const XF86_Switch_VT_12: Keysym = _

pub const XF86_Ungrab: Keysym = _

pub const XF86_ClearGrab: Keysym = _

pub const XF86_Next_VMode: Keysym = _

pub const XF86_Prev_VMode: Keysym = _

pub const XF86_LogWindowTree: Keysym = _

pub const XF86_LogGrabInfo: Keysym = _

pub const XF86_BrightnessAuto: Keysym = _

pub const XF86_DisplayOff: Keysym = _

pub const XF86_Info: Keysym = _

pub const XF86_AspectRatio: Keysym = _

pub const XF86_DVD: Keysym = _

pub const XF86_Audio: Keysym = _

pub const XF86_ChannelUp: Keysym = _

pub const XF86_ChannelDown: Keysym = _

pub const XF86_Break: Keysym = _

pub const XF86_VideoPhone: Keysym = _

pub const XF86_ZoomReset: Keysym = _

pub const XF86_Editor: Keysym = _

pub const XF86_GraphicsEditor: Keysym = _

pub const XF86_Presentation: Keysym = _

pub const XF86_Database: Keysym = _

pub const XF86_Voicemail: Keysym = _

pub const XF86_Addressbook: Keysym = _

pub const XF86_DisplayToggle: Keysym = _

pub const XF86_SpellCheck: Keysym = _

pub const XF86_ContextMenu: Keysym = _

pub const XF86_MediaRepeat: Keysym = _

pub const XF86_10ChannelsUp: Keysym = _

pub const XF86_10ChannelsDown: Keysym = _

pub const XF86_Images: Keysym = _

pub const XF86_NotificationCenter: Keysym = _

pub const XF86_PickupPhone: Keysym = _

pub const XF86_HangupPhone: Keysym = _

pub const XF86_Fn: Keysym = _

pub const XF86_Fn_Esc: Keysym = _

pub const XF86_FnRightShift: Keysym = _

pub const XF86_Numeric0: Keysym = _

pub const XF86_Numeric1: Keysym = _

pub const XF86_Numeric2: Keysym = _

pub const XF86_Numeric3: Keysym = _

pub const XF86_Numeric4: Keysym = _

pub const XF86_Numeric5: Keysym = _

pub const XF86_Numeric6: Keysym = _

pub const XF86_Numeric7: Keysym = _

pub const XF86_Numeric8: Keysym = _

pub const XF86_Numeric9: Keysym = _

pub const XF86_NumericStar: Keysym = _

pub const XF86_NumericPound: Keysym = _

pub const XF86_NumericA: Keysym = _

pub const XF86_NumericB: Keysym = _

pub const XF86_NumericC: Keysym = _

pub const XF86_NumericD: Keysym = _

pub const XF86_CameraFocus: Keysym = _

pub const XF86_WPSButton: Keysym = _

pub const XF86_CameraZoomIn: Keysym = _

pub const XF86_CameraZoomOut: Keysym = _

pub const XF86_CameraUp: Keysym = _

pub const XF86_CameraDown: Keysym = _

pub const XF86_CameraLeft: Keysym = _

pub const XF86_CameraRight: Keysym = _

pub const XF86_AttendantOn: Keysym = _

pub const XF86_AttendantOff: Keysym = _

pub const XF86_AttendantToggle: Keysym = _

pub const XF86_LightsToggle: Keysym = _

pub const XF86_ALSToggle: Keysym = _

pub const XF86_Buttonconfig: Keysym = _

pub const XF86_Taskmanager: Keysym = _

pub const XF86_Journal: Keysym = _

pub const XF86_ControlPanel: Keysym = _

pub const XF86_AppSelect: Keysym = _

pub const XF86_Screensaver: Keysym = _

pub const XF86_VoiceCommand: Keysym = _

pub const XF86_Assistant: Keysym = _

pub const XF86_EmojiPicker: Keysym = _

pub const XF86_Dictate: Keysym = _

pub const XF86_CameraAccessEnable: Keysym = _

pub const XF86_CameraAccessDisable: Keysym = _

pub const XF86_CameraAccessToggle: Keysym = _

pub const XF86_BrightnessMin: Keysym = _

pub const XF86_BrightnessMax: Keysym = _

pub const XF86_KbdInputAssistPrev: Keysym = _

pub const XF86_KbdInputAssistNext: Keysym = _

pub const XF86_KbdInputAssistPrevgroup: Keysym = _

pub const XF86_KbdInputAssistNextgroup: Keysym = _

pub const XF86_KbdInputAssistAccept: Keysym = _

pub const XF86_KbdInputAssistCancel: Keysym = _

pub const XF86_RightUp: Keysym = _

pub const XF86_RightDown: Keysym = _

pub const XF86_LeftUp: Keysym = _

pub const XF86_LeftDown: Keysym = _

pub const XF86_RootMenu: Keysym = _

pub const XF86_MediaTopMenu: Keysym = _

pub const XF86_Numeric11: Keysym = _

pub const XF86_Numeric12: Keysym = _

pub const XF86_AudioDesc: Keysym = _

pub const XF86_3DMode: Keysym = _

pub const XF86_NextFavorite: Keysym = _

pub const XF86_StopRecord: Keysym = _

pub const XF86_PauseRecord: Keysym = _

pub const XF86_VOD: Keysym = _

pub const XF86_Unmute: Keysym = _

pub const XF86_FastReverse: Keysym = _

pub const XF86_SlowReverse: Keysym = _

pub const XF86_Data: Keysym = _

pub const XF86_OnScreenKeyboard: Keysym = _

pub const XF86_PrivacyScreenToggle: Keysym = _

pub const XF86_SelectiveScreenshot: Keysym = _

pub const XF86_NextElement: Keysym = _

pub const XF86_PreviousElement: Keysym = _

pub const XF86_AutopilotEngageToggle: Keysym = _

pub const XF86_MarkWaypoint: Keysym = _

pub const XF86_Sos: Keysym = _

pub const XF86_NavChart: Keysym = _

pub const XF86_FishingChart: Keysym = _

pub const XF86_SingleRangeRadar: Keysym = _

pub const XF86_DualRangeRadar: Keysym = _

pub const XF86_RadarOverlay: Keysym = _

pub const XF86_TraditionalSonar: Keysym = _

pub const XF86_ClearvuSonar: Keysym = _

pub const XF86_SidevuSonar: Keysym = _

pub const XF86_NavInfo: Keysym = _

pub const XF86_Macro1: Keysym = _

pub const XF86_Macro2: Keysym = _

pub const XF86_Macro3: Keysym = _

pub const XF86_Macro4: Keysym = _

pub const XF86_Macro5: Keysym = _

pub const XF86_Macro6: Keysym = _

pub const XF86_Macro7: Keysym = _

pub const XF86_Macro8: Keysym = _

pub const XF86_Macro9: Keysym = _

pub const XF86_Macro10: Keysym = _

pub const XF86_Macro11: Keysym = _

pub const XF86_Macro12: Keysym = _

pub const XF86_Macro13: Keysym = _

pub const XF86_Macro14: Keysym = _

pub const XF86_Macro15: Keysym = _

pub const XF86_Macro16: Keysym = _

pub const XF86_Macro17: Keysym = _

pub const XF86_Macro18: Keysym = _

pub const XF86_Macro19: Keysym = _

pub const XF86_Macro20: Keysym = _

pub const XF86_Macro21: Keysym = _

pub const XF86_Macro22: Keysym = _

pub const XF86_Macro23: Keysym = _

pub const XF86_Macro24: Keysym = _

pub const XF86_Macro25: Keysym = _

pub const XF86_Macro26: Keysym = _

pub const XF86_Macro27: Keysym = _

pub const XF86_Macro28: Keysym = _

pub const XF86_Macro29: Keysym = _

pub const XF86_Macro30: Keysym = _

pub const XF86_MacroRecordStart: Keysym = _

pub const XF86_MacroRecordStop: Keysym = _

pub const XF86_MacroPresetCycle: Keysym = _

pub const XF86_MacroPreset1: Keysym = _

pub const XF86_MacroPreset2: Keysym = _

pub const XF86_MacroPreset3: Keysym = _

pub const XF86_KbdLcdMenu1: Keysym = _

pub const XF86_KbdLcdMenu2: Keysym = _

pub const XF86_KbdLcdMenu3: Keysym = _

pub const XF86_KbdLcdMenu4: Keysym = _

pub const XF86_KbdLcdMenu5: Keysym = _

pub const SUN_FA_Grave: Keysym = _

pub const SUN_FA_Circum: Keysym = _

pub const SUN_FA_Tilde: Keysym = _

pub const SUN_FA_Acute: Keysym = _

pub const SUN_FA_Diaeresis: Keysym = _

pub const SUN_FA_Cedilla: Keysym = _

pub const SUN_F36: Keysym = _

pub const SUN_F37: Keysym = _

pub const SUN_Sys_Req: Keysym = _

pub const SUN_Print_Screen: Keysym = _

pub const SUN_Compose: Keysym = _

pub const SUN_AltGraph: Keysym = _

pub const SUN_PageUp: Keysym = _

pub const SUN_PageDown: Keysym = _

pub const SUN_Undo: Keysym = _

pub const SUN_Again: Keysym = _

pub const SUN_Find: Keysym = _

pub const SUN_Stop: Keysym = _

pub const SUN_Props: Keysym = _

pub const SUN_Front: Keysym = _

pub const SUN_Copy: Keysym = _

pub const SUN_Open: Keysym = _

pub const SUN_Paste: Keysym = _

pub const SUN_Cut: Keysym = _

pub const SUN_PowerSwitch: Keysym = _

pub const SUN_AudioLowerVolume: Keysym = _

pub const SUN_AudioMute: Keysym = _

pub const SUN_AudioRaiseVolume: Keysym = _

pub const SUN_VideoDegauss: Keysym = _

pub const SUN_VideoLowerBrightness: Keysym = _

pub const SUN_VideoRaiseBrightness: Keysym = _

pub const SUN_PowerSwitchShift: Keysym = _

pub const D_ring_accent: Keysym = _

pub const D_circumflex_accent: Keysym = _

pub const D_cedilla_accent: Keysym = _

pub const D_acute_accent: Keysym = _

pub const D_grave_accent: Keysym = _

pub const D_tilde: Keysym = _

pub const D_diaeresis: Keysym = _

pub const D_Remove: Keysym = _

pub const HP_ClearLine: Keysym = _

pub const HP_InsertLine: Keysym = _

pub const HP_DeleteLine: Keysym = _

pub const HP_InsertChar: Keysym = _

pub const HP_DeleteChar: Keysym = _

pub const HP_BackTab: Keysym = _

pub const HP_KP_BackTab: Keysym = _

pub const HP_Modelock1: Keysym = _

pub const HP_Modelock2: Keysym = _

pub const HP_Reset: Keysym = _

pub const HP_System: Keysym = _

pub const HP_User: Keysym = _

pub const HP_mute_acute: Keysym = _

pub const HP_mute_grave: Keysym = _

pub const HP_mute_asciicircum: Keysym = _

pub const HP_mute_diaeresis: Keysym = _

pub const HP_mute_asciitilde: Keysym = _

pub const HP_lira: Keysym = _

pub const HP_guilder: Keysym = _

pub const HP_IO: Keysym = _

pub const HP_longminus: Keysym = _

pub const HP_block: Keysym = _

pub const OSF_Copy: Keysym = _

pub const OSF_Cut: Keysym = _

pub const OSF_Paste: Keysym = _

pub const OSF_BackTab: Keysym = _

pub const OSF_BackSpace: Keysym = _

pub const OSF_Clear: Keysym = _

pub const OSF_Escape: Keysym = _

pub const OSF_AddMode: Keysym = _

pub const OSF_PrimaryPaste: Keysym = _

pub const OSF_QuickPaste: Keysym = _

pub const OSF_PageLeft: Keysym = _

pub const OSF_PageUp: Keysym = _

pub const OSF_PageDown: Keysym = _

pub const OSF_PageRight: Keysym = _

pub const OSF_Activate: Keysym = _

pub const OSF_MenuBar: Keysym = _

pub const OSF_Left: Keysym = _

pub const OSF_Up: Keysym = _

pub const OSF_Right: Keysym = _

pub const OSF_Down: Keysym = _

pub const OSF_EndLine: Keysym = _

pub const OSF_BeginLine: Keysym = _

pub const OSF_EndData: Keysym = _

pub const OSF_BeginData: Keysym = _

pub const OSF_PrevMenu: Keysym = _

pub const OSF_NextMenu: Keysym = _

pub const OSF_PrevField: Keysym = _

pub const OSF_NextField: Keysym = _

pub const OSF_Select: Keysym = _

pub const OSF_Insert: Keysym = _

pub const OSF_Undo: Keysym = _

pub const OSF_Menu: Keysym = _

pub const OSF_Cancel: Keysym = _

pub const OSF_Help: Keysym = _

pub const OSF_SelectAll: Keysym = _

pub const OSF_DeselectAll: Keysym = _

pub const OSF_Reselect: Keysym = _

pub const OSF_Extend: Keysym = _

pub const OSF_Restore: Keysym = _

pub const OSF_Delete: Keysym = _

pub const Reset: Keysym = _

pub const System: Keysym = _

pub const User: Keysym = _

pub const ClearLine: Keysym = _

pub const InsertLine: Keysym = _

pub const DeleteLine: Keysym = _

pub const InsertChar: Keysym = _

pub const DeleteChar: Keysym = _

pub const BackTab: Keysym = _

pub const KP_BackTab: Keysym = _

pub const Ext16bit_L: Keysym = _

pub const Ext16bit_R: Keysym = _

pub const mute_acute: Keysym = _

pub const mute_grave: Keysym = _

pub const mute_asciicircum: Keysym = _

pub const mute_diaeresis: Keysym = _

pub const mute_asciitilde: Keysym = _

pub const lira: Keysym = _

pub const guilder: Keysym = _

pub const IO: Keysym = _

pub const longminus: Keysym = _

pub const block: Keysym = _

§

impl Keysym

pub const fn new(raw: u32) -> Keysym

Create a new Keysym from a raw keyboard symbol.

+

pub const fn raw(self) -> u32

Get the raw keyboard symbol.

+

pub const fn name(self) -> Option<&'static str>

Get a string corresponding to the name of this keyboard symbol.

The output of this function is not stable and is intended for debugging purposes.

-

pub const fn is_keypad_key(self) -> bool

Tell whether a keysym is a keypad key.

-

pub const fn is_private_keypad_key(self) -> bool

Tell whether a keysym is a private keypad key.

-

pub const fn is_cursor_key(self) -> bool

Tell whether a keysym is a cursor key.

-

pub const fn is_pf_key(self) -> bool

Tell whether a keysym is a PF key.

-

pub const fn is_function_key(self) -> bool

Tell whether a keysym is a function key.

-

pub const fn is_misc_function_key(self) -> bool

Tell whether a key is a miscellaneous function key.

-

pub const fn is_modifier_key(self) -> bool

Tell whether a key is a modifier key.

-

pub fn key_char(self) -> Option<char>

Translate a keyboard symbol to its approximate character.

+

pub const fn is_keypad_key(self) -> bool

Tell whether a keysym is a keypad key.

+

pub const fn is_private_keypad_key(self) -> bool

Tell whether a keysym is a private keypad key.

+

pub const fn is_cursor_key(self) -> bool

Tell whether a keysym is a cursor key.

+

pub const fn is_pf_key(self) -> bool

Tell whether a keysym is a PF key.

+

pub const fn is_function_key(self) -> bool

Tell whether a keysym is a function key.

+

pub const fn is_misc_function_key(self) -> bool

Tell whether a key is a miscellaneous function key.

+

pub const fn is_modifier_key(self) -> bool

Tell whether a key is a modifier key.

+

pub fn key_char(self) -> Option<char>

Translate a keyboard symbol to its approximate character.

The translation follows the xkb_keysym_to_utf32 function.

-

pub fn from_char(ch: char) -> Keysym

Create a Keysym from the given char.

+

pub fn from_char(ch: char) -> Keysym

Create a Keysym from the given char.

This function replecates the xkb_utf32_to_keysym behavior.

-

Trait Implementations§

§

impl Clone for Keysym

§

fn clone(&self) -> Keysym

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Keysym

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Keysym

§

fn default() -> Keysym

Returns the “default value” for a type. Read more
§

impl From<u32> for Keysym

§

fn from(raw: u32) -> Keysym

Converts to this type from the input type.
§

impl Hash for Keysym

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

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

impl Ord for Keysym

§

fn cmp(&self, other: &Keysym) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where - Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where - Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Keysym

§

fn eq(&self, other: &Keysym) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl PartialOrd for Keysym

§

fn partial_cmp(&self, other: &Keysym) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > -operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
§

impl Zeroable for Keysym

§

fn zeroed() -> Self

§

impl Copy for Keysym

§

impl Eq for Keysym

§

impl Pod for Keysym

§

impl StructuralPartialEq for Keysym

Auto Trait Implementations§

§

impl Freeze for Keysym

§

impl RefUnwindSafe for Keysym

§

impl Send for Keysym

§

impl Sync for Keysym

§

impl Unpin for Keysym

§

impl UnwindSafe for Keysym

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedBitPattern for T
where +

Trait Implementations§

§

impl Clone for Keysym

§

fn clone(&self) -> Keysym

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for Keysym

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for Keysym

§

fn default() -> Keysym

Returns the “default value” for a type. Read more
§

impl From<u32> for Keysym

§

fn from(raw: u32) -> Keysym

Converts to this type from the input type.
§

impl Hash for Keysym

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

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

impl Ord for Keysym

§

fn cmp(&self, other: &Keysym) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where + Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where + Self: Sized,

Restrict a value to a certain interval. Read more
§

impl PartialEq for Keysym

§

fn eq(&self, other: &Keysym) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl PartialOrd for Keysym

§

fn partial_cmp(&self, other: &Keysym) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > +operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
§

impl Zeroable for Keysym

§

fn zeroed() -> Self

§

impl Copy for Keysym

§

impl Eq for Keysym

§

impl Pod for Keysym

§

impl StructuralPartialEq for Keysym

Auto Trait Implementations§

§

impl Freeze for Keysym

§

impl RefUnwindSafe for Keysym

§

impl Send for Keysym

§

impl Sync for Keysym

§

impl Unpin for Keysym

§

impl UnwindSafe for Keysym

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

§

type Bits = T

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during -is_valid_bit_pattern.
§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits -as &Self.
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +is_valid_bit_pattern.
§

fn is_valid_bit_pattern(_bits: &T) -> bool

If this function returns true, then it must be valid to reinterpret bits +as &Self.
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> AnyBitPattern for T
where T: Pod,

§

impl<T> NoUninit for T
where diff --git a/smithay_client_toolkit/seat/keyboard/struct.Modifiers.html b/smithay_client_toolkit/seat/keyboard/struct.Modifiers.html index 0130272d1..de3338405 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.Modifiers.html +++ b/smithay_client_toolkit/seat/keyboard/struct.Modifiers.html @@ -1,42 +1,42 @@ -Modifiers in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::Modifiers

source ·
pub struct Modifiers {
-    pub ctrl: bool,
-    pub alt: bool,
-    pub shift: bool,
-    pub caps_lock: bool,
-    pub logo: bool,
-    pub num_lock: bool,
+Modifiers in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct Modifiers

source
pub struct Modifiers {
+    pub ctrl: bool,
+    pub alt: bool,
+    pub shift: bool,
+    pub caps_lock: bool,
+    pub logo: bool,
+    pub num_lock: bool,
 }
Expand description

The state of keyboard modifiers

Each field of this indicates whether a specified modifier is active.

Depending on the modifier, the modifier key may currently be pressed or toggled.

-

Fields§

§ctrl: bool

The “control” key

-
§alt: bool

The “alt” key

-
§shift: bool

The “shift” key

-
§caps_lock: bool

The “Caps lock” key

-

The “logo” key

+

Fields§

§ctrl: bool

The “control” key

+
§alt: bool

The “alt” key

+
§shift: bool

The “shift” key

+
§caps_lock: bool

The “Caps lock” key

+

The “logo” key

Also known as the “windows” or “super” key on a keyboard.

-
§num_lock: bool

The “Num lock” key

-

Trait Implementations§

source§

impl Clone for Modifiers

source§

fn clone(&self) -> Modifiers

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Modifiers

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Modifiers

source§

fn default() -> Modifiers

Returns the “default value” for a type. Read more
source§

impl Copy for Modifiers

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
§num_lock: bool

The “Num lock” key

+

Trait Implementations§

source§

impl Clone for Modifiers

source§

fn clone(&self) -> Modifiers

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Modifiers

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Modifiers

source§

fn default() -> Modifiers

Returns the “default value” for a type. Read more
source§

impl Copy for Modifiers

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.RMLVO.html b/smithay_client_toolkit/seat/keyboard/struct.RMLVO.html index 9d56df67e..ab05484ba 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.RMLVO.html +++ b/smithay_client_toolkit/seat/keyboard/struct.RMLVO.html @@ -1,40 +1,40 @@ -RMLVO in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::RMLVO

source ·
pub struct RMLVO {
-    pub rules: Option<String>,
-    pub model: Option<String>,
-    pub layout: Option<String>,
-    pub variant: Option<String>,
-    pub options: Option<String>,
+RMLVO in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct RMLVO

source
pub struct RMLVO {
+    pub rules: Option<String>,
+    pub model: Option<String>,
+    pub layout: Option<String>,
+    pub variant: Option<String>,
+    pub options: Option<String>,
 }
Expand description

The RMLVO description of a keymap

All fields are optional, and the system default will be used if set to None.

-

Fields§

§rules: Option<String>

The rules file to use

-
§model: Option<String>

The keyboard model by which to interpret keycodes and LEDs

-
§layout: Option<String>

A comma separated list of layouts (languages) to include in the keymap

-
§variant: Option<String>

A comma separated list of variants, one per layout, which may modify or +

Fields§

§rules: Option<String>

The rules file to use

+
§model: Option<String>

The keyboard model by which to interpret keycodes and LEDs

+
§layout: Option<String>

A comma separated list of layouts (languages) to include in the keymap

+
§variant: Option<String>

A comma separated list of variants, one per layout, which may modify or augment the respective layout in various ways

-
§options: Option<String>

A comma separated list of options, through which the user specifies +

§options: Option<String>

A comma separated list of options, through which the user specifies non-layout related preferences, like which key combinations are used for switching layouts, or which key is the Compose key.

-

Trait Implementations§

source§

impl Debug for RMLVO

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for RMLVO

§

impl RefUnwindSafe for RMLVO

§

impl Send for RMLVO

§

impl Sync for RMLVO

§

impl Unpin for RMLVO

§

impl UnwindSafe for RMLVO

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for RMLVO

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for RMLVO

§

impl RefUnwindSafe for RMLVO

§

impl Send for RMLVO

§

impl Sync for RMLVO

§

impl Unpin for RMLVO

§

impl UnwindSafe for RMLVO

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/struct.RawModifiers.html b/smithay_client_toolkit/seat/keyboard/struct.RawModifiers.html index eba1606bc..e32db5e6b 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.RawModifiers.html +++ b/smithay_client_toolkit/seat/keyboard/struct.RawModifiers.html @@ -1,30 +1,30 @@ -RawModifiers in smithay_client_toolkit::seat::keyboard - Rust

Struct smithay_client_toolkit::seat::keyboard::RawModifiers

source ·
pub struct RawModifiers {
-    pub depressed: u32,
-    pub latched: u32,
-    pub locked: u32,
+RawModifiers in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Struct RawModifiers

source
pub struct RawModifiers {
+    pub depressed: u32,
+    pub latched: u32,
+    pub locked: u32,
 }
Expand description

State of keyboard modifiers, in raw form sent by compositor.

-

Fields§

§depressed: u32§latched: u32§locked: u32

Trait Implementations§

source§

impl Clone for RawModifiers

source§

fn clone(&self) -> RawModifiers

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RawModifiers

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RawModifiers

source§

fn default() -> RawModifiers

Returns the “default value” for a type. Read more
source§

impl Copy for RawModifiers

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Fields§

§depressed: u32§latched: u32§locked: u32

Trait Implementations§

source§

impl Clone for RawModifiers

source§

fn clone(&self) -> RawModifiers

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RawModifiers

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RawModifiers

source§

fn default() -> RawModifiers

Returns the “default value” for a type. Read more
source§

impl Copy for RawModifiers

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/keyboard/trait.KeyboardDataExt.html b/smithay_client_toolkit/seat/keyboard/trait.KeyboardDataExt.html index 5d123b556..8078780a4 100644 --- a/smithay_client_toolkit/seat/keyboard/trait.KeyboardDataExt.html +++ b/smithay_client_toolkit/seat/keyboard/trait.KeyboardDataExt.html @@ -1,4 +1,4 @@ -KeyboardDataExt in smithay_client_toolkit::seat::keyboard - Rust
pub trait KeyboardDataExt: Send + Sync {
+KeyboardDataExt in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Trait KeyboardDataExt

source
pub trait KeyboardDataExt: Send + Sync {
     type State: 'static;
 
     // Required methods
diff --git a/smithay_client_toolkit/seat/keyboard/trait.KeyboardHandler.html b/smithay_client_toolkit/seat/keyboard/trait.KeyboardHandler.html
index 2d2554eb3..afb355571 100644
--- a/smithay_client_toolkit/seat/keyboard/trait.KeyboardHandler.html
+++ b/smithay_client_toolkit/seat/keyboard/trait.KeyboardHandler.html
@@ -1,4 +1,4 @@
-KeyboardHandler in smithay_client_toolkit::seat::keyboard - Rust
pub trait KeyboardHandler: Sized {
+KeyboardHandler in smithay_client_toolkit::seat::keyboard - Rust
smithay_client_toolkit::seat::keyboard

Trait KeyboardHandler

source
pub trait KeyboardHandler: Sized {
     // Required methods
     fn enter(
         &mut self,
@@ -6,8 +6,8 @@
         qh: &QueueHandle<Self>,
         keyboard: &WlKeyboard,
         surface: &WlSurface,
-        serial: u32,
-        raw: &[u32],
+        serial: u32,
+        raw: &[u32],
         keysyms: &[Keysym],
     );
     fn leave(
@@ -16,14 +16,14 @@
         qh: &QueueHandle<Self>,
         keyboard: &WlKeyboard,
         surface: &WlSurface,
-        serial: u32,
+        serial: u32,
     );
     fn press_key(
         &mut self,
         conn: &Connection,
         qh: &QueueHandle<Self>,
         keyboard: &WlKeyboard,
-        serial: u32,
+        serial: u32,
         event: KeyEvent,
     );
     fn release_key(
@@ -31,7 +31,7 @@
         conn: &Connection,
         qh: &QueueHandle<Self>,
         keyboard: &WlKeyboard,
-        serial: u32,
+        serial: u32,
         event: KeyEvent,
     );
     fn update_modifiers(
@@ -39,10 +39,10 @@
         conn: &Connection,
         qh: &QueueHandle<Self>,
         keyboard: &WlKeyboard,
-        serial: u32,
+        serial: u32,
         modifiers: Modifiers,
         raw_modifiers: RawModifiers,
-        layout: u32,
+        layout: u32,
     );
 
     // Provided methods
@@ -68,8 +68,8 @@
     qh: &QueueHandle<Self>,
     keyboard: &WlKeyboard,
     surface: &WlSurface,
-    serial: u32,
-    raw: &[u32],
+    serial: u32,
+    raw: &[u32],
     keysyms: &[Keysym],
 )

The keyboard has entered a surface.

When called, you may assume the specified surface has keyboard focus.

@@ -81,7 +81,7 @@ qh: &QueueHandle<Self>, keyboard: &WlKeyboard, surface: &WlSurface, - serial: u32, + serial: u32, )

The keyboard has left a surface.

When called, keyboard focus leaves the specified surface.

All currently held down keys are released when this event occurs.

@@ -90,7 +90,7 @@ conn: &Connection, qh: &QueueHandle<Self>, keyboard: &WlKeyboard, - serial: u32, + serial: u32, event: KeyEvent, )

A key has been pressed on the keyboard.

The key will repeat if there is no other press event afterwards or the key is released.

@@ -99,7 +99,7 @@ conn: &Connection, qh: &QueueHandle<Self>, keyboard: &WlKeyboard, - serial: u32, + serial: u32, event: KeyEvent, )

A key has been released.

This stops the key from being repeated if the key is the last key which was pressed.

@@ -108,10 +108,10 @@ conn: &Connection, qh: &QueueHandle<Self>, keyboard: &WlKeyboard, - serial: u32, + serial: u32, modifiers: Modifiers, raw_modifiers: RawModifiers, - layout: u32, + layout: u32, )

Keyboard modifiers have been updated.

This happens when one of the modifier keys, such as “Shift”, “Control” or “Alt” is pressed or released.

@@ -135,4 +135,4 @@ as an xkbcommon::xkb::Keymap due to the fact xkbcommon uses non-thread-safe reference counting. But can be used to create an independent Keymap.

This is called after the default handler for keymap changes and does nothing by default.

-

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file +

Object Safety§

This trait is not object safe.

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_BACK.html b/smithay_client_toolkit/seat/pointer/constant.BTN_BACK.html index e4fdcde03..3eef0082f 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_BACK.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_BACK.html @@ -1,2 +1,2 @@ -BTN_BACK in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_BACK

source ·
pub const BTN_BACK: u32 = 0x116;
Expand description

See also BTN_SIDE.

+BTN_BACK in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_BACK

source
pub const BTN_BACK: u32 = 0x116;
Expand description

See also BTN_SIDE.

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_EXTRA.html b/smithay_client_toolkit/seat/pointer/constant.BTN_EXTRA.html index b4d2f4e41..6f84ee3f1 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_EXTRA.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_EXTRA.html @@ -1,2 +1,2 @@ -BTN_EXTRA in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_EXTRA

source ·
pub const BTN_EXTRA: u32 = 0x114;
Expand description

The fifth non-scroll button, which is often used as “forward” in web browsers.

+BTN_EXTRA in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_EXTRA

source
pub const BTN_EXTRA: u32 = 0x114;
Expand description

The fifth non-scroll button, which is often used as “forward” in web browsers.

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_FORWARD.html b/smithay_client_toolkit/seat/pointer/constant.BTN_FORWARD.html index c462fe51b..ac33656f4 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_FORWARD.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_FORWARD.html @@ -1,2 +1,2 @@ -BTN_FORWARD in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_FORWARD

source ·
pub const BTN_FORWARD: u32 = 0x115;
Expand description

See also BTN_EXTRA.

+BTN_FORWARD in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_FORWARD

source
pub const BTN_FORWARD: u32 = 0x115;
Expand description

See also BTN_EXTRA.

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_LEFT.html b/smithay_client_toolkit/seat/pointer/constant.BTN_LEFT.html index a17d1898b..9aafb1d23 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_LEFT.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_LEFT.html @@ -1 +1 @@ -BTN_LEFT in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_LEFT

source ·
pub const BTN_LEFT: u32 = 0x110;
\ No newline at end of file +BTN_LEFT in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_LEFT

source
pub const BTN_LEFT: u32 = 0x110;
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_MIDDLE.html b/smithay_client_toolkit/seat/pointer/constant.BTN_MIDDLE.html index ec1c692fa..359528b69 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_MIDDLE.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_MIDDLE.html @@ -1 +1 @@ -BTN_MIDDLE in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_MIDDLE

source ·
pub const BTN_MIDDLE: u32 = 0x112;
\ No newline at end of file +BTN_MIDDLE in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_MIDDLE

source
pub const BTN_MIDDLE: u32 = 0x112;
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_RIGHT.html b/smithay_client_toolkit/seat/pointer/constant.BTN_RIGHT.html index 5ae94d2f4..07b034aad 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_RIGHT.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_RIGHT.html @@ -1 +1 @@ -BTN_RIGHT in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_RIGHT

source ·
pub const BTN_RIGHT: u32 = 0x111;
\ No newline at end of file +BTN_RIGHT in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_RIGHT

source
pub const BTN_RIGHT: u32 = 0x111;
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_SIDE.html b/smithay_client_toolkit/seat/pointer/constant.BTN_SIDE.html index fa882f1d5..b1135eb5f 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_SIDE.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_SIDE.html @@ -1,2 +1,2 @@ -BTN_SIDE in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_SIDE

source ·
pub const BTN_SIDE: u32 = 0x113;
Expand description

The fourth non-scroll button, which is often used as “back” in web browsers.

+BTN_SIDE in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_SIDE

source
pub const BTN_SIDE: u32 = 0x113;
Expand description

The fourth non-scroll button, which is often used as “back” in web browsers.

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/constant.BTN_TASK.html b/smithay_client_toolkit/seat/pointer/constant.BTN_TASK.html index 09c2b2463..0cb10ba20 100644 --- a/smithay_client_toolkit/seat/pointer/constant.BTN_TASK.html +++ b/smithay_client_toolkit/seat/pointer/constant.BTN_TASK.html @@ -1 +1 @@ -BTN_TASK in smithay_client_toolkit::seat::pointer - Rust

Constant smithay_client_toolkit::seat::pointer::BTN_TASK

source ·
pub const BTN_TASK: u32 = 0x117;
\ No newline at end of file +BTN_TASK in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Constant BTN_TASK

source
pub const BTN_TASK: u32 = 0x117;
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/cursor_shape/index.html b/smithay_client_toolkit/seat/pointer/cursor_shape/index.html index d152d4f0a..335eeb69b 100644 --- a/smithay_client_toolkit/seat/pointer/cursor_shape/index.html +++ b/smithay_client_toolkit/seat/pointer/cursor_shape/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::pointer::cursor_shape - Rust
\ No newline at end of file +smithay_client_toolkit::seat::pointer::cursor_shape - Rust
smithay_client_toolkit::seat::pointer

Module cursor_shape

source

Structs§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/cursor_shape/struct.CursorShapeManager.html b/smithay_client_toolkit/seat/pointer/cursor_shape/struct.CursorShapeManager.html index ff4d5bdc8..da08986aa 100644 --- a/smithay_client_toolkit/seat/pointer/cursor_shape/struct.CursorShapeManager.html +++ b/smithay_client_toolkit/seat/pointer/cursor_shape/struct.CursorShapeManager.html @@ -1,54 +1,54 @@ -CursorShapeManager in smithay_client_toolkit::seat::pointer::cursor_shape - Rust
pub struct CursorShapeManager { /* private fields */ }

Implementations§

source§

impl CursorShapeManager

source

pub fn bind<State>( +CursorShapeManager in smithay_client_toolkit::seat::pointer::cursor_shape - Rust
smithay_client_toolkit::seat::pointer::cursor_shape

Struct CursorShapeManager

source
pub struct CursorShapeManager { /* private fields */ }

Implementations§

source§

impl CursorShapeManager

source

pub fn bind<State>( globals: &GlobalList, queue_handle: &QueueHandle<State>, -) -> Result<Self, BindError>
where +) -> Result<Self, BindError>
where State: Dispatch<WpCursorShapeManagerV1, GlobalData> + 'static,

source

pub fn get_shape_device<State>( &self, pointer: &WlPointer, queue_handle: &QueueHandle<State>, ) -> WpCursorShapeDeviceV1
where - State: Dispatch<WpCursorShapeDeviceV1, GlobalData> + 'static,

source

pub fn inner(&self) -> &WpCursorShapeManagerV1

Trait Implementations§

source§

impl Debug for CursorShapeManager

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
where + State: Dispatch<WpCursorShapeDeviceV1, GlobalData> + 'static,

source

pub fn inner(&self) -> &WpCursorShapeManagerV1

Trait Implementations§

source§

impl Debug for CursorShapeManager

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
where State: Dispatch<WpCursorShapeDeviceV1, GlobalData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &WpCursorShapeDeviceV1, _: <WpCursorShapeDeviceV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
where +) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more
source§

impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
where State: Dispatch<WpCursorShapeManagerV1, GlobalData>,

source§

fn event( - _: &mut State, + _: &mut State, _: &WpCursorShapeManagerV1, _: <WpCursorShapeManagerV1 as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<State>, )

Called when an event from the server is processed Read more
§

fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
Method used to initialize the user-data of objects created by events Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/enum.CursorIcon.html b/smithay_client_toolkit/seat/pointer/enum.CursorIcon.html index 168fc1f8d..24878aced 100644 --- a/smithay_client_toolkit/seat/pointer/enum.CursorIcon.html +++ b/smithay_client_toolkit/seat/pointer/enum.CursorIcon.html @@ -1,4 +1,4 @@ -CursorIcon in smithay_client_toolkit::seat::pointer - Rust

Enum smithay_client_toolkit::seat::pointer::CursorIcon

#[non_exhaustive]
pub enum CursorIcon { +CursorIcon in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Enum CursorIcon

#[non_exhaustive]
pub enum CursorIcon {
Show 34 variants Default, ContextMenu, Help, @@ -99,7 +99,7 @@

§Examples

magnifying glass with a “+” in the center of the glass.

§

ZoomOut

Indicates that something can be zoomed in. Often rendered as a magnifying glass with a “-” in the center of the glass.

-

Implementations§

§

impl CursorIcon

pub fn name(&self) -> &'static str

The name of the cursor icon as defined in w3c standard.

+

Implementations§

§

impl CursorIcon

pub fn name(&self) -> &'static str

The name of the cursor icon as defined in w3c standard.

This name most of the time could be passed as is to cursor loading libraries on X11/Wayland and could be used as-is on web.

§Examples
@@ -117,41 +117,41 @@
§Examples
if let Some(cursor) = cursor { println!("Total number of images: {}", cursor.image_count()); }
-

pub fn alt_names(&self) -> &[&'static str]

A list of alternative names for the cursor icon as commonly found in +

pub fn alt_names(&self) -> &[&'static str]

A list of alternative names for the cursor icon as commonly found in legacy Xcursor themes.

This should only be used as a fallback in case the cursor theme does not adhere to the w3c standard.

-

Trait Implementations§

§

impl Clone for CursorIcon

§

fn clone(&self) -> CursorIcon

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CursorIcon

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for CursorIcon

§

fn default() -> CursorIcon

Returns the “default value” for a type. Read more
§

impl Display for CursorIcon

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FromStr for CursorIcon

§

fn from_str(name: &str) -> Result<CursorIcon, <CursorIcon as FromStr>::Err>

Parse a string slice into CursorIcon.

+

Trait Implementations§

§

impl Clone for CursorIcon

§

fn clone(&self) -> CursorIcon

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for CursorIcon

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Default for CursorIcon

§

fn default() -> CursorIcon

Returns the “default value” for a type. Read more
§

impl Display for CursorIcon

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl FromStr for CursorIcon

§

fn from_str(name: &str) -> Result<CursorIcon, <CursorIcon as FromStr>::Err>

Parse a string slice into CursorIcon.

The name is a lower kebab case CursorIcon varaint name, e.g. nesw-resize. The set of possible valid name values matches exactly the set of CursorIcon::name outputs.

-
§

type Err = ParseError

The associated error which can be returned from parsing.
§

impl Hash for CursorIcon

§

fn hash<__H>(&self, state: &mut __H)
where - __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where - H: Hasher, - Self: Sized,

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

impl PartialEq for CursorIcon

§

fn eq(&self, other: &CursorIcon) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Copy for CursorIcon

§

impl Eq for CursorIcon

§

impl StructuralPartialEq for CursorIcon

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
§

type Err = ParseError

The associated error which can be returned from parsing.
§

impl Hash for CursorIcon

§

fn hash<__H>(&self, state: &mut __H)
where + __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where + H: Hasher, + Self: Sized,

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

impl PartialEq for CursorIcon

§

fn eq(&self, other: &CursorIcon) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Copy for CursorIcon

§

impl Eq for CursorIcon

§

impl StructuralPartialEq for CursorIcon

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/enum.PointerEventKind.html b/smithay_client_toolkit/seat/pointer/enum.PointerEventKind.html index 533b02249..7ff21d47e 100644 --- a/smithay_client_toolkit/seat/pointer/enum.PointerEventKind.html +++ b/smithay_client_toolkit/seat/pointer/enum.PointerEventKind.html @@ -1,51 +1,51 @@ -PointerEventKind in smithay_client_toolkit::seat::pointer - Rust
pub enum PointerEventKind {
+PointerEventKind in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Enum PointerEventKind

source
pub enum PointerEventKind {
     Enter {
-        serial: u32,
+        serial: u32,
     },
     Leave {
-        serial: u32,
+        serial: u32,
     },
     Motion {
-        time: u32,
+        time: u32,
     },
     Press {
-        time: u32,
-        button: u32,
-        serial: u32,
+        time: u32,
+        button: u32,
+        serial: u32,
     },
     Release {
-        time: u32,
-        button: u32,
-        serial: u32,
+        time: u32,
+        button: u32,
+        serial: u32,
     },
     Axis {
-        time: u32,
+        time: u32,
         horizontal: AxisScroll,
         vertical: AxisScroll,
-        source: Option<AxisSource>,
+        source: Option<AxisSource>,
     },
-}

Variants§

§

Enter

Fields

§serial: u32
§

Leave

Fields

§serial: u32
§

Motion

Fields

§time: u32
§

Press

Fields

§time: u32
§button: u32
§serial: u32
§

Release

Fields

§time: u32
§button: u32
§serial: u32
§

Axis

Fields

§time: u32
§horizontal: AxisScroll
§vertical: AxisScroll
§source: Option<AxisSource>

Trait Implementations§

source§

impl Clone for PointerEventKind

source§

fn clone(&self) -> PointerEventKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PointerEventKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +}

Variants§

§

Enter

Fields

§serial: u32
§

Leave

Fields

§serial: u32
§

Motion

Fields

§time: u32
§

Press

Fields

§time: u32
§button: u32
§serial: u32
§

Release

Fields

§time: u32
§button: u32
§serial: u32
§

Axis

Fields

§time: u32
§horizontal: AxisScroll
§vertical: AxisScroll
§source: Option<AxisSource>

Trait Implementations§

source§

impl Clone for PointerEventKind

source§

fn clone(&self) -> PointerEventKind

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PointerEventKind

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/enum.PointerThemeError.html b/smithay_client_toolkit/seat/pointer/enum.PointerThemeError.html index 6ab933226..68bb3cfd9 100644 --- a/smithay_client_toolkit/seat/pointer/enum.PointerThemeError.html +++ b/smithay_client_toolkit/seat/pointer/enum.PointerThemeError.html @@ -1,4 +1,4 @@ -PointerThemeError in smithay_client_toolkit::seat::pointer - Rust
pub enum PointerThemeError {
+PointerThemeError in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Enum PointerThemeError

source
pub enum PointerThemeError {
     InvalidId(InvalidId),
     GlobalError(GlobalError),
     CursorNotFound,
@@ -8,27 +8,27 @@
 
§

GlobalError(GlobalError)

A global error occurred.

§

CursorNotFound

The requested cursor was not found.

§

MissingEnterSerial

There has been no enter event yet for the pointer.

-

Trait Implementations§

source§

impl Debug for PointerThemeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PointerThemeError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PointerThemeError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for PointerThemeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for PointerThemeError

source§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for PointerThemeError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html b/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html index a228c5721..3649ba36a 100644 --- a/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html +++ b/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html @@ -1,39 +1,39 @@ -ThemeSpec in smithay_client_toolkit::seat::pointer - Rust

Enum smithay_client_toolkit::seat::pointer::ThemeSpec

source ·
pub enum ThemeSpec<'a> {
+ThemeSpec in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Enum ThemeSpec

source
pub enum ThemeSpec<'a> {
     Named {
-        name: &'a str,
-        size: u32,
+        name: &'a str,
+        size: u32,
     },
     System,
 }
Expand description

Specifies which cursor theme should be used by the theme manager.

Variants§

§

Named

Use this specific theme with the given base size.

-

Fields

§name: &'a str

Name of the cursor theme.

-
§size: u32

Base size of the cursor names.

+

Fields

§name: &'a str

Name of the cursor theme.

+
§size: u32

Base size of the cursor names.

Note this size assumes a scale factor of 1. Cursor image sizes may be multiplied by the base size for HiDPI outputs.

§

System

Use the system provided theme

In this case SCTK will read the XCURSOR_THEME and XCURSOR_SIZE environment variables to figure out the theme to use.

-

Trait Implementations§

source§

impl<'a> Debug for ThemeSpec<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Default for ThemeSpec<'a>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ThemeSpec<'a>

§

impl<'a> RefUnwindSafe for ThemeSpec<'a>

§

impl<'a> Send for ThemeSpec<'a>

§

impl<'a> Sync for ThemeSpec<'a>

§

impl<'a> Unpin for ThemeSpec<'a>

§

impl<'a> UnwindSafe for ThemeSpec<'a>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl<'a> Debug for ThemeSpec<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'a> Default for ThemeSpec<'a>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a> Freeze for ThemeSpec<'a>

§

impl<'a> RefUnwindSafe for ThemeSpec<'a>

§

impl<'a> Send for ThemeSpec<'a>

§

impl<'a> Sync for ThemeSpec<'a>

§

impl<'a> Unpin for ThemeSpec<'a>

§

impl<'a> UnwindSafe for ThemeSpec<'a>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/index.html b/smithay_client_toolkit/seat/pointer/index.html index 6196a96e1..2680f93b7 100644 --- a/smithay_client_toolkit/seat/pointer/index.html +++ b/smithay_client_toolkit/seat/pointer/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::pointer - Rust

Module smithay_client_toolkit::seat::pointer

source ·

Modules§

Structs§

Enums§

Constants§

Traits§

\ No newline at end of file +smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat

Module pointer

source

Modules§

Structs§

Enums§

Constants§

Traits§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/struct.AxisScroll.html b/smithay_client_toolkit/seat/pointer/struct.AxisScroll.html index df4e3c8f9..d3d88bde8 100644 --- a/smithay_client_toolkit/seat/pointer/struct.AxisScroll.html +++ b/smithay_client_toolkit/seat/pointer/struct.AxisScroll.html @@ -1,38 +1,38 @@ -AxisScroll in smithay_client_toolkit::seat::pointer - Rust

Struct smithay_client_toolkit::seat::pointer::AxisScroll

source ·
pub struct AxisScroll {
-    pub absolute: f64,
-    pub discrete: i32,
-    pub stop: bool,
+AxisScroll in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Struct AxisScroll

source
pub struct AxisScroll {
+    pub absolute: f64,
+    pub discrete: i32,
+    pub stop: bool,
 }
Expand description

Describes a scroll along one axis

-

Fields§

§absolute: f64

The scroll measured in pixels.

-
§discrete: i32

The scroll measured in steps.

+

Fields§

§absolute: f64

The scroll measured in pixels.

+
§discrete: i32

The scroll measured in steps.

Note: this might always be zero if the scrolling is due to a touchpad or other continuous source.

-
§stop: bool

The scroll was stopped.

+
§stop: bool

The scroll was stopped.

Generally this is encountered when hardware indicates the end of some continuous scrolling.

-

Implementations§

source§

impl AxisScroll

source

pub fn is_none(&self) -> bool

Returns true if there was no movement along this axis.

-

Trait Implementations§

source§

impl Clone for AxisScroll

source§

fn clone(&self) -> AxisScroll

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AxisScroll

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AxisScroll

source§

fn default() -> AxisScroll

Returns the “default value” for a type. Read more
source§

impl PartialEq for AxisScroll

source§

fn eq(&self, other: &AxisScroll) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
source§

impl Copy for AxisScroll

source§

impl StructuralPartialEq for AxisScroll

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Implementations§

source§

impl AxisScroll

source

pub fn is_none(&self) -> bool

Returns true if there was no movement along this axis.

+

Trait Implementations§

source§

impl Clone for AxisScroll

source§

fn clone(&self) -> AxisScroll

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AxisScroll

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AxisScroll

source§

fn default() -> AxisScroll

Returns the “default value” for a type. Read more
source§

impl PartialEq for AxisScroll

source§

fn eq(&self, other: &AxisScroll) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
source§

impl Copy for AxisScroll

source§

impl StructuralPartialEq for AxisScroll

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/struct.CursorIconParseError.html b/smithay_client_toolkit/seat/pointer/struct.CursorIconParseError.html index 2fa42a55f..8009f2801 100644 --- a/smithay_client_toolkit/seat/pointer/struct.CursorIconParseError.html +++ b/smithay_client_toolkit/seat/pointer/struct.CursorIconParseError.html @@ -1,27 +1,27 @@ -CursorIconParseError in smithay_client_toolkit::seat::pointer - Rust
pub struct CursorIconParseError { /* private fields */ }
Expand description

An error which could be returned when parsing CursorIcon.

-

This occurs when the FromStr implementation of CursorIcon fails.

-

Trait Implementations§

§

impl Debug for ParseError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for ParseError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for ParseError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl PartialEq for ParseError

§

fn eq(&self, other: &ParseError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
§

impl Eq for ParseError

§

impl StructuralPartialEq for ParseError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +CursorIconParseError in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Struct CursorIconParseError

pub struct CursorIconParseError { /* private fields */ }
Expand description

An error which could be returned when parsing CursorIcon.

+

This occurs when the FromStr implementation of CursorIcon fails.

+

Trait Implementations§

§

impl Debug for ParseError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for ParseError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for ParseError

1.30.0 · source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl PartialEq for ParseError

§

fn eq(&self, other: &ParseError) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
§

impl Eq for ParseError

§

impl StructuralPartialEq for ParseError

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToString for T
where - T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToString for T
where + T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/struct.PointerData.html b/smithay_client_toolkit/seat/pointer/struct.PointerData.html index 1be10cf7d..3a34611e4 100644 --- a/smithay_client_toolkit/seat/pointer/struct.PointerData.html +++ b/smithay_client_toolkit/seat/pointer/struct.PointerData.html @@ -1,27 +1,27 @@ -PointerData in smithay_client_toolkit::seat::pointer - Rust

Struct smithay_client_toolkit::seat::pointer::PointerData

source ·
pub struct PointerData { /* private fields */ }

Implementations§

source§

impl PointerData

source

pub fn new(seat: WlSeat) -> Self

source

pub fn seat(&self) -> &WlSeat

The seat associated with this pointer.

-
source

pub fn latest_enter_serial(&self) -> Option<u32>

Serial from the latest PointerEventKind::Enter event.

-
source

pub fn latest_button_serial(&self) -> Option<u32>

Serial from the latest button PointerEventKind::Press and +PointerData in smithay_client_toolkit::seat::pointer - Rust

smithay_client_toolkit::seat::pointer

Struct PointerData

source
pub struct PointerData { /* private fields */ }

Implementations§

source§

impl PointerData

source

pub fn new(seat: WlSeat) -> Self

source

pub fn seat(&self) -> &WlSeat

The seat associated with this pointer.

+
source

pub fn latest_enter_serial(&self) -> Option<u32>

Serial from the latest PointerEventKind::Enter event.

+
source

pub fn latest_button_serial(&self) -> Option<u32>

Serial from the latest button PointerEventKind::Press and PointerEventKind::Release events.

-

Trait Implementations§

source§

impl Debug for PointerData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PointerDataExt for PointerData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl Debug for PointerData

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PointerDataExt for PointerData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/struct.PointerEvent.html b/smithay_client_toolkit/seat/pointer/struct.PointerEvent.html index f46df08c9..bd8bc3781 100644 --- a/smithay_client_toolkit/seat/pointer/struct.PointerEvent.html +++ b/smithay_client_toolkit/seat/pointer/struct.PointerEvent.html @@ -1,30 +1,30 @@ -PointerEvent in smithay_client_toolkit::seat::pointer - Rust

Struct smithay_client_toolkit::seat::pointer::PointerEvent

source ·
pub struct PointerEvent {
+PointerEvent in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Struct PointerEvent

source
pub struct PointerEvent {
     pub surface: WlSurface,
-    pub position: (f64, f64),
+    pub position: (f64, f64),
     pub kind: PointerEventKind,
 }
Expand description

A single pointer event.

-

Fields§

§surface: WlSurface§position: (f64, f64)§kind: PointerEventKind

Trait Implementations§

source§

impl Clone for PointerEvent

source§

fn clone(&self) -> PointerEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PointerEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where - T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Fields§

§surface: WlSurface§position: (f64, f64)§kind: PointerEventKind

Trait Implementations§

source§

impl Clone for PointerEvent

source§

fn clone(&self) -> PointerEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PointerEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where + T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T> ToOwned for T
where - T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T> ToOwned for T
where + T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/struct.ThemedPointer.html b/smithay_client_toolkit/seat/pointer/struct.ThemedPointer.html index f9790fd0f..b567195ce 100644 --- a/smithay_client_toolkit/seat/pointer/struct.ThemedPointer.html +++ b/smithay_client_toolkit/seat/pointer/struct.ThemedPointer.html @@ -1,40 +1,40 @@ -ThemedPointer in smithay_client_toolkit::seat::pointer - Rust

Struct smithay_client_toolkit::seat::pointer::ThemedPointer

source ·
pub struct ThemedPointer<U = PointerData, S = SurfaceData> { /* private fields */ }
Expand description

Pointer themeing

+ThemedPointer in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Struct ThemedPointer

source
pub struct ThemedPointer<U = PointerData, S = SurfaceData> { /* private fields */ }
Expand description

Pointer themeing

Implementations§

source§

impl<U: PointerDataExt + 'static, S: SurfaceDataExt + 'static> ThemedPointer<U, S>

source

pub fn set_cursor( &self, conn: &Connection, icon: CursorIcon, -) -> Result<(), PointerThemeError>

Set the cursor to the given CursorIcon.

+) -> Result<(), PointerThemeError>

Set the cursor to the given CursorIcon.

The cursor icon should be reloaded on every PointerEventKind::Enter event.

-
source

pub fn hide_cursor(&self) -> Result<(), PointerThemeError>

Hide the cursor by providing empty surface for it.

+
source

pub fn hide_cursor(&self) -> Result<(), PointerThemeError>

Hide the cursor by providing empty surface for it.

The cursor should be hidden on every PointerEventKind::Enter event.

source

pub fn pointer(&self) -> &WlPointer

The [WlPointer] associated with this ThemedPointer.

source

pub fn surface(&self) -> &WlSurface

The associated [WlSurface] with this ThemedPointer.

-

Trait Implementations§

source§

impl<U: Debug, S: Debug> Debug for ThemedPointer<U, S>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<U, S> Drop for ThemedPointer<U, S>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<U, S> Freeze for ThemedPointer<U, S>

§

impl<U = PointerData, S = SurfaceData> !RefUnwindSafe for ThemedPointer<U, S>

§

impl<U, S> Send for ThemedPointer<U, S>
where - U: Send, - S: Send,

§

impl<U, S> Sync for ThemedPointer<U, S>
where - U: Sync, - S: Sync,

§

impl<U, S> Unpin for ThemedPointer<U, S>
where - U: Unpin, - S: Unpin,

§

impl<U = PointerData, S = SurfaceData> !UnwindSafe for ThemedPointer<U, S>

Blanket Implementations§

source§

impl<T> Any for T
where - T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where - T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where - T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

Trait Implementations§

source§

impl<U: Debug, S: Debug> Debug for ThemedPointer<U, S>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<U, S> Drop for ThemedPointer<U, S>

source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

§

impl<U, S> Freeze for ThemedPointer<U, S>

§

impl<U = PointerData, S = SurfaceData> !RefUnwindSafe for ThemedPointer<U, S>

§

impl<U, S> Send for ThemedPointer<U, S>
where + U: Send, + S: Send,

§

impl<U, S> Sync for ThemedPointer<U, S>
where + U: Sync, + S: Sync,

§

impl<U, S> Unpin for ThemedPointer<U, S>
where + U: Unpin, + S: Unpin,

§

impl<U = PointerData, S = SurfaceData> !UnwindSafe for ThemedPointer<U, S>

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> Downcast for T
where + T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where - T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+ T: Any + Send + Sync,
§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where - U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/trait.PointerDataExt.html b/smithay_client_toolkit/seat/pointer/trait.PointerDataExt.html index 27bedb112..8ce412973 100644 --- a/smithay_client_toolkit/seat/pointer/trait.PointerDataExt.html +++ b/smithay_client_toolkit/seat/pointer/trait.PointerDataExt.html @@ -1,4 +1,4 @@ -PointerDataExt in smithay_client_toolkit::seat::pointer - Rust
pub trait PointerDataExt: Send + Sync {
+PointerDataExt in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Trait PointerDataExt

source
pub trait PointerDataExt: Send + Sync {
     // Required method
     fn pointer_data(&self) -> &PointerData;
 }

Required Methods§

Implementors§

\ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer/trait.PointerHandler.html b/smithay_client_toolkit/seat/pointer/trait.PointerHandler.html index 55b571cbf..a4fb6e331 100644 --- a/smithay_client_toolkit/seat/pointer/trait.PointerHandler.html +++ b/smithay_client_toolkit/seat/pointer/trait.PointerHandler.html @@ -1,4 +1,4 @@ -PointerHandler in smithay_client_toolkit::seat::pointer - Rust
pub trait PointerHandler: Sized {
+PointerHandler in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Trait PointerHandler

source
pub trait PointerHandler: Sized {
     // Required method
     fn pointer_frame(
         &mut self,
@@ -19,4 +19,4 @@
 
  • A drag that terminates outside the surface may send the Release and Leave events as one frame
  • Movement from one surface to another may send the Enter and Leave events in one frame
  • -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer_constraints/index.html b/smithay_client_toolkit/seat/pointer_constraints/index.html index 9df6bf21b..8557251eb 100644 --- a/smithay_client_toolkit/seat/pointer_constraints/index.html +++ b/smithay_client_toolkit/seat/pointer_constraints/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::pointer_constraints - Rust
    \ No newline at end of file +smithay_client_toolkit::seat::pointer_constraints - Rust
    smithay_client_toolkit::seat

    Module pointer_constraints

    source

    Structs§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer_constraints/struct.PointerConstraintsState.html b/smithay_client_toolkit/seat/pointer_constraints/struct.PointerConstraintsState.html index b881968ec..ae2ef1332 100644 --- a/smithay_client_toolkit/seat/pointer_constraints/struct.PointerConstraintsState.html +++ b/smithay_client_toolkit/seat/pointer_constraints/struct.PointerConstraintsState.html @@ -1,56 +1,56 @@ -PointerConstraintsState in smithay_client_toolkit::seat::pointer_constraints - Rust
    pub struct PointerConstraintsState { /* private fields */ }

    Implementations§

    source§

    impl PointerConstraintsState

    source

    pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
    where +PointerConstraintsState in smithay_client_toolkit::seat::pointer_constraints - Rust
    smithay_client_toolkit::seat::pointer_constraints

    Struct PointerConstraintsState

    source
    pub struct PointerConstraintsState { /* private fields */ }

    Implementations§

    source§

    impl PointerConstraintsState

    source

    pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
    where D: Dispatch<ZwpPointerConstraintsV1, GlobalData> + 'static,

    Bind zwp_pointer_constraints_v1 global, if it exists

    source

    pub fn confine_pointer<D>( &self, surface: &WlSurface, pointer: &WlPointer, - region: Option<&WlRegion>, + region: Option<&WlRegion>, lifetime: Lifetime, qh: &QueueHandle<D>, -) -> Result<ZwpConfinedPointerV1, GlobalError>
    where +) -> Result<ZwpConfinedPointerV1, GlobalError>
    where D: Dispatch<ZwpConfinedPointerV1, PointerConstraintData> + 'static,

    Request that the compositor confine the pointer to a region

    It is a protocol error to call when a constraint already exists for a pointer on the seat.

    source

    pub fn lock_pointer<D>( &self, surface: &WlSurface, pointer: &WlPointer, - region: Option<&WlRegion>, + region: Option<&WlRegion>, lifetime: Lifetime, qh: &QueueHandle<D>, -) -> Result<ZwpLockedPointerV1, GlobalError>
    where +) -> Result<ZwpLockedPointerV1, GlobalError>
    where D: Dispatch<ZwpLockedPointerV1, PointerConstraintData> + 'static,

    Request that the compositor lock the pointer in place

    It is a protocol error to call when a constraint already exists for a pointer on the seat.

    -

    Trait Implementations§

    source§

    impl Debug for PointerConstraintsState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
    where +

    Trait Implementations§

    source§

    impl Debug for PointerConstraintsState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
    where D: Dispatch<ZwpPointerConstraintsV1, GlobalData> + PointerConstraintsHandler,

    source§

    fn event( - _data: &mut D, + _data: &mut D, _constraints: &ZwpPointerConstraintsV1, _event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<ZwpPointerConstraintsV1, 1> for PointerConstraintsState

    source§

    fn bound_global(&self) -> Result<ZwpPointerConstraintsV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<ZwpPointerConstraintsV1, 1> for PointerConstraintsState

    source§

    fn bound_global(&self) -> Result<ZwpPointerConstraintsV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/pointer_constraints/trait.PointerConstraintsHandler.html b/smithay_client_toolkit/seat/pointer_constraints/trait.PointerConstraintsHandler.html index 29017c98f..50eb37638 100644 --- a/smithay_client_toolkit/seat/pointer_constraints/trait.PointerConstraintsHandler.html +++ b/smithay_client_toolkit/seat/pointer_constraints/trait.PointerConstraintsHandler.html @@ -1,4 +1,4 @@ -PointerConstraintsHandler in smithay_client_toolkit::seat::pointer_constraints - Rust
    pub trait PointerConstraintsHandler: Sized {
    +PointerConstraintsHandler in smithay_client_toolkit::seat::pointer_constraints - Rust
    smithay_client_toolkit::seat::pointer_constraints

    Trait PointerConstraintsHandler

    source
    pub trait PointerConstraintsHandler: Sized {
         // Required methods
         fn confined(
             &mut self,
    @@ -66,4 +66,4 @@
         pointer: &WlPointer,
     )

    Pointer lock deactivated by compositor

    For Oneshot constraints, it will not be reactivated.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/relative_pointer/index.html b/smithay_client_toolkit/seat/relative_pointer/index.html index 5bf095a3a..789b19a95 100644 --- a/smithay_client_toolkit/seat/relative_pointer/index.html +++ b/smithay_client_toolkit/seat/relative_pointer/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::relative_pointer - Rust
    \ No newline at end of file +smithay_client_toolkit::seat::relative_pointer - Rust
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/relative_pointer/struct.RelativeMotionEvent.html b/smithay_client_toolkit/seat/relative_pointer/struct.RelativeMotionEvent.html index f47e8177a..fe9f0803f 100644 --- a/smithay_client_toolkit/seat/relative_pointer/struct.RelativeMotionEvent.html +++ b/smithay_client_toolkit/seat/relative_pointer/struct.RelativeMotionEvent.html @@ -1,30 +1,30 @@ -RelativeMotionEvent in smithay_client_toolkit::seat::relative_pointer - Rust
    pub struct RelativeMotionEvent {
    -    pub delta: (f64, f64),
    -    pub delta_unaccel: (f64, f64),
    -    pub utime: u64,
    -}

    Fields§

    §delta: (f64, f64)

    (x, y) motion vector

    -
    §delta_unaccel: (f64, f64)

    Unaccelerated (x, y) motion vector

    -
    §utime: u64

    Timestamp in microseconds

    -

    Trait Implementations§

    source§

    impl Debug for RelativeMotionEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +RelativeMotionEvent in smithay_client_toolkit::seat::relative_pointer - Rust
    smithay_client_toolkit::seat::relative_pointer

    Struct RelativeMotionEvent

    source
    pub struct RelativeMotionEvent {
    +    pub delta: (f64, f64),
    +    pub delta_unaccel: (f64, f64),
    +    pub utime: u64,
    +}

    Fields§

    §delta: (f64, f64)

    (x, y) motion vector

    +
    §delta_unaccel: (f64, f64)

    Unaccelerated (x, y) motion vector

    +
    §utime: u64

    Timestamp in microseconds

    +

    Trait Implementations§

    source§

    impl Debug for RelativeMotionEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/relative_pointer/struct.RelativePointerState.html b/smithay_client_toolkit/seat/relative_pointer/struct.RelativePointerState.html index 0f0e4e0c4..684a29369 100644 --- a/smithay_client_toolkit/seat/relative_pointer/struct.RelativePointerState.html +++ b/smithay_client_toolkit/seat/relative_pointer/struct.RelativePointerState.html @@ -1,41 +1,41 @@ -RelativePointerState in smithay_client_toolkit::seat::relative_pointer - Rust
    pub struct RelativePointerState { /* private fields */ }

    Implementations§

    source§

    impl RelativePointerState

    source

    pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
    where +RelativePointerState in smithay_client_toolkit::seat::relative_pointer - Rust
    smithay_client_toolkit::seat::relative_pointer

    Struct RelativePointerState

    source
    pub struct RelativePointerState { /* private fields */ }

    Implementations§

    source§

    impl RelativePointerState

    source

    pub fn bind<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
    where D: Dispatch<ZwpRelativePointerManagerV1, GlobalData> + 'static,

    Bind zwp_relative_pointer_manager_v1 global, if it exists

    source

    pub fn get_relative_pointer<D>( &self, pointer: &WlPointer, qh: &QueueHandle<D>, -) -> Result<ZwpRelativePointerV1, GlobalError>
    where - D: Dispatch<ZwpRelativePointerV1, RelativePointerData> + 'static,

    Trait Implementations§

    source§

    impl Debug for RelativePointerState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
    where +) -> Result<ZwpRelativePointerV1, GlobalError>
    where + D: Dispatch<ZwpRelativePointerV1, RelativePointerData> + 'static,

    Trait Implementations§

    source§

    impl Debug for RelativePointerState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
    where D: Dispatch<ZwpRelativePointerManagerV1, GlobalData> + RelativePointerHandler,

    source§

    fn event( - _data: &mut D, + _data: &mut D, _manager: &ZwpRelativePointerManagerV1, _event: Event, _: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/relative_pointer/trait.RelativePointerHandler.html b/smithay_client_toolkit/seat/relative_pointer/trait.RelativePointerHandler.html index af7f30154..fc9cc9c7b 100644 --- a/smithay_client_toolkit/seat/relative_pointer/trait.RelativePointerHandler.html +++ b/smithay_client_toolkit/seat/relative_pointer/trait.RelativePointerHandler.html @@ -1,4 +1,4 @@ -RelativePointerHandler in smithay_client_toolkit::seat::relative_pointer - Rust
    pub trait RelativePointerHandler: Sized {
    +RelativePointerHandler in smithay_client_toolkit::seat::relative_pointer - Rust
    smithay_client_toolkit::seat::relative_pointer

    Trait RelativePointerHandler

    source
    pub trait RelativePointerHandler: Sized {
         // Required method
         fn relative_pointer_motion(
             &mut self,
    @@ -15,4 +15,4 @@
         relative_pointer: &ZwpRelativePointerV1,
         pointer: &WlPointer,
         event: RelativeMotionEvent,
    -)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/struct.SeatData.html b/smithay_client_toolkit/seat/struct.SeatData.html index f34eb4461..6969606ab 100644 --- a/smithay_client_toolkit/seat/struct.SeatData.html +++ b/smithay_client_toolkit/seat/struct.SeatData.html @@ -1,36 +1,36 @@ -SeatData in smithay_client_toolkit::seat - Rust

    Struct smithay_client_toolkit::seat::SeatData

    source ·
    pub struct SeatData { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for SeatData

    source§

    fn clone(&self) -> SeatData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SeatData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where +SeatData in smithay_client_toolkit::seat - Rust
    smithay_client_toolkit::seat

    Struct SeatData

    source
    pub struct SeatData { /* private fields */ }

    Trait Implementations§

    source§

    impl Clone for SeatData

    source§

    fn clone(&self) -> SeatData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SeatData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where D: Dispatch<WlSeat, SeatData> + SeatHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, seat: &WlSeat, event: Event, data: &SeatData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/struct.SeatInfo.html b/smithay_client_toolkit/seat/struct.SeatInfo.html index eed4554f9..89670d48c 100644 --- a/smithay_client_toolkit/seat/struct.SeatInfo.html +++ b/smithay_client_toolkit/seat/struct.SeatInfo.html @@ -1,36 +1,36 @@ -SeatInfo in smithay_client_toolkit::seat - Rust

    Struct smithay_client_toolkit::seat::SeatInfo

    source ·
    #[non_exhaustive]
    pub struct SeatInfo { - pub name: Option<String>, - pub has_keyboard: bool, - pub has_pointer: bool, - pub has_touch: bool, +SeatInfo in smithay_client_toolkit::seat - Rust
    smithay_client_toolkit::seat

    Struct SeatInfo

    source
    #[non_exhaustive]
    pub struct SeatInfo { + pub name: Option<String>, + pub has_keyboard: bool, + pub has_pointer: bool, + pub has_touch: bool, }
    Expand description

    Description of a seat.

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §name: Option<String>

    The name of the seat.

    -
    §has_keyboard: bool

    Does the seat support a keyboard.

    -
    §has_pointer: bool

    Does the seat support a pointer.

    -
    §has_touch: bool

    Does the seat support touch input.

    -

    Trait Implementations§

    source§

    impl Clone for SeatInfo

    source§

    fn clone(&self) -> SeatInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SeatInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SeatInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §name: Option<String>

    The name of the seat.

    +
    §has_keyboard: bool

    Does the seat support a keyboard.

    +
    §has_pointer: bool

    Does the seat support a pointer.

    +
    §has_touch: bool

    Does the seat support touch input.

    +

    Trait Implementations§

    source§

    impl Clone for SeatInfo

    source§

    fn clone(&self) -> SeatInfo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SeatInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SeatInfo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/struct.SeatState.html b/smithay_client_toolkit/seat/struct.SeatState.html index 2613a94e9..4ddf417fe 100644 --- a/smithay_client_toolkit/seat/struct.SeatState.html +++ b/smithay_client_toolkit/seat/struct.SeatState.html @@ -1,11 +1,11 @@ -SeatState in smithay_client_toolkit::seat - Rust

    Struct smithay_client_toolkit::seat::SeatState

    source ·
    pub struct SeatState { /* private fields */ }

    Implementations§

    source§

    impl SeatState

    source

    pub fn get_keyboard_with_repeat<D, T>( +SeatState in smithay_client_toolkit::seat - Rust
    smithay_client_toolkit::seat

    Struct SeatState

    source
    pub struct SeatState { /* private fields */ }

    Implementations§

    source§

    impl SeatState

    source

    pub fn get_keyboard_with_repeat<D, T>( &mut self, qh: &QueueHandle<D>, seat: &WlSeat, - rmlvo: Option<RMLVO>, + rmlvo: Option<RMLVO>, loop_handle: LoopHandle<'static, T>, callback: RepeatCallback<T>, -) -> Result<WlKeyboard, KeyboardError>
    where +) -> Result<WlKeyboard, KeyboardError>
    where D: Dispatch<WlKeyboard, KeyboardData<T>> + KeyboardHandler + 'static, T: 'static,

    Creates a keyboard from a seat.

    This function returns an EventSource that indicates when a key press is going to repeat.

    @@ -21,7 +21,7 @@
    §Errors
    udata: U, loop_handle: LoopHandle<'static, <U as KeyboardDataExt>::State>, callback: RepeatCallback<<U as KeyboardDataExt>::State>, -) -> Result<WlKeyboard, KeyboardError>
    where +) -> Result<WlKeyboard, KeyboardError>
    where D: Dispatch<WlKeyboard, U> + KeyboardHandler + 'static, U: KeyboardDataExt + 'static,

    Creates a keyboard from a seat.

    This function returns an EventSource that indicates when a key press is going to repeat.

    @@ -34,8 +34,8 @@
    §Errors
    &mut self, qh: &QueueHandle<D>, seat: &WlSeat, - rmlvo: Option<RMLVO>, -) -> Result<WlKeyboard, KeyboardError>
    where + rmlvo: Option<RMLVO>, +) -> Result<WlKeyboard, KeyboardError>
    where D: Dispatch<WlKeyboard, KeyboardData<T>> + SeatHandler + KeyboardHandler + 'static,

    Creates a keyboard from a seat.

    This keyboard implementation uses libxkbcommon for the keymap.

    Typically the compositor will provide a keymap, but you may specify your own keymap using the rmlvo @@ -47,7 +47,7 @@

    §Errors
    qh: &QueueHandle<D>, seat: &WlSeat, udata: U, -) -> Result<WlKeyboard, KeyboardError>
    where +) -> Result<WlKeyboard, KeyboardError>
    where D: Dispatch<WlKeyboard, U> + SeatHandler + KeyboardHandler + 'static, U: KeyboardDataExt + 'static,

    Creates a keyboard from a seat.

    This keyboard implementation uses libxkbcommon for the keymap.

    @@ -58,14 +58,14 @@
    §Errors
    source§

    impl SeatState

    source

    pub fn new<D: Dispatch<WlSeat, SeatData> + 'static>( global_list: &GlobalList, qh: &QueueHandle<D>, -) -> SeatState

    source

    pub fn seats(&self) -> impl Iterator<Item = WlSeat>

    Returns an iterator over all the seats.

    -
    source

    pub fn info(&self, seat: &WlSeat) -> Option<SeatInfo>

    Returns information about a seat.

    -

    This will return None if the seat is dead.

    +) -> SeatState
    source

    pub fn seats(&self) -> impl Iterator<Item = WlSeat>

    Returns an iterator over all the seats.

    +
    source

    pub fn info(&self, seat: &WlSeat) -> Option<SeatInfo>

    Returns information about a seat.

    +

    This will return None if the seat is dead.

    source

    pub fn get_pointer<D>( &mut self, qh: &QueueHandle<D>, seat: &WlSeat, -) -> Result<WlPointer, SeatError>
    where +) -> Result<WlPointer, SeatError>
    where D: Dispatch<WlPointer, PointerData> + PointerHandler + 'static,

    Creates a pointer from a seat.

    §Errors

    This will return SeatError::UnsupportedCapability if the seat does not support a pointer.

    @@ -76,7 +76,7 @@
    §Errors
    shm: &WlShm, surface: WlSurface, theme: ThemeSpec<'_>, -) -> Result<ThemedPointer<PointerData>, SeatError>
    where +) -> Result<ThemedPointer<PointerData>, SeatError>
    where D: Dispatch<WlPointer, PointerData> + Dispatch<WlSurface, S> + Dispatch<WpCursorShapeManagerV1, GlobalData> + Dispatch<WpCursorShapeDeviceV1, GlobalData> + PointerHandler + 'static, S: SurfaceDataExt + 'static,

    Creates a pointer from a seat with the provided theme.

    This will use CursorShapeManager under the hood when it’s available.

    @@ -87,7 +87,7 @@
    §Errors
    qh: &QueueHandle<D>, seat: &WlSeat, pointer_data: U, -) -> Result<WlPointer, SeatError>
    where +) -> Result<WlPointer, SeatError>
    where D: Dispatch<WlPointer, U> + PointerHandler + 'static, U: PointerDataExt + 'static,

    Creates a pointer from a seat.

    §Errors
    @@ -100,7 +100,7 @@
    §Errors
    surface: WlSurface, theme: ThemeSpec<'_>, pointer_data: U, -) -> Result<ThemedPointer<U>, SeatError>
    where +) -> Result<ThemedPointer<U>, SeatError>
    where D: Dispatch<WlPointer, U> + Dispatch<WlSurface, S> + Dispatch<WpCursorShapeManagerV1, GlobalData> + Dispatch<WpCursorShapeDeviceV1, GlobalData> + PointerHandler + 'static, S: SurfaceDataExt + 'static, U: PointerDataExt + 'static,

    Creates a pointer from a seat with the provided theme and data.

    @@ -110,7 +110,7 @@
    §Errors
    &mut self, qh: &QueueHandle<D>, seat: &WlSeat, -) -> Result<WlTouch, SeatError>
    where +) -> Result<WlTouch, SeatError>
    where D: Dispatch<WlTouch, TouchData> + TouchHandler + 'static,

    Creates a touch handle from a seat.

    §Errors

    This will return SeatError::UnsupportedCapability if the seat does not support touch.

    @@ -119,92 +119,92 @@
    §Errors
    qh: &QueueHandle<D>, seat: &WlSeat, udata: U, -) -> Result<WlTouch, SeatError>
    where +) -> Result<WlTouch, SeatError>
    where D: Dispatch<WlTouch, U> + TouchHandler + 'static, U: TouchDataExt + 'static,

    Creates a touch handle from a seat.

    §Errors

    This will return SeatError::UnsupportedCapability if the seat does not support touch.

    -

    Trait Implementations§

    source§

    impl Debug for SeatState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D, U> Dispatch<WlKeyboard, U, D> for SeatState
    where +

    Trait Implementations§

    source§

    impl Debug for SeatState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D, U> Dispatch<WlKeyboard, U, D> for SeatState
    where D: Dispatch<WlKeyboard, U> + KeyboardHandler, U: KeyboardDataExt,

    source§

    fn event( - data: &mut D, + data: &mut D, keyboard: &WlKeyboard, event: Event, - udata: &U, + udata: &U, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D, U> Dispatch<WlPointer, U, D> for SeatState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D, U> Dispatch<WlPointer, U, D> for SeatState
    where D: Dispatch<WlPointer, U> + PointerHandler, U: PointerDataExt,

    source§

    fn event( - data: &mut D, + data: &mut D, pointer: &WlPointer, event: Event, - udata: &U, + udata: &U, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where D: Dispatch<WlSeat, SeatData> + SeatHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, seat: &WlSeat, event: Event, data: &SeatData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D, U> Dispatch<WlTouch, U, D> for SeatState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D, U> Dispatch<WlTouch, U, D> for SeatState
    where D: Dispatch<WlTouch, U> + TouchHandler, U: TouchDataExt,

    source§

    fn event( - data: &mut D, + data: &mut D, touch: &WlTouch, event: TouchEvent, - udata: &U, + udata: &U, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> RegistryHandler<D> for SeatState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> RegistryHandler<D> for SeatState
    where D: Dispatch<WlSeat, SeatData> + SeatHandler + ProvidesRegistryState + 'static,

    source§

    fn new_global( - state: &mut D, + state: &mut D, conn: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, - _: u32, + name: u32, + interface: &str, + _: u32, )

    Called when a new global has been advertised by the compositor. Read more
    source§

    fn remove_global( - state: &mut D, + state: &mut D, conn: &Connection, qh: &QueueHandle<D>, - name: u32, - interface: &str, -)

    Called when a global has been destroyed by the compositor. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + name: u32, + interface: &str, +)
    Called when a global has been destroyed by the compositor. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/touch/index.html b/smithay_client_toolkit/seat/touch/index.html index 7f8b214bc..252e71b87 100644 --- a/smithay_client_toolkit/seat/touch/index.html +++ b/smithay_client_toolkit/seat/touch/index.html @@ -1 +1 @@ -smithay_client_toolkit::seat::touch - Rust
    \ No newline at end of file +smithay_client_toolkit::seat::touch - Rust
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/touch/struct.TouchData.html b/smithay_client_toolkit/seat/touch/struct.TouchData.html index b8488a3eb..feb7649bb 100644 --- a/smithay_client_toolkit/seat/touch/struct.TouchData.html +++ b/smithay_client_toolkit/seat/touch/struct.TouchData.html @@ -1,26 +1,26 @@ -TouchData in smithay_client_toolkit::seat::touch - Rust

    Struct smithay_client_toolkit::seat::touch::TouchData

    source ·
    pub struct TouchData { /* private fields */ }

    Implementations§

    source§

    impl TouchData

    source

    pub fn new(seat: WlSeat) -> Self

    Create the new touch data associated with the given seat.

    +TouchData in smithay_client_toolkit::seat::touch - Rust
    smithay_client_toolkit::seat::touch

    Struct TouchData

    source
    pub struct TouchData { /* private fields */ }

    Implementations§

    source§

    impl TouchData

    source

    pub fn new(seat: WlSeat) -> Self

    Create the new touch data associated with the given seat.

    source

    pub fn seat(&self) -> &WlSeat

    Get the associated seat from the data.

    -
    source

    pub fn latest_down_serial(&self) -> Option<u32>

    Serial from the latest touch down event.

    -

    Trait Implementations§

    source§

    impl Debug for TouchData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl TouchDataExt for TouchData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
    source

    pub fn latest_down_serial(&self) -> Option<u32>

    Serial from the latest touch down event.

    +

    Trait Implementations§

    source§

    impl Debug for TouchData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl TouchDataExt for TouchData

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/touch/trait.TouchDataExt.html b/smithay_client_toolkit/seat/touch/trait.TouchDataExt.html index b9688fcf2..ec088ad36 100644 --- a/smithay_client_toolkit/seat/touch/trait.TouchDataExt.html +++ b/smithay_client_toolkit/seat/touch/trait.TouchDataExt.html @@ -1,4 +1,4 @@ -TouchDataExt in smithay_client_toolkit::seat::touch - Rust

    Trait smithay_client_toolkit::seat::touch::TouchDataExt

    source ·
    pub trait TouchDataExt: Send + Sync {
    +TouchDataExt in smithay_client_toolkit::seat::touch - Rust
    smithay_client_toolkit::seat::touch

    Trait TouchDataExt

    source
    pub trait TouchDataExt: Send + Sync {
         // Required method
         fn touch_data(&self) -> &TouchData;
     }

    Required Methods§

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/touch/trait.TouchHandler.html b/smithay_client_toolkit/seat/touch/trait.TouchHandler.html index 6ca7547fc..edc9f7093 100644 --- a/smithay_client_toolkit/seat/touch/trait.TouchHandler.html +++ b/smithay_client_toolkit/seat/touch/trait.TouchHandler.html @@ -1,50 +1,50 @@ -TouchHandler in smithay_client_toolkit::seat::touch - Rust

    Trait smithay_client_toolkit::seat::touch::TouchHandler

    source ·
    pub trait TouchHandler: Sized {
    +TouchHandler in smithay_client_toolkit::seat::touch - Rust
    smithay_client_toolkit::seat::touch

    Trait TouchHandler

    source
    pub trait TouchHandler: Sized {
         // Required methods
         fn down(
             &mut self,
             conn: &Connection,
             qh: &QueueHandle<Self>,
             touch: &WlTouch,
    -        serial: u32,
    -        time: u32,
    +        serial: u32,
    +        time: u32,
             surface: WlSurface,
    -        id: i32,
    -        position: (f64, f64),
    +        id: i32,
    +        position: (f64, f64),
         );
         fn up(
             &mut self,
             conn: &Connection,
             qh: &QueueHandle<Self>,
             touch: &WlTouch,
    -        serial: u32,
    -        time: u32,
    -        id: i32,
    +        serial: u32,
    +        time: u32,
    +        id: i32,
         );
         fn motion(
             &mut self,
             conn: &Connection,
             qh: &QueueHandle<Self>,
             touch: &WlTouch,
    -        time: u32,
    -        id: i32,
    -        position: (f64, f64),
    +        time: u32,
    +        id: i32,
    +        position: (f64, f64),
         );
         fn shape(
             &mut self,
             conn: &Connection,
             qh: &QueueHandle<Self>,
             touch: &WlTouch,
    -        id: i32,
    -        major: f64,
    -        minor: f64,
    +        id: i32,
    +        major: f64,
    +        minor: f64,
         );
         fn orientation(
             &mut self,
             conn: &Connection,
             qh: &QueueHandle<Self>,
             touch: &WlTouch,
    -        id: i32,
    -        orientation: f64,
    +        id: i32,
    +        orientation: f64,
         );
         fn cancel(
             &mut self,
    @@ -57,11 +57,11 @@
         conn: &Connection,
         qh: &QueueHandle<Self>,
         touch: &WlTouch,
    -    serial: u32,
    -    time: u32,
    +    serial: u32,
    +    time: u32,
         surface: WlSurface,
    -    id: i32,
    -    position: (f64, f64),
    +    id: i32,
    +    position: (f64, f64),
     )

    New touch point.

    Indicates a new touch point has appeared on the surface, starting a touch sequence. The ID associated with this event identifies this touch point for devices with multi-touch and @@ -74,18 +74,18 @@ conn: &Connection, qh: &QueueHandle<Self>, touch: &WlTouch, - serial: u32, - time: u32, - id: i32, + serial: u32, + time: u32, + id: i32, )

    End of touch sequence.

    source

    fn motion( &mut self, conn: &Connection, qh: &QueueHandle<Self>, touch: &WlTouch, - time: u32, - id: i32, - position: (f64, f64), + time: u32, + id: i32, + position: (f64, f64), )

    Touch point motion.

    Coordinates are surface-local.

    source

    fn shape( @@ -93,9 +93,9 @@ conn: &Connection, qh: &QueueHandle<Self>, touch: &WlTouch, - id: i32, - major: f64, - minor: f64, + id: i32, + major: f64, + minor: f64, )

    Touch point shape change.

    The shape of a touch point is approximated by an ellipse through the major and minor axis length. Major always represents the larger of the two axis and is orthogonal to minor.

    @@ -106,12 +106,12 @@ conn: &Connection, qh: &QueueHandle<Self>, touch: &WlTouch, - id: i32, - orientation: f64, + id: i32, + orientation: f64, )

    Touch point shape orientation.

    The orientation describes the clockwise angle of a touch point’s major axis to the positive surface y-axis and is normalized to the -180° to +180° range.

    source

    fn cancel(&mut self, conn: &Connection, qh: &QueueHandle<Self>, touch: &WlTouch)

    Cancel active touch sequence.

    This indicates that the compositor has cancelled the active touch sequence, for example due to detection of a touch gesture.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/seat/trait.SeatHandler.html b/smithay_client_toolkit/seat/trait.SeatHandler.html index fd87c0bf8..4c1216a66 100644 --- a/smithay_client_toolkit/seat/trait.SeatHandler.html +++ b/smithay_client_toolkit/seat/trait.SeatHandler.html @@ -1,4 +1,4 @@ -SeatHandler in smithay_client_toolkit::seat - Rust

    Trait smithay_client_toolkit::seat::SeatHandler

    source ·
    pub trait SeatHandler: Sized {
    +SeatHandler in smithay_client_toolkit::seat - Rust
    smithay_client_toolkit::seat

    Trait SeatHandler

    source
    pub trait SeatHandler: Sized {
         // Required methods
         fn seat_state(&mut self) -> &mut SeatState;
         fn new_seat(
    @@ -53,4 +53,4 @@
         seat: WlSeat,
     )

    A seat has been removed.

    The seat is destroyed and all capability objects created from it are invalid.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/index.html b/smithay_client_toolkit/session_lock/index.html index 297464fb5..1f3e876c2 100644 --- a/smithay_client_toolkit/session_lock/index.html +++ b/smithay_client_toolkit/session_lock/index.html @@ -1 +1 @@ -smithay_client_toolkit::session_lock - Rust

    Module smithay_client_toolkit::session_lock

    source ·

    Structs§

    Traits§

    \ No newline at end of file +smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit

    Module session_lock

    source

    Structs§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLock.html b/smithay_client_toolkit/session_lock/struct.SessionLock.html index aae6b03e7..5dc01ee47 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLock.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLock.html @@ -1,35 +1,35 @@ -SessionLock in smithay_client_toolkit::session_lock - Rust

    Struct smithay_client_toolkit::session_lock::SessionLock

    source ·
    pub struct SessionLock(/* private fields */);
    Expand description

    A session lock

    +SessionLock in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLock

    source
    pub struct SessionLock(/* private fields */);
    Expand description

    A session lock

    Once a lock is created, you must wait for either a locked or finished event before destroying this object. If you get a locked event, you must explicitly call unlock prior to dropping this object.

    -

    Implementations§

    source§

    impl SessionLock

    source

    pub fn from_ext_session_lock(surface: &ExtSessionLockV1) -> Option<Self>

    source

    pub fn is_locked(&self) -> bool

    source

    pub fn unlock(&self)

    source§

    impl SessionLock

    Implementations§

    source§

    impl SessionLock

    source

    pub fn from_ext_session_lock(surface: &ExtSessionLockV1) -> Option<Self>

    source

    pub fn is_locked(&self) -> bool

    source

    pub fn unlock(&self)

    source§

    impl SessionLock

    source

    pub fn create_lock_surface<D>( &self, - surface: impl Into<Surface>, + surface: impl Into<Surface>, output: &WlOutput, qh: &QueueHandle<D>, ) -> SessionLockSurface
    where - D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Clone for SessionLock

    source§

    fn clone(&self) -> SessionLock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Clone for SessionLock

    source§

    fn clone(&self) -> SessionLock

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLock

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockData.html b/smithay_client_toolkit/session_lock/struct.SessionLockData.html index fc14d0386..c3b3d05a9 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockData.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockData.html @@ -1,34 +1,34 @@ -SessionLockData in smithay_client_toolkit::session_lock - Rust
    pub struct SessionLockData { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for SessionLockData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where +SessionLockData in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockData

    source
    pub struct SessionLockData { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for SessionLockData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where D: Dispatch<ExtSessionLockV1, SessionLockData> + SessionLockHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, proxy: &ExtSessionLockV1, event: Event, _: &SessionLockData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockInner.html b/smithay_client_toolkit/session_lock/struct.SessionLockInner.html index e7319e104..6319033c8 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockInner.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockInner.html @@ -1,23 +1,23 @@ -SessionLockInner in smithay_client_toolkit::session_lock - Rust
    pub struct SessionLockInner { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for SessionLockInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SessionLockInner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +SessionLockInner in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockInner

    source
    pub struct SessionLockInner { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for SessionLockInner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for SessionLockInner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockState.html b/smithay_client_toolkit/session_lock/struct.SessionLockState.html index 8db25ba41..88e4a5e5e 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockState.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockState.html @@ -1,59 +1,59 @@ -SessionLockState in smithay_client_toolkit::session_lock - Rust
    pub struct SessionLockState { /* private fields */ }
    Expand description

    A handler for [ext_session_lock_manager_v1::ExtSessionLockManagerV1]

    +SessionLockState in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockState

    source
    pub struct SessionLockState { /* private fields */ }
    Expand description

    A handler for [ext_session_lock_manager_v1::ExtSessionLockManagerV1]

    Implementations§

    source§

    impl SessionLockState

    source

    pub fn new<D>(globals: &GlobalList, qh: &QueueHandle<D>) -> Self
    where - D: Dispatch<ExtSessionLockManagerV1, GlobalData> + 'static,

    source

    pub fn lock<D>(&self, qh: &QueueHandle<D>) -> Result<SessionLock, GlobalError>
    where - D: Dispatch<ExtSessionLockV1, SessionLockData> + 'static,

    Trait Implementations§

    source§

    impl Debug for SessionLockState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
    where + D: Dispatch<ExtSessionLockManagerV1, GlobalData> + 'static,

    source

    pub fn lock<D>(&self, qh: &QueueHandle<D>) -> Result<SessionLock, GlobalError>
    where + D: Dispatch<ExtSessionLockV1, SessionLockData> + 'static,

    Trait Implementations§

    source§

    impl Debug for SessionLockState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
    where D: Dispatch<ExtSessionLockManagerV1, GlobalData>,

    source§

    fn event( - _state: &mut D, + _state: &mut D, _proxy: &ExtSessionLockManagerV1, _event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + SessionLockHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, proxy: &ExtSessionLockSurfaceV1, event: Event, _: &SessionLockSurfaceData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where D: Dispatch<ExtSessionLockV1, SessionLockData> + SessionLockHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, proxy: &ExtSessionLockV1, event: Event, _: &SessionLockData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockSurface.html b/smithay_client_toolkit/session_lock/struct.SessionLockSurface.html index 9b8b536f0..3ec548a60 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockSurface.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockSurface.html @@ -1,27 +1,27 @@ -SessionLockSurface in smithay_client_toolkit::session_lock - Rust
    pub struct SessionLockSurface(/* private fields */);

    Implementations§

    source§

    impl SessionLockSurface

    source

    pub fn from_ext_session_lock_surface( +SessionLockSurface in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockSurface

    source
    pub struct SessionLockSurface(/* private fields */);

    Implementations§

    source§

    impl SessionLockSurface

    source

    pub fn from_ext_session_lock_surface( surface: &ExtSessionLockSurfaceV1, -) -> Option<Self>

    source

    pub fn wl_surface(&self) -> &WlSurface

    Trait Implementations§

    source§

    impl Clone for SessionLockSurface

    source§

    fn clone(&self) -> SessionLockSurface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLockSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Option<Self>

    source

    pub fn wl_surface(&self) -> &WlSurface

    Trait Implementations§

    source§

    impl Clone for SessionLockSurface

    source§

    fn clone(&self) -> SessionLockSurface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLockSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceConfigure.html b/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceConfigure.html index bdf9ab161..c7daac42e 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceConfigure.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceConfigure.html @@ -1,27 +1,27 @@ -SessionLockSurfaceConfigure in smithay_client_toolkit::session_lock - Rust
    #[non_exhaustive]
    pub struct SessionLockSurfaceConfigure { - pub new_size: (u32, u32), -}

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (u32, u32)

    Trait Implementations§

    source§

    impl Clone for SessionLockSurfaceConfigure

    source§

    fn clone(&self) -> SessionLockSurfaceConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLockSurfaceConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +SessionLockSurfaceConfigure in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockSurfaceConfigure

    source
    #[non_exhaustive]
    pub struct SessionLockSurfaceConfigure { + pub new_size: (u32, u32), +}

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (u32, u32)

    Trait Implementations§

    source§

    impl Clone for SessionLockSurfaceConfigure

    source§

    fn clone(&self) -> SessionLockSurfaceConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SessionLockSurfaceConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceData.html b/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceData.html index f6bfed8fc..a91ee9161 100644 --- a/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceData.html +++ b/smithay_client_toolkit/session_lock/struct.SessionLockSurfaceData.html @@ -1,34 +1,34 @@ -SessionLockSurfaceData in smithay_client_toolkit::session_lock - Rust
    pub struct SessionLockSurfaceData { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl Debug for SessionLockSurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where +SessionLockSurfaceData in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Struct SessionLockSurfaceData

    source
    pub struct SessionLockSurfaceData { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl Debug for SessionLockSurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + SessionLockHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, proxy: &ExtSessionLockSurfaceV1, event: Event, _: &SessionLockSurfaceData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/session_lock/trait.SessionLockHandler.html b/smithay_client_toolkit/session_lock/trait.SessionLockHandler.html index 6b30ad7fb..45054b2ab 100644 --- a/smithay_client_toolkit/session_lock/trait.SessionLockHandler.html +++ b/smithay_client_toolkit/session_lock/trait.SessionLockHandler.html @@ -1,4 +1,4 @@ -SessionLockHandler in smithay_client_toolkit::session_lock - Rust
    pub trait SessionLockHandler: Sized {
    +SessionLockHandler in smithay_client_toolkit::session_lock - Rust
    smithay_client_toolkit::session_lock

    Trait SessionLockHandler

    source
    pub trait SessionLockHandler: Sized {
         // Required methods
         fn locked(
             &mut self,
    @@ -18,7 +18,7 @@
             qh: &QueueHandle<Self>,
             surface: SessionLockSurface,
             configure: SessionLockSurfaceConfigure,
    -        serial: u32,
    +        serial: u32,
         );
     }
    Expand description

    Handler trait for session lock protocol.

    Required Methods§

    source

    fn locked( @@ -41,6 +41,6 @@ qh: &QueueHandle<Self>, surface: SessionLockSurface, configure: SessionLockSurfaceConfigure, - serial: u32, + serial: u32, )

    Compositor has requested size for surface.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/index.html b/smithay_client_toolkit/shell/index.html index 00910c7ba..a00df4969 100644 --- a/smithay_client_toolkit/shell/index.html +++ b/smithay_client_toolkit/shell/index.html @@ -1,4 +1,4 @@ -smithay_client_toolkit::shell - Rust

    Module smithay_client_toolkit::shell

    source ·
    Expand description

    §Shell abstractions

    +smithay_client_toolkit::shell - Rust
    smithay_client_toolkit

    Module shell

    source
    Expand description

    §Shell abstractions

    A shell describes a set of wayland protocol extensions which define the capabilities of a surface and how the surface is displayed.

    §Cross desktop group (XDG) shell

    diff --git a/smithay_client_toolkit/shell/struct.Unsupported.html b/smithay_client_toolkit/shell/struct.Unsupported.html index ab56c4988..fddfd61dd 100644 --- a/smithay_client_toolkit/shell/struct.Unsupported.html +++ b/smithay_client_toolkit/shell/struct.Unsupported.html @@ -1,24 +1,24 @@ -Unsupported in smithay_client_toolkit::shell - Rust

    Struct smithay_client_toolkit::shell::Unsupported

    source ·
    pub struct Unsupported;
    Expand description

    An unsupported operation, often due to the version of the protocol.

    -

    Trait Implementations§

    source§

    impl Debug for Unsupported

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Unsupported

    source§

    fn default() -> Unsupported

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +Unsupported in smithay_client_toolkit::shell - Rust
    smithay_client_toolkit::shell

    Struct Unsupported

    source
    pub struct Unsupported;
    Expand description

    An unsupported operation, often due to the version of the protocol.

    +

    Trait Implementations§

    source§

    impl Debug for Unsupported

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Unsupported

    source§

    fn default() -> Unsupported

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/trait.WaylandSurface.html b/smithay_client_toolkit/shell/trait.WaylandSurface.html index 0409be9d5..da972273c 100644 --- a/smithay_client_toolkit/shell/trait.WaylandSurface.html +++ b/smithay_client_toolkit/shell/trait.WaylandSurface.html @@ -1,21 +1,21 @@ -WaylandSurface in smithay_client_toolkit::shell - Rust

    Trait smithay_client_toolkit::shell::WaylandSurface

    source ·
    pub trait WaylandSurface: Sized {
    +WaylandSurface in smithay_client_toolkit::shell - Rust
    smithay_client_toolkit::shell

    Trait WaylandSurface

    source
    pub trait WaylandSurface: Sized {
         // Required method
         fn wl_surface(&self) -> &WlSurface;
     
         // Provided methods
    -    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32) { ... }
    -    fn set_opaque_region(&self, region: Option<&WlRegion>) { ... }
    -    fn set_input_region(&self, region: Option<&WlRegion>) { ... }
    +    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32) { ... }
    +    fn set_opaque_region(&self, region: Option<&WlRegion>) { ... }
    +    fn set_input_region(&self, region: Option<&WlRegion>) { ... }
         fn set_buffer_transform(
             &self,
             transform: Transform,
    -    ) -> Result<(), Unsupported> { ... }
    -    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported> { ... }
    -    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported> { ... }
    +    ) -> Result<(), Unsupported> { ... }
    +    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported> { ... }
    +    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported> { ... }
         fn commit(&self) { ... }
     }
    Expand description

    Functionality shared by all [wl_surface::WlSurface] backed shell role objects.

    Required Methods§

    source

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.

    -

    Provided Methods§

    source

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source

    fn set_input_region(&self, region: Option<&WlRegion>)

    source

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source

    fn commit(&self)

    Commits pending surface state.

    +

    Provided Methods§

    source

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source

    fn set_input_region(&self, region: Option<&WlRegion>)

    source

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source

    fn commit(&self)

    Commits pending surface state.

    On commit, the pending double buffered state from the surface, including role dependent state is applied.

    §Initial commit
    @@ -27,4 +27,4 @@
    §Pro applies whether attaching the buffer was done using WaylandSurface::attach or under the hood in via window system integration in graphics APIs such as Vulkan (using vkQueuePresentKHR) and EGL (using eglSwapBuffers).

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/enum.KeyboardInteractivity.html b/smithay_client_toolkit/shell/wlr_layer/enum.KeyboardInteractivity.html index 65bb545e7..d5c681464 100644 --- a/smithay_client_toolkit/shell/wlr_layer/enum.KeyboardInteractivity.html +++ b/smithay_client_toolkit/shell/wlr_layer/enum.KeyboardInteractivity.html @@ -1,4 +1,4 @@ -KeyboardInteractivity in smithay_client_toolkit::shell::wlr_layer - Rust
    #[non_exhaustive]
    pub enum KeyboardInteractivity { +KeyboardInteractivity in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Enum KeyboardInteractivity

    source
    #[non_exhaustive]
    pub enum KeyboardInteractivity { None, Exclusive, OnDemand, @@ -13,37 +13,37 @@

    Compositors may use their normal mechanisms to manage keyboard focus between layers and regular desktop surfaces.

    This setting is intended for applications which allow keyboard interaction.

    -

    Trait Implementations§

    source§

    impl Clone for KeyboardInteractivity

    source§

    fn clone(&self) -> KeyboardInteractivity

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyboardInteractivity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for KeyboardInteractivity

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<KeyboardInteractivity> for KeyboardInteractivity

    source§

    fn from(interactivity: KeyboardInteractivity) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for KeyboardInteractivity

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for KeyboardInteractivity

    source§

    fn cmp(&self, other: &KeyboardInteractivity) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for KeyboardInteractivity

    source§

    fn eq(&self, other: &KeyboardInteractivity) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for KeyboardInteractivity

    source§

    fn partial_cmp(&self, other: &KeyboardInteractivity) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl Copy for KeyboardInteractivity

    source§

    impl Eq for KeyboardInteractivity

    source§

    impl StructuralPartialEq for KeyboardInteractivity

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Clone for KeyboardInteractivity

    source§

    fn clone(&self) -> KeyboardInteractivity

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for KeyboardInteractivity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for KeyboardInteractivity

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl From<KeyboardInteractivity> for KeyboardInteractivity

    source§

    fn from(interactivity: KeyboardInteractivity) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for KeyboardInteractivity

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for KeyboardInteractivity

    source§

    fn cmp(&self, other: &KeyboardInteractivity) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for KeyboardInteractivity

    source§

    fn eq(&self, other: &KeyboardInteractivity) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for KeyboardInteractivity

    source§

    fn partial_cmp(&self, other: &KeyboardInteractivity) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    source§

    impl Copy for KeyboardInteractivity

    source§

    impl Eq for KeyboardInteractivity

    source§

    impl StructuralPartialEq for KeyboardInteractivity

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/enum.Layer.html b/smithay_client_toolkit/shell/wlr_layer/enum.Layer.html index 9d7d7f23e..eed14f26f 100644 --- a/smithay_client_toolkit/shell/wlr_layer/enum.Layer.html +++ b/smithay_client_toolkit/shell/wlr_layer/enum.Layer.html @@ -1,41 +1,41 @@ -Layer in smithay_client_toolkit::shell::wlr_layer - Rust

    Enum smithay_client_toolkit::shell::wlr_layer::Layer

    source ·
    #[non_exhaustive]
    pub enum Layer { +Layer in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Enum Layer

    source
    #[non_exhaustive]
    pub enum Layer { Background, Bottom, Top, Overlay, }
    Expand description

    The z-depth of a layer.

    These values indicate which order in which layer surfaces are rendered.

    -

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Background

    §

    Bottom

    §

    Top

    §

    Overlay

    Trait Implementations§

    source§

    impl Clone for Layer

    source§

    fn clone(&self) -> Layer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Layer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Layer> for Layer

    source§

    fn from(depth: Layer) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Layer

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Layer

    source§

    fn cmp(&self, other: &Layer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where - Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Layer

    source§

    fn eq(&self, other: &Layer) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PartialOrd for Layer

    source§

    fn partial_cmp(&self, other: &Layer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the -<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > -operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by -the >= operator. Read more
    source§

    impl TryFrom<Layer> for Layer

    source§

    type Error = UnknownLayer

    The type returned in the event of a conversion error.
    source§

    fn try_from(layer: Layer) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Copy for Layer

    source§

    impl Eq for Layer

    source§

    impl StructuralPartialEq for Layer

    Auto Trait Implementations§

    §

    impl Freeze for Layer

    §

    impl RefUnwindSafe for Layer

    §

    impl Send for Layer

    §

    impl Sync for Layer

    §

    impl Unpin for Layer

    §

    impl UnwindSafe for Layer

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Background

    §

    Bottom

    §

    Top

    §

    Overlay

    Trait Implementations§

    source§

    impl Clone for Layer

    source§

    fn clone(&self) -> Layer

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Layer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Layer> for Layer

    source§

    fn from(depth: Layer) -> Self

    Converts to this type from the input type.
    source§

    impl Hash for Layer

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl Ord for Layer

    source§

    fn cmp(&self, other: &Layer) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where + Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where + Self: Sized,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Layer

    source§

    fn eq(&self, other: &Layer) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PartialOrd for Layer

    source§

    fn partial_cmp(&self, other: &Layer) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    Tests less than or equal to (for self and other) and is used by the +<= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    Tests greater than (for self and other) and is used by the > +operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    Tests greater than or equal to (for self and other) and is used by +the >= operator. Read more
    source§

    impl TryFrom<Layer> for Layer

    source§

    type Error = UnknownLayer

    The type returned in the event of a conversion error.
    source§

    fn try_from(layer: Layer) -> Result<Self, Self::Error>

    Performs the conversion.
    source§

    impl Copy for Layer

    source§

    impl Eq for Layer

    source§

    impl StructuralPartialEq for Layer

    Auto Trait Implementations§

    §

    impl Freeze for Layer

    §

    impl RefUnwindSafe for Layer

    §

    impl Send for Layer

    §

    impl Sync for Layer

    §

    impl Unpin for Layer

    §

    impl UnwindSafe for Layer

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/enum.SurfaceKind.html b/smithay_client_toolkit/shell/wlr_layer/enum.SurfaceKind.html index c13bbb286..8b1230f3e 100644 --- a/smithay_client_toolkit/shell/wlr_layer/enum.SurfaceKind.html +++ b/smithay_client_toolkit/shell/wlr_layer/enum.SurfaceKind.html @@ -1,28 +1,28 @@ -SurfaceKind in smithay_client_toolkit::shell::wlr_layer - Rust
    #[non_exhaustive]
    pub enum SurfaceKind { +SurfaceKind in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Enum SurfaceKind

    source
    #[non_exhaustive]
    pub enum SurfaceKind { Wlr(ZwlrLayerSurfaceV1), -}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Wlr(ZwlrLayerSurfaceV1)

    Trait Implementations§

    source§

    impl Clone for SurfaceKind

    source§

    fn clone(&self) -> SurfaceKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SurfaceKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SurfaceKind

    source§

    fn eq(&self, other: &SurfaceKind) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for SurfaceKind

    source§

    impl StructuralPartialEq for SurfaceKind

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +}

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Wlr(ZwlrLayerSurfaceV1)

    Trait Implementations§

    source§

    impl Clone for SurfaceKind

    source§

    fn clone(&self) -> SurfaceKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for SurfaceKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for SurfaceKind

    source§

    fn eq(&self, other: &SurfaceKind) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for SurfaceKind

    source§

    impl StructuralPartialEq for SurfaceKind

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/index.html b/smithay_client_toolkit/shell/wlr_layer/index.html index 46b1c36ce..8ee396fd4 100644 --- a/smithay_client_toolkit/shell/wlr_layer/index.html +++ b/smithay_client_toolkit/shell/wlr_layer/index.html @@ -1 +1 @@ -smithay_client_toolkit::shell::wlr_layer - Rust

    Module smithay_client_toolkit::shell::wlr_layer

    source ·

    Structs§

    Enums§

    Traits§

    \ No newline at end of file +smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell

    Module wlr_layer

    source

    Structs§

    Enums§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.Anchor.html b/smithay_client_toolkit/shell/wlr_layer/struct.Anchor.html index f908e830c..7d592fc45 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.Anchor.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.Anchor.html @@ -1,4 +1,4 @@ -Anchor in smithay_client_toolkit::shell::wlr_layer - Rust

    Struct smithay_client_toolkit::shell::wlr_layer::Anchor

    source ·
    pub struct Anchor(/* private fields */);
    Expand description

    Specifies which edges and corners a layer should be placed at in the anchor rectangle.

    +Anchor in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct Anchor

    source
    pub struct Anchor(/* private fields */);
    Expand description

    Specifies which edges and corners a layer should be placed at in the anchor rectangle.

    A combination of two orthogonal edges will cause the layer’s anchor point to be the intersection of the edges. For example Anchor::TOP and Anchor::LEFT will result in an anchor point in the top left of the anchor rectangle.

    @@ -8,25 +8,25 @@
    source

    pub const RIGHT: Self = _

    The right edge of the anchor rectangle.

    source§

    impl Anchor

    source

    pub const fn empty() -> Self

    Get a flags value with all bits unset.

    source

    pub const fn all() -> Self

    Get a flags value with all known bits set.

    -
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    +
    source

    pub const fn bits(&self) -> u32

    Get the underlying bits value.

    The returned value is exactly the bits set in this flags value.

    -
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    +
    source

    pub const fn from_bits(bits: u32) -> Option<Self>

    Convert from a bits value.

    This method will return None if any unknown bits are set.

    -
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    -
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    -
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    +
    source

    pub const fn from_bits_truncate(bits: u32) -> Self

    Convert from a bits value, unsetting any unknown bits.

    +
    source

    pub const fn from_bits_retain(bits: u32) -> Self

    Convert from a bits value exactly.

    +
    source

    pub fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set.

    This method will return None if name is empty or doesn’t correspond to any named flag.

    -
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    -
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    -
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    -
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.

    +
    source

    pub const fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.

    +
    source

    pub const fn intersects(&self, other: Self) -> bool

    Whether any set bits in a source flags value are also set in a target flags value.

    +
    source

    pub const fn contains(&self, other: Self) -> bool

    Whether all set bits in a source flags value are also set in a target flags value.

    source

    pub fn insert(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    source

    pub fn remove(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. remove won’t truncate other, but the ! operator will.

    source

    pub fn toggle(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    +
    source

    pub fn set(&mut self, other: Self, value: bool)

    Call insert when value is true or remove when value is false.

    source

    pub const fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    source

    pub const fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.

    source

    pub const fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    @@ -40,52 +40,52 @@
    source

    pub const fn iter_names(&self) -> IterNames<Anchor>

    Yield a set of contained named flags values.

    This method is like iter, except only yields bits in contained named flags. Any unknown bits, or bits not corresponding to a contained flag will not be yielded.

    -

    Trait Implementations§

    source§

    impl Binary for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for Anchor

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    type Output = Anchor

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for Anchor

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    -
    source§

    impl BitOr for Anchor

    source§

    fn bitor(self, other: Anchor) -> Self

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    type Output = Anchor

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for Anchor

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    -
    source§

    impl BitXor for Anchor

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    type Output = Anchor

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for Anchor

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    -
    source§

    impl Clone for Anchor

    source§

    fn clone(&self) -> Anchor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<Anchor> for Anchor

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for Anchor

    source§

    const FLAGS: &'static [Flag<Anchor>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> Anchor

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where - Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where - Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where - Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where - Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where - Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where - Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<Anchor> for Anchor

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    -
    source§

    impl Hash for Anchor

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where - H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for Anchor

    source§

    type Item = Anchor

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<Anchor>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for Anchor

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    -
    source§

    type Output = Anchor

    The resulting type after applying the ! operator.
    source§

    impl Octal for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Anchor

    source§

    fn eq(&self, other: &Anchor) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl PublicFlags for Anchor

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for Anchor

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    +

    Trait Implementations§

    source§

    impl Binary for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl BitAnd for Anchor

    source§

    fn bitand(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    type Output = Anchor

    The resulting type after applying the & operator.
    source§

    impl BitAndAssign for Anchor

    source§

    fn bitand_assign(&mut self, other: Self)

    The bitwise and (&) of the bits in two flags values.

    +
    source§

    impl BitOr for Anchor

    source§

    fn bitor(self, other: Anchor) -> Self

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    type Output = Anchor

    The resulting type after applying the | operator.
    source§

    impl BitOrAssign for Anchor

    source§

    fn bitor_assign(&mut self, other: Self)

    The bitwise or (|) of the bits in two flags values.

    +
    source§

    impl BitXor for Anchor

    source§

    fn bitxor(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    type Output = Anchor

    The resulting type after applying the ^ operator.
    source§

    impl BitXorAssign for Anchor

    source§

    fn bitxor_assign(&mut self, other: Self)

    The bitwise exclusive-or (^) of the bits in two flags values.

    +
    source§

    impl Clone for Anchor

    source§

    fn clone(&self) -> Anchor

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Extend<Anchor> for Anchor

    source§

    fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    fn extend_one(&mut self, item: A)

    🔬This is a nightly-only experimental API. (extend_one)
    Extends a collection with exactly one element.
    source§

    fn extend_reserve(&mut self, additional: usize)

    🔬This is a nightly-only experimental API. (extend_one)
    Reserves capacity in a collection for the given number of additional elements. Read more
    source§

    impl Flags for Anchor

    source§

    const FLAGS: &'static [Flag<Anchor>] = _

    The set of defined flags.
    source§

    type Bits = u32

    The underlying bits type.
    source§

    fn bits(&self) -> u32

    Get the underlying bits value. Read more
    source§

    fn from_bits_retain(bits: u32) -> Anchor

    Convert from a bits value exactly.
    §

    fn empty() -> Self

    Get a flags value with all bits unset.
    §

    fn all() -> Self

    Get a flags value with all known bits set.
    §

    fn from_bits(bits: Self::Bits) -> Option<Self>

    Convert from a bits value. Read more
    §

    fn from_bits_truncate(bits: Self::Bits) -> Self

    Convert from a bits value, unsetting any unknown bits.
    §

    fn from_name(name: &str) -> Option<Self>

    Get a flags value with the bits of a flag with the given name set. Read more
    §

    fn iter(&self) -> Iter<Self>

    Yield a set of contained flags values. Read more
    §

    fn iter_names(&self) -> IterNames<Self>

    Yield a set of contained named flags values. Read more
    §

    fn is_empty(&self) -> bool

    Whether all bits in this flags value are unset.
    §

    fn is_all(&self) -> bool

    Whether all known bits in this flags value are set.
    §

    fn intersects(&self, other: Self) -> bool
    where + Self: Sized,

    Whether any set bits in a source flags value are also set in a target flags value.
    §

    fn contains(&self, other: Self) -> bool
    where + Self: Sized,

    Whether all set bits in a source flags value are also set in a target flags value.
    §

    fn insert(&mut self, other: Self)
    where + Self: Sized,

    The bitwise or (|) of the bits in two flags values.
    §

    fn remove(&mut self, other: Self)
    where + Self: Sized,

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn toggle(&mut self, other: Self)
    where + Self: Sized,

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn set(&mut self, other: Self, value: bool)
    where + Self: Sized,

    Call [Flags::insert] when value is true or [Flags::remove] when value is false.
    §

    fn intersection(self, other: Self) -> Self

    The bitwise and (&) of the bits in two flags values.
    §

    fn union(self, other: Self) -> Self

    The bitwise or (|) of the bits in two flags values.
    §

    fn difference(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!). Read more
    §

    fn symmetric_difference(self, other: Self) -> Self

    The bitwise exclusive-or (^) of the bits in two flags values.
    §

    fn complement(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.
    source§

    impl FromIterator<Anchor> for Anchor

    source§

    fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self

    The bitwise or (|) of the bits in each flags value.

    +
    source§

    impl Hash for Anchor

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where + H: Hasher, + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoIterator for Anchor

    source§

    type Item = Anchor

    The type of the elements being iterated over.
    source§

    type IntoIter = Iter<Anchor>

    Which kind of iterator are we turning this into?
    source§

    fn into_iter(self) -> Self::IntoIter

    Creates an iterator from a value. Read more
    source§

    impl LowerHex for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Not for Anchor

    source§

    fn not(self) -> Self

    The bitwise negation (!) of the bits in a flags value, truncating the result.

    +
    source§

    type Output = Anchor

    The resulting type after applying the ! operator.
    source§

    impl Octal for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Anchor

    source§

    fn eq(&self, other: &Anchor) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl PublicFlags for Anchor

    source§

    type Primitive = u32

    The type of the underlying storage.
    source§

    type Internal = InternalBitFlags

    The type of the internal field on the generated flags type.
    source§

    impl Sub for Anchor

    source§

    fn sub(self, other: Self) -> Self

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    type Output = Anchor

    The resulting type after applying the - operator.
    source§

    impl SubAssign for Anchor

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    +
    source§

    type Output = Anchor

    The resulting type after applying the - operator.
    source§

    impl SubAssign for Anchor

    source§

    fn sub_assign(&mut self, other: Self)

    The intersection of a source flags value with the complement of a target flags value (&!).

    This method is not equivalent to self & !other when other has unknown bits set. difference won’t truncate other, but the ! operator will.

    -
    source§

    impl UpperHex for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for Anchor

    source§

    impl Eq for Anchor

    source§

    impl StructuralPartialEq for Anchor

    Auto Trait Implementations§

    §

    impl Freeze for Anchor

    §

    impl RefUnwindSafe for Anchor

    §

    impl Send for Anchor

    §

    impl Sync for Anchor

    §

    impl Unpin for Anchor

    §

    impl UnwindSafe for Anchor

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
    source§

    impl UpperHex for Anchor

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Copy for Anchor

    source§

    impl Eq for Anchor

    source§

    impl StructuralPartialEq for Anchor

    Auto Trait Implementations§

    §

    impl Freeze for Anchor

    §

    impl RefUnwindSafe for Anchor

    §

    impl Send for Anchor

    §

    impl Sync for Anchor

    §

    impl Unpin for Anchor

    §

    impl UnwindSafe for Anchor

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.LayerShell.html b/smithay_client_toolkit/shell/wlr_layer/struct.LayerShell.html index e01787d69..7ae3fa619 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.LayerShell.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.LayerShell.html @@ -1,60 +1,60 @@ -LayerShell in smithay_client_toolkit::shell::wlr_layer - Rust

    Struct smithay_client_toolkit::shell::wlr_layer::LayerShell

    source ·
    pub struct LayerShell { /* private fields */ }

    Implementations§

    source§

    impl LayerShell

    source

    pub fn bind<State>( +LayerShell in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct LayerShell

    source
    pub struct LayerShell { /* private fields */ }

    Implementations§

    source§

    impl LayerShell

    source

    pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<LayerShell, BindError>
    where +) -> Result<LayerShell, BindError>
    where State: Dispatch<ZwlrLayerShellV1, GlobalData, State> + LayerShellHandler + 'static,

    Binds the wlr layer shell global, zwlr_layer_shell_v1.

    §Errors
    -

    This function will return Err if the zwlr_layer_shell_v1 global is not available.

    +

    This function will return Err if the zwlr_layer_shell_v1 global is not available.

    source

    pub fn create_layer_surface<State>( &self, qh: &QueueHandle<State>, - surface: impl Into<Surface>, + surface: impl Into<Surface>, layer: Layer, - namespace: Option<impl Into<String>>, - output: Option<&WlOutput>, + namespace: Option<impl Into<String>>, + output: Option<&WlOutput>, ) -> LayerSurface
    where - State: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Debug for LayerShell

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
    where + State: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Debug for LayerShell

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
    where D: Dispatch<ZwlrLayerShellV1, GlobalData> + LayerShellHandler + 'static,

    source§

    fn event( - _: &mut D, + _: &mut D, _: &ZwlrLayerShellV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where D: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + LayerShellHandler + 'static,

    source§

    fn event( - data: &mut D, + data: &mut D, surface: &ZwlrLayerSurfaceV1, event: Event, _udata: &LayerSurfaceData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 1> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 2> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 3> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 4> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 1> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 2> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 3> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZwlrLayerShellV1, 4> for LayerShell

    source§

    fn bound_global(&self) -> Result<ZwlrLayerShellV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurface.html b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurface.html index b31d58d09..45fc175da 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurface.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurface.html @@ -1,26 +1,26 @@ -LayerSurface in smithay_client_toolkit::shell::wlr_layer - Rust

    Struct smithay_client_toolkit::shell::wlr_layer::LayerSurface

    source ·
    pub struct LayerSurface(/* private fields */);

    Implementations§

    source§

    impl LayerSurface

    source

    pub fn from_wlr_surface(surface: &ZwlrLayerSurfaceV1) -> Option<LayerSurface>

    source

    pub fn get_popup(&self, popup: &XdgPopup)

    source

    pub fn set_size(&self, width: u32, height: u32)

    source

    pub fn set_anchor(&self, anchor: Anchor)

    source

    pub fn set_exclusive_zone(&self, zone: i32)

    source

    pub fn set_margin(&self, top: i32, right: i32, bottom: i32, left: i32)

    source

    pub fn set_keyboard_interactivity(&self, value: KeyboardInteractivity)

    source

    pub fn set_layer(&self, layer: Layer)

    source

    pub fn kind(&self) -> &SurfaceKind

    Trait Implementations§

    source§

    impl Clone for LayerSurface

    source§

    fn clone(&self) -> LayerSurface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayerSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for LayerSurface

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl WaylandSurface for LayerSurface

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +LayerSurface in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct LayerSurface

    source
    pub struct LayerSurface(/* private fields */);

    Implementations§

    source§

    impl LayerSurface

    source

    pub fn from_wlr_surface(surface: &ZwlrLayerSurfaceV1) -> Option<LayerSurface>

    source

    pub fn get_popup(&self, popup: &XdgPopup)

    source

    pub fn set_size(&self, width: u32, height: u32)

    source

    pub fn set_anchor(&self, anchor: Anchor)

    source

    pub fn set_exclusive_zone(&self, zone: i32)

    source

    pub fn set_margin(&self, top: i32, right: i32, bottom: i32, left: i32)

    source

    pub fn set_keyboard_interactivity(&self, value: KeyboardInteractivity)

    source

    pub fn set_layer(&self, layer: Layer)

    source

    pub fn kind(&self) -> &SurfaceKind

    Trait Implementations§

    source§

    impl Clone for LayerSurface

    source§

    fn clone(&self) -> LayerSurface

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayerSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for LayerSurface

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl WaylandSurface for LayerSurface

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceConfigure.html b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceConfigure.html index 3539d644f..8ce94a654 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceConfigure.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceConfigure.html @@ -1,35 +1,35 @@ -LayerSurfaceConfigure in smithay_client_toolkit::shell::wlr_layer - Rust
    #[non_exhaustive]
    pub struct LayerSurfaceConfigure { - pub new_size: (u32, u32), +LayerSurfaceConfigure in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct LayerSurfaceConfigure

    source
    #[non_exhaustive]
    pub struct LayerSurfaceConfigure { + pub new_size: (u32, u32), }
    Expand description

    A layer surface configure.

    A configure describes a compositor request to resize the layer surface or change it’s state.

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (u32, u32)

    The compositor suggested new size of the layer in surface-local coordinates.

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (u32, u32)

    The compositor suggested new size of the layer in surface-local coordinates.

    The size is a hint, meaning the new size can be ignored. A smaller size could be picked to satisfy some aspect ratio or resize in steps. If the size is smaller than suggested and the layer surface is anchored to two opposite anchors then the layer surface will be centered on that axis.

    If the width is zero, you may choose any width you want. If the height is zero, you may choose any height you want.

    -

    Trait Implementations§

    source§

    impl Clone for LayerSurfaceConfigure

    source§

    fn clone(&self) -> LayerSurfaceConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayerSurfaceConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Clone for LayerSurfaceConfigure

    source§

    fn clone(&self) -> LayerSurfaceConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LayerSurfaceConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceData.html b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceData.html index b7f008050..afdf8543e 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceData.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.LayerSurfaceData.html @@ -1,34 +1,34 @@ -LayerSurfaceData in smithay_client_toolkit::shell::wlr_layer - Rust
    pub struct LayerSurfaceData { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl Debug for LayerSurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where +LayerSurfaceData in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct LayerSurfaceData

    source
    pub struct LayerSurfaceData { /* private fields */ }

    Implementations§

    Trait Implementations§

    source§

    impl Debug for LayerSurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where D: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + LayerShellHandler + 'static,

    source§

    fn event( - data: &mut D, + data: &mut D, surface: &ZwlrLayerSurfaceV1, event: Event, _udata: &LayerSurfaceData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/struct.UnknownLayer.html b/smithay_client_toolkit/shell/wlr_layer/struct.UnknownLayer.html index c7301d87e..6425e6288 100644 --- a/smithay_client_toolkit/shell/wlr_layer/struct.UnknownLayer.html +++ b/smithay_client_toolkit/shell/wlr_layer/struct.UnknownLayer.html @@ -1,25 +1,25 @@ -UnknownLayer in smithay_client_toolkit::shell::wlr_layer - Rust

    Struct smithay_client_toolkit::shell::wlr_layer::UnknownLayer

    source ·
    pub struct UnknownLayer;
    Expand description

    Error when converting a [zwlr_layer_shell_v1::Layer] to a Layer

    -

    Trait Implementations§

    source§

    impl Debug for UnknownLayer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for UnknownLayer

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for UnknownLayer

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +UnknownLayer in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Struct UnknownLayer

    source
    pub struct UnknownLayer;
    Expand description

    Error when converting a [zwlr_layer_shell_v1::Layer] to a Layer

    +

    Trait Implementations§

    source§

    impl Debug for UnknownLayer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for UnknownLayer

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for UnknownLayer

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/wlr_layer/trait.LayerShellHandler.html b/smithay_client_toolkit/shell/wlr_layer/trait.LayerShellHandler.html index b70d56a28..5e4563375 100644 --- a/smithay_client_toolkit/shell/wlr_layer/trait.LayerShellHandler.html +++ b/smithay_client_toolkit/shell/wlr_layer/trait.LayerShellHandler.html @@ -1,4 +1,4 @@ -LayerShellHandler in smithay_client_toolkit::shell::wlr_layer - Rust
    pub trait LayerShellHandler: Sized {
    +LayerShellHandler in smithay_client_toolkit::shell::wlr_layer - Rust
    smithay_client_toolkit::shell::wlr_layer

    Trait LayerShellHandler

    source
    pub trait LayerShellHandler: Sized {
         // Required methods
         fn closed(
             &mut self,
    @@ -12,7 +12,7 @@
             qh: &QueueHandle<Self>,
             layer: &LayerSurface,
             configure: LayerSurfaceConfigure,
    -        serial: u32,
    +        serial: u32,
         );
     }
    Expand description

    Handler for operations on a LayerSurface

    Required Methods§

    source

    fn closed( @@ -29,7 +29,7 @@ qh: &QueueHandle<Self>, layer: &LayerSurface, configure: LayerSurfaceConfigure, - serial: u32, + serial: u32, )

    Apply a suggested surface change.

    When this function is called, the compositor is requesting the layer surfaces’s size or state to change.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/fallback_frame/index.html b/smithay_client_toolkit/shell/xdg/fallback_frame/index.html index 63bf15bd1..35cbd8000 100644 --- a/smithay_client_toolkit/shell/xdg/fallback_frame/index.html +++ b/smithay_client_toolkit/shell/xdg/fallback_frame/index.html @@ -1,2 +1,2 @@ -smithay_client_toolkit::shell::xdg::fallback_frame - Rust

    Module smithay_client_toolkit::shell::xdg::fallback_frame

    source ·
    Expand description

    The default fallback frame which is intended to show some very basic derocations.

    +smithay_client_toolkit::shell::xdg::fallback_frame - Rust
    smithay_client_toolkit::shell::xdg

    Module fallback_frame

    source
    Expand description

    The default fallback frame which is intended to show some very basic derocations.

    Structs§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/fallback_frame/struct.FallbackFrame.html b/smithay_client_toolkit/shell/xdg/fallback_frame/struct.FallbackFrame.html index 99955ae8f..66716edfd 100644 --- a/smithay_client_toolkit/shell/xdg/fallback_frame/struct.FallbackFrame.html +++ b/smithay_client_toolkit/shell/xdg/fallback_frame/struct.FallbackFrame.html @@ -1,47 +1,47 @@ -FallbackFrame in smithay_client_toolkit::shell::xdg::fallback_frame - Rust
    pub struct FallbackFrame<State> { /* private fields */ }
    Expand description

    The default ugly frame.

    +FallbackFrame in smithay_client_toolkit::shell::xdg::fallback_frame - Rust
    smithay_client_toolkit::shell::xdg::fallback_frame

    Struct FallbackFrame

    source
    pub struct FallbackFrame<State> { /* private fields */ }
    Expand description

    The default ugly frame.

    Implementations§

    source§

    impl<State> FallbackFrame<State>
    where State: Dispatch<WlSurface, SurfaceData> + Dispatch<WlSubsurface, SubsurfaceData> + 'static,

    source

    pub fn new( parent: &impl WaylandSurface, shm: &Shm, - subcompositor: Arc<SubcompositorState>, + subcompositor: Arc<SubcompositorState>, queue_handle: QueueHandle<State>, -) -> Result<Self, Box<dyn Error>>

    Trait Implementations§

    source§

    impl<State: Debug> Debug for FallbackFrame<State>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<State> DecorationsFrame for FallbackFrame<State>
    where - State: Dispatch<WlSurface, SurfaceData> + Dispatch<WlSubsurface, SubsurfaceData> + 'static,

    source§

    fn set_scaling_factor(&mut self, scale_factor: f64)

    Set the scaling of the decorations frame. Read more
    source§

    fn on_click( +) -> Result<Self, Box<dyn Error>>

    Trait Implementations§

    source§

    impl<State: Debug> Debug for FallbackFrame<State>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<State> DecorationsFrame for FallbackFrame<State>
    where + State: Dispatch<WlSurface, SurfaceData> + Dispatch<WlSubsurface, SubsurfaceData> + 'static,

    source§

    fn set_scaling_factor(&mut self, scale_factor: f64)

    Set the scaling of the decorations frame. Read more
    source§

    fn on_click( &mut self, - _timestamp: Duration, + _timestamp: Duration, click: FrameClick, - pressed: bool, -) -> Option<FrameAction>

    Emulate click on the decorations. Read more
    source§

    fn click_point_moved( + pressed: bool, +) -> Option<FrameAction>

    Emulate click on the decorations. Read more
    source§

    fn click_point_moved( &mut self, - _timestamp: Duration, + _timestamp: Duration, surface_id: &ObjectId, - x: f64, - y: f64, -) -> Option<CursorIcon>

    Emulate pointer moved event on the decorations frame. Read more
    source§

    fn click_point_left(&mut self)

    All clicks left the decorations. Read more
    source§

    fn set_hidden(&mut self, hidden: bool)

    Set the frame as hidden. Read more
    source§

    fn set_resizable(&mut self, resizable: bool)

    Mark the frame as resizable. Read more
    source§

    fn update_state(&mut self, state: WindowState)

    Update the state of the frame. Read more
    source§

    fn resize(&mut self, width: NonZeroU32, height: NonZeroU32)

    Resize the window to the new size. Read more
    source§

    fn subtract_borders( + x: f64, + y: f64, +) -> Option<CursorIcon>

    Emulate pointer moved event on the decorations frame. Read more
    source§

    fn click_point_left(&mut self)

    All clicks left the decorations. Read more
    source§

    fn set_hidden(&mut self, hidden: bool)

    Set the frame as hidden. Read more
    source§

    fn set_resizable(&mut self, resizable: bool)

    Mark the frame as resizable. Read more
    source§

    fn update_state(&mut self, state: WindowState)

    Update the state of the frame. Read more
    source§

    fn resize(&mut self, width: NonZeroU32, height: NonZeroU32)

    Resize the window to the new size. Read more
    source§

    fn subtract_borders( &self, - width: NonZeroU32, - height: NonZeroU32, -) -> (Option<NonZeroU32>, Option<NonZeroU32>)

    Subtract the borders from the given width and height. Read more
    source§

    fn add_borders(&self, width: u32, height: u32) -> (u32, u32)

    Add the borders to the given width and height. Read more
    source§

    fn is_hidden(&self) -> bool

    Get the frame hidden state. Read more
    source§

    fn location(&self) -> (i32, i32)

    Return the coordinates of the top-left corner of the borders relative to -the content. Read more
    source§

    fn is_dirty(&self) -> bool

    Whether the given frame is dirty and should be redrawn.
    source§

    fn draw(&mut self) -> bool

    Draw the decorations frame. Read more
    source§

    fn update_wm_capabilities(&mut self, capabilities: WindowManagerCapabilities)

    Update the window manager capabilites. Read more
    source§

    fn set_title(&mut self, _: impl Into<String>)

    Set the frames title.

    Auto Trait Implementations§

    §

    impl<State> Freeze for FallbackFrame<State>

    §

    impl<State> !RefUnwindSafe for FallbackFrame<State>

    §

    impl<State> Send for FallbackFrame<State>

    §

    impl<State> Sync for FallbackFrame<State>

    §

    impl<State> Unpin for FallbackFrame<State>

    §

    impl<State> !UnwindSafe for FallbackFrame<State>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot + width: NonZeroU32, + height: NonZeroU32, +) -> (Option<NonZeroU32>, Option<NonZeroU32>)
    Subtract the borders from the given width and height. Read more
    source§

    fn add_borders(&self, width: u32, height: u32) -> (u32, u32)

    Add the borders to the given width and height. Read more
    source§

    fn is_hidden(&self) -> bool

    Get the frame hidden state. Read more
    source§

    fn location(&self) -> (i32, i32)

    Return the coordinates of the top-left corner of the borders relative to +the content. Read more
    source§

    fn is_dirty(&self) -> bool

    Whether the given frame is dirty and should be redrawn.
    source§

    fn draw(&mut self) -> bool

    Draw the decorations frame. Read more
    source§

    fn update_wm_capabilities(&mut self, capabilities: WindowManagerCapabilities)

    Update the window manager capabilites. Read more
    source§

    fn set_title(&mut self, _: impl Into<String>)

    Set the frames title.

    Auto Trait Implementations§

    §

    impl<State> Freeze for FallbackFrame<State>

    §

    impl<State> !RefUnwindSafe for FallbackFrame<State>

    §

    impl<State> Send for FallbackFrame<State>

    §

    impl<State> Sync for FallbackFrame<State>

    §

    impl<State> Unpin for FallbackFrame<State>

    §

    impl<State> !UnwindSafe for FallbackFrame<State>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/index.html b/smithay_client_toolkit/shell/xdg/index.html index 98042c640..94480b615 100644 --- a/smithay_client_toolkit/shell/xdg/index.html +++ b/smithay_client_toolkit/shell/xdg/index.html @@ -1 +1 @@ -smithay_client_toolkit::shell::xdg - Rust

    Module smithay_client_toolkit::shell::xdg

    source ·
    Expand description

    §Cross desktop group (XDG) shell

    Modules§

    Structs§

    • A trivial wrapper for an [xdg_positioner::XdgPositioner].
    • The xdg shell globals.
    • A surface role for functionality common in desktop-like surfaces.

    Traits§

    \ No newline at end of file +smithay_client_toolkit::shell::xdg - Rust
    smithay_client_toolkit::shell

    Module xdg

    source
    Expand description

    §Cross desktop group (XDG) shell

    Modules§

    Structs§

    • A trivial wrapper for an [xdg_positioner::XdgPositioner].
    • The xdg shell globals.
    • A surface role for functionality common in desktop-like surfaces.

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/enum.ConfigureKind.html b/smithay_client_toolkit/shell/xdg/popup/enum.ConfigureKind.html index 2b1149a55..c1ea7d849 100644 --- a/smithay_client_toolkit/shell/xdg/popup/enum.ConfigureKind.html +++ b/smithay_client_toolkit/shell/xdg/popup/enum.ConfigureKind.html @@ -1,34 +1,34 @@ -ConfigureKind in smithay_client_toolkit::shell::xdg::popup - Rust

    Enum smithay_client_toolkit::shell::xdg::popup::ConfigureKind

    source ·
    #[non_exhaustive]
    pub enum ConfigureKind { +ConfigureKind in smithay_client_toolkit::shell::xdg::popup - Rust
    smithay_client_toolkit::shell::xdg::popup

    Enum ConfigureKind

    source
    #[non_exhaustive]
    pub enum ConfigureKind { Initial, Reactive, Reposition { - token: u32, + token: u32, }, }

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    Initial

    Initial configure for this popup

    §

    Reactive

    The configure is due to an xdg_positioner with set_reactive requested

    §

    Reposition

    The configure is due to a reposition request with this token

    -

    Fields

    §token: u32

    Trait Implementations§

    source§

    impl Clone for ConfigureKind

    source§

    fn clone(&self) -> ConfigureKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ConfigureKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Fields

    §token: u32

    Trait Implementations§

    source§

    impl Clone for ConfigureKind

    source§

    fn clone(&self) -> ConfigureKind

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ConfigureKind

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/index.html b/smithay_client_toolkit/shell/xdg/popup/index.html index 649e4b712..755f4c7a9 100644 --- a/smithay_client_toolkit/shell/xdg/popup/index.html +++ b/smithay_client_toolkit/shell/xdg/popup/index.html @@ -1 +1 @@ -smithay_client_toolkit::shell::xdg::popup - Rust
    \ No newline at end of file +smithay_client_toolkit::shell::xdg::popup - Rust
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/struct.Popup.html b/smithay_client_toolkit/shell/xdg/popup/struct.Popup.html index 302ed5446..1723ce006 100644 --- a/smithay_client_toolkit/shell/xdg/popup/struct.Popup.html +++ b/smithay_client_toolkit/shell/xdg/popup/struct.Popup.html @@ -1,47 +1,47 @@ -Popup in smithay_client_toolkit::shell::xdg::popup - Rust

    Struct smithay_client_toolkit::shell::xdg::popup::Popup

    source ·
    pub struct Popup { /* private fields */ }

    Implementations§

    source§

    impl Popup

    source

    pub fn new<D>( +Popup in smithay_client_toolkit::shell::xdg::popup - Rust
    smithay_client_toolkit::shell::xdg::popup

    Struct Popup

    source
    pub struct Popup { /* private fields */ }

    Implementations§

    source§

    impl Popup

    source

    pub fn new<D>( parent: &XdgSurface, position: &XdgPositioner, qh: &QueueHandle<D>, compositor: &impl ProvidesBoundGlobal<WlCompositor, 6>, wm_base: &impl ProvidesBoundGlobal<XdgWmBase, 5>, -) -> Result<Popup, GlobalError>
    where +) -> Result<Popup, GlobalError>
    where D: Dispatch<WlSurface, SurfaceData> + Dispatch<XdgSurface, PopupData> + Dispatch<XdgPopup, PopupData> + PopupHandler + 'static,

    Create a new popup.

    This creates the popup and sends the initial commit. You must wait for PopupHandler::configure to commit contents to the surface.

    source

    pub fn from_surface<D>( - parent: Option<&XdgSurface>, + parent: Option<&XdgSurface>, position: &XdgPositioner, qh: &QueueHandle<D>, - surface: impl Into<Surface>, + surface: impl Into<Surface>, wm_base: &impl ProvidesBoundGlobal<XdgWmBase, 5>, -) -> Result<Popup, GlobalError>
    where +) -> Result<Popup, GlobalError>
    where D: Dispatch<XdgSurface, PopupData> + Dispatch<XdgPopup, PopupData> + 'static,

    Create a new popup from an existing surface.

    If you do not specify a parent surface, you must configure the parent using an alternate function such as LayerSurface::get_popup prior to committing the surface, or you will get an invalid_popup_parent protocol error.

    -
    source

    pub fn xdg_popup(&self) -> &XdgPopup

    source

    pub fn xdg_shell_surface(&self) -> &XdgShellSurface

    source

    pub fn xdg_surface(&self) -> &XdgSurface

    source

    pub fn wl_surface(&self) -> &WlSurface

    source

    pub fn reposition(&self, position: &XdgPositioner, token: u32)

    Trait Implementations§

    source§

    impl Clone for Popup

    source§

    fn clone(&self) -> Popup

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Popup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Popup

    source§

    fn eq(&self, other: &Popup) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Eq for Popup

    Auto Trait Implementations§

    §

    impl Freeze for Popup

    §

    impl !RefUnwindSafe for Popup

    §

    impl Send for Popup

    §

    impl Sync for Popup

    §

    impl Unpin for Popup

    §

    impl !UnwindSafe for Popup

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
    source

    pub fn xdg_popup(&self) -> &XdgPopup

    source

    pub fn xdg_shell_surface(&self) -> &XdgShellSurface

    source

    pub fn xdg_surface(&self) -> &XdgSurface

    source

    pub fn wl_surface(&self) -> &WlSurface

    source

    pub fn reposition(&self, position: &XdgPositioner, token: u32)

    Trait Implementations§

    source§

    impl Clone for Popup

    source§

    fn clone(&self) -> Popup

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Popup

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Popup

    source§

    fn eq(&self, other: &Popup) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Eq for Popup

    Auto Trait Implementations§

    §

    impl Freeze for Popup

    §

    impl !RefUnwindSafe for Popup

    §

    impl Send for Popup

    §

    impl Sync for Popup

    §

    impl Unpin for Popup

    §

    impl !UnwindSafe for Popup

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/struct.PopupConfigure.html b/smithay_client_toolkit/shell/xdg/popup/struct.PopupConfigure.html index 21a9e544e..982d8de90 100644 --- a/smithay_client_toolkit/shell/xdg/popup/struct.PopupConfigure.html +++ b/smithay_client_toolkit/shell/xdg/popup/struct.PopupConfigure.html @@ -1,32 +1,32 @@ -PopupConfigure in smithay_client_toolkit::shell::xdg::popup - Rust

    Struct smithay_client_toolkit::shell::xdg::popup::PopupConfigure

    source ·
    #[non_exhaustive]
    pub struct PopupConfigure { - pub position: (i32, i32), - pub width: i32, - pub height: i32, - pub serial: u32, +PopupConfigure in smithay_client_toolkit::shell::xdg::popup - Rust
    smithay_client_toolkit::shell::xdg::popup

    Struct PopupConfigure

    source
    #[non_exhaustive]
    pub struct PopupConfigure { + pub position: (i32, i32), + pub width: i32, + pub height: i32, + pub serial: u32, pub kind: ConfigureKind, -}

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §position: (i32, i32)

    (x,y) relative to parent surface window geometry

    -
    §width: i32§height: i32§serial: u32§kind: ConfigureKind

    Trait Implementations§

    source§

    impl Clone for PopupConfigure

    source§

    fn clone(&self) -> PopupConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PopupConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +}

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §position: (i32, i32)

    (x,y) relative to parent surface window geometry

    +
    §width: i32§height: i32§serial: u32§kind: ConfigureKind

    Trait Implementations§

    source§

    impl Clone for PopupConfigure

    source§

    fn clone(&self) -> PopupConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PopupConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/struct.PopupData.html b/smithay_client_toolkit/shell/xdg/popup/struct.PopupData.html index b304a36f5..3771939ce 100644 --- a/smithay_client_toolkit/shell/xdg/popup/struct.PopupData.html +++ b/smithay_client_toolkit/shell/xdg/popup/struct.PopupData.html @@ -1,47 +1,47 @@ -PopupData in smithay_client_toolkit::shell::xdg::popup - Rust

    Struct smithay_client_toolkit::shell::xdg::popup::PopupData

    source ·
    pub struct PopupData { /* private fields */ }

    Implementations§

    source§

    impl PopupData

    source

    pub fn popup(&self) -> Option<Popup>

    Get a new handle to the Popup

    +PopupData in smithay_client_toolkit::shell::xdg::popup - Rust
    smithay_client_toolkit::shell::xdg::popup

    Struct PopupData

    source
    pub struct PopupData { /* private fields */ }

    Implementations§

    source§

    impl PopupData

    source

    pub fn popup(&self) -> Option<Popup>

    Get a new handle to the Popup

    This returns None if the popup has been destroyed.

    -

    Trait Implementations§

    source§

    impl Debug for PopupData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgPopup, PopupData, D> for PopupData
    where +

    Trait Implementations§

    source§

    impl Debug for PopupData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgPopup, PopupData, D> for PopupData
    where D: Dispatch<XdgPopup, PopupData> + PopupHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, _: &XdgPopup, event: Event, pdata: &PopupData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgSurface, PopupData, D> for PopupData
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgSurface, PopupData, D> for PopupData
    where D: Dispatch<XdgSurface, PopupData> + PopupHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, xdg_surface: &XdgSurface, event: Event, pdata: &PopupData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/popup/trait.PopupHandler.html b/smithay_client_toolkit/shell/xdg/popup/trait.PopupHandler.html index f4504c474..aaac4ac70 100644 --- a/smithay_client_toolkit/shell/xdg/popup/trait.PopupHandler.html +++ b/smithay_client_toolkit/shell/xdg/popup/trait.PopupHandler.html @@ -1,4 +1,4 @@ -PopupHandler in smithay_client_toolkit::shell::xdg::popup - Rust

    Trait smithay_client_toolkit::shell::xdg::popup::PopupHandler

    source ·
    pub trait PopupHandler: Sized {
    +PopupHandler in smithay_client_toolkit::shell::xdg::popup - Rust
    smithay_client_toolkit::shell::xdg::popup

    Trait PopupHandler

    source
    pub trait PopupHandler: Sized {
         // Required methods
         fn configure(
             &mut self,
    @@ -16,4 +16,4 @@
         config: PopupConfigure,
     )

    The popup has been configured.

    source

    fn done(&mut self, conn: &Connection, qh: &QueueHandle<Self>, popup: &Popup)

    The popup was dismissed by the compositor and should be destroyed.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/struct.XdgPositioner.html b/smithay_client_toolkit/shell/xdg/struct.XdgPositioner.html index 71457403e..49471514d 100644 --- a/smithay_client_toolkit/shell/xdg/struct.XdgPositioner.html +++ b/smithay_client_toolkit/shell/xdg/struct.XdgPositioner.html @@ -1,16 +1,16 @@ -XdgPositioner in smithay_client_toolkit::shell::xdg - Rust

    Struct smithay_client_toolkit::shell::xdg::XdgPositioner

    source ·
    pub struct XdgPositioner(/* private fields */);
    Expand description

    A trivial wrapper for an [xdg_positioner::XdgPositioner].

    +XdgPositioner in smithay_client_toolkit::shell::xdg - Rust
    smithay_client_toolkit::shell::xdg

    Struct XdgPositioner

    source
    pub struct XdgPositioner(/* private fields */);
    Expand description

    A trivial wrapper for an [xdg_positioner::XdgPositioner].

    This wrapper calls [destroy][xdg_positioner::XdgPositioner::destroy] on the contained positioner when it is dropped.

    Implementations§

    source§

    impl XdgPositioner

    source

    pub fn new( wm_base: &impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }>, -) -> Result<Self, GlobalError>

    Methods from Deref<Target = XdgPositioner>§

    pub fn destroy(&self)

    destroy the xdg_positioner object

    +) -> Result<Self, GlobalError>

    Methods from Deref<Target = XdgPositioner>§

    pub fn destroy(&self)

    destroy the xdg_positioner object

    Notify the compositor that the xdg_positioner will no longer be used.

    -

    pub fn set_size(&self, width: i32, height: i32)

    set the size of the to-be positioned rectangle

    +

    pub fn set_size(&self, width: i32, height: i32)

    set the size of the to-be positioned rectangle

    Set the size of the surface that is to be positioned with the positioner object. The size is in surface-local coordinates and corresponds to the window geometry. See xdg_surface.set_window_geometry.

    If a zero or negative size is set the invalid_input error is raised.

    -

    pub fn set_anchor_rect(&self, x: i32, y: i32, width: i32, height: i32)

    set the anchor rectangle within the parent surface

    +

    pub fn set_anchor_rect(&self, x: i32, y: i32, width: i32, height: i32)

    set the anchor rectangle within the parent surface

    Specify the anchor rectangle within the parent surface that the child surface will be placed relative to. The rectangle is relative to the window geometry as defined by xdg_surface.set_window_geometry of the @@ -48,7 +48,7 @@

    If more than one bit for one axis is set, the order of how adjustments are applied is specified in the corresponding adjustment descriptions.

    The default adjustment is none.

    -

    pub fn set_offset(&self, x: i32, y: i32)

    set surface position offset

    +

    pub fn set_offset(&self, x: i32, y: i32)

    set surface position offset

    Specify the surface position offset relative to the position of the anchor on the anchor rectangle and the anchor on the surface. For example if the anchor of the anchor rectangle is at (x, y), the surface @@ -65,37 +65,37 @@

    If the conditions changed and the popup was reconstrained, an xdg_popup.configure event is sent with updated geometry, followed by an xdg_surface.configure event.

    -

    pub fn set_parent_size(&self, parent_width: i32, parent_height: i32)

    Set the parent window geometry the compositor should use when +

    pub fn set_parent_size(&self, parent_width: i32, parent_height: i32)

    Set the parent window geometry the compositor should use when positioning the popup. The compositor may use this information to determine the future state the popup should be constrained using. If this doesn’t match the dimension of the parent the popup is eventually positioned against, the behavior is undefined.

    The arguments are given in the surface-local coordinate space.

    -

    pub fn set_parent_configure(&self, serial: u32)

    set parent configure this is a response to

    +

    pub fn set_parent_configure(&self, serial: u32)

    set parent configure this is a response to

    Set the serial of an xdg_surface.configure event this positioner will be used in response to. The compositor may use this information together with set_parent_size to determine what future state the popup should be constrained using.

    -

    Trait Implementations§

    source§

    impl Debug for XdgPositioner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for XdgPositioner

    source§

    type Target = XdgPositioner

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for XdgPositioner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Debug for XdgPositioner

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for XdgPositioner

    source§

    type Target = XdgPositioner

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl Drop for XdgPositioner

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/struct.XdgShell.html b/smithay_client_toolkit/shell/xdg/struct.XdgShell.html index 8fd844c5c..8fc8b6068 100644 --- a/smithay_client_toolkit/shell/xdg/struct.XdgShell.html +++ b/smithay_client_toolkit/shell/xdg/struct.XdgShell.html @@ -1,17 +1,17 @@ -XdgShell in smithay_client_toolkit::shell::xdg - Rust

    Struct smithay_client_toolkit::shell::xdg::XdgShell

    source ·
    pub struct XdgShell { /* private fields */ }
    Expand description

    The xdg shell globals.

    -

    Implementations§

    source§

    impl XdgShell

    source

    pub const API_VERSION_MAX: u32 = 6u32

    The maximum API version for XdgWmBase that this object will bind.

    +XdgShell in smithay_client_toolkit::shell::xdg - Rust
    smithay_client_toolkit::shell::xdg

    Struct XdgShell

    source
    pub struct XdgShell { /* private fields */ }
    Expand description

    The xdg shell globals.

    +

    Implementations§

    source§

    impl XdgShell

    source

    pub const API_VERSION_MAX: u32 = 6u32

    The maximum API version for XdgWmBase that this object will bind.

    source

    pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<Self, BindError>
    where +) -> Result<Self, BindError>
    where State: Dispatch<XdgWmBase, GlobalData, State> + Dispatch<ZxdgDecorationManagerV1, GlobalData, State> + 'static,

    Binds the xdg shell global, xdg_wm_base.

    If available, the zxdg_decoration_manager_v1 global will be bound to allow server side decorations for windows.

    §Errors
    -

    This function will return Err if the xdg_wm_base global is not available.

    +

    This function will return Err if the xdg_wm_base global is not available.

    source

    pub fn create_window<State>( &self, - surface: impl Into<Surface>, + surface: impl Into<Surface>, decorations: WindowDecorations, qh: &QueueHandle<State>, ) -> Window
    where @@ -23,81 +23,81 @@
    §Pro surface.

    This function takes ownership of the surface.

    For more info related to creating windows, see the module documentation.

    -

    source

    pub fn xdg_wm_base(&self) -> &XdgWmBase

    Trait Implementations§

    source§

    impl Debug for XdgShell

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where +

    source

    pub fn xdg_wm_base(&self) -> &XdgWmBase

    Trait Implementations§

    source§

    impl Debug for XdgShell

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where D: Dispatch<XdgSurface, WindowData> + WindowHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, xdg_surface: &XdgSurface, event: Event, _: &WindowData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where D: Dispatch<XdgToplevel, WindowData> + WindowHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, toplevel: &XdgToplevel, event: Event, _: &WindowData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
    where D: Dispatch<XdgWmBase, GlobalData>,

    source§

    fn event( - _state: &mut D, + _state: &mut D, xdg_wm_base: &XdgWmBase, event: Event, _data: &GlobalData, _conn: &Connection, _qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
    where D: Dispatch<ZxdgDecorationManagerV1, GlobalData> + WindowHandler,

    source§

    fn event( - _: &mut D, + _: &mut D, _: &ZxdgDecorationManagerV1, _: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where D: Dispatch<ZxdgToplevelDecorationV1, WindowData> + WindowHandler,

    source§

    fn event( - _: &mut D, + _: &mut D, decoration: &ZxdgToplevelDecorationV1, event: Event, _: &WindowData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }> for XdgShell

    source§

    fn bound_global(&self) -> Result<XdgWmBase, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<XdgWmBase, 5> for XdgShell

    source§

    fn bound_global(&self) -> Result<XdgWmBase, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZxdgDecorationManagerV1, 1> for XdgShell

    source§

    fn bound_global(&self) -> Result<ZxdgDecorationManagerV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more
    source§

    impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }> for XdgShell

    source§

    fn bound_global(&self) -> Result<XdgWmBase, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<XdgWmBase, 5> for XdgShell

    source§

    fn bound_global(&self) -> Result<XdgWmBase, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    source§

    impl ProvidesBoundGlobal<ZxdgDecorationManagerV1, 1> for XdgShell

    source§

    fn bound_global(&self) -> Result<ZxdgDecorationManagerV1, GlobalError>

    source§

    fn with_min_version(&self, version: u32) -> Result<I, GlobalError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/struct.XdgShellSurface.html b/smithay_client_toolkit/shell/xdg/struct.XdgShellSurface.html index a4a4d7ebf..89cb6e362 100644 --- a/smithay_client_toolkit/shell/xdg/struct.XdgShellSurface.html +++ b/smithay_client_toolkit/shell/xdg/struct.XdgShellSurface.html @@ -1,12 +1,12 @@ -XdgShellSurface in smithay_client_toolkit::shell::xdg - Rust

    Struct smithay_client_toolkit::shell::xdg::XdgShellSurface

    source ·
    pub struct XdgShellSurface { /* private fields */ }
    Expand description

    A surface role for functionality common in desktop-like surfaces.

    +XdgShellSurface in smithay_client_toolkit::shell::xdg - Rust
    smithay_client_toolkit::shell::xdg

    Struct XdgShellSurface

    source
    pub struct XdgShellSurface { /* private fields */ }
    Expand description

    A surface role for functionality common in desktop-like surfaces.

    Implementations§

    source§

    impl XdgShellSurface

    source

    pub fn new<U, D>( wm_base: &impl ProvidesBoundGlobal<XdgWmBase, { XdgShell::API_VERSION_MAX }>, qh: &QueueHandle<D>, - surface: impl Into<Surface>, + surface: impl Into<Surface>, udata: U, -) -> Result<XdgShellSurface, GlobalError>
    where +) -> Result<XdgShellSurface, GlobalError>
    where D: Dispatch<XdgSurface, U> + 'static, - U: Send + Sync + 'static,

    Creates an XdgShellSurface.

    + U: Send + Sync + 'static,

    Creates an XdgShellSurface.

    This function is generally intended to be called in a higher level abstraction, such as XdgShell::create_window.

    The created XdgShellSurface will destroy the underlying XdgSurface or WlSurface when @@ -18,26 +18,26 @@

    §Pro

    A surface is considered to have a role object if some other type of surface was created using the surface. For example, creating a window, popup, layer, subsurface or some other type of surface object all assign a role object to a surface.

    -
    source

    pub fn xdg_surface(&self) -> &XdgSurface

    source

    pub fn wl_surface(&self) -> &WlSurface

    Trait Implementations§

    source§

    impl Debug for XdgShellSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for XdgShellSurface

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl WaylandSurface for XdgShellSurface

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more
    source§

    impl XdgSurface for XdgShellSurface

    source§

    fn xdg_surface(&self) -> &XdgSurface

    The underlying XdgSurface.
    source§

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
    source

    pub fn xdg_surface(&self) -> &XdgSurface

    source

    pub fn wl_surface(&self) -> &WlSurface

    Trait Implementations§

    source§

    impl Debug for XdgShellSurface

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for XdgShellSurface

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl WaylandSurface for XdgShellSurface

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more
    source§

    impl XdgSurface for XdgShellSurface

    source§

    fn xdg_surface(&self) -> &XdgSurface

    The underlying XdgSurface.
    source§

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/trait.XdgSurface.html b/smithay_client_toolkit/shell/xdg/trait.XdgSurface.html index 81a177dba..a7ab10dbe 100644 --- a/smithay_client_toolkit/shell/xdg/trait.XdgSurface.html +++ b/smithay_client_toolkit/shell/xdg/trait.XdgSurface.html @@ -1,8 +1,8 @@ -XdgSurface in smithay_client_toolkit::shell::xdg - Rust

    Trait smithay_client_toolkit::shell::xdg::XdgSurface

    source ·
    pub trait XdgSurface: WaylandSurface + Sized {
    +XdgSurface in smithay_client_toolkit::shell::xdg - Rust
    smithay_client_toolkit::shell::xdg

    Trait XdgSurface

    source
    pub trait XdgSurface: WaylandSurface + Sized {
         // Required method
         fn xdg_surface(&self) -> &XdgSurface;
     
         // Provided method
    -    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32) { ... }
    +    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32) { ... }
     }

    Required Methods§

    source

    fn xdg_surface(&self) -> &XdgSurface

    The underlying XdgSurface.

    -

    Provided Methods§

    source

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Provided Methods§

    source

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/enum.DecorationMode.html b/smithay_client_toolkit/shell/xdg/window/enum.DecorationMode.html index f4613cbc2..048950ee0 100644 --- a/smithay_client_toolkit/shell/xdg/window/enum.DecorationMode.html +++ b/smithay_client_toolkit/shell/xdg/window/enum.DecorationMode.html @@ -1,32 +1,32 @@ -DecorationMode in smithay_client_toolkit::shell::xdg::window - Rust
    pub enum DecorationMode {
    +DecorationMode in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Enum DecorationMode

    source
    pub enum DecorationMode {
         Client,
         Server,
     }
    Expand description

    Decoration mode of a window.

    Variants§

    §

    Client

    The window should draw client side decorations.

    §

    Server

    The server will draw window decorations.

    -

    Trait Implementations§

    source§

    impl Clone for DecorationMode

    source§

    fn clone(&self) -> DecorationMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DecorationMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for DecorationMode

    source§

    fn eq(&self, other: &DecorationMode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for DecorationMode

    source§

    impl Eq for DecorationMode

    source§

    impl StructuralPartialEq for DecorationMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Clone for DecorationMode

    source§

    fn clone(&self) -> DecorationMode

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for DecorationMode

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for DecorationMode

    source§

    fn eq(&self, other: &DecorationMode) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for DecorationMode

    source§

    impl Eq for DecorationMode

    source§

    impl StructuralPartialEq for DecorationMode

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/enum.WindowDecorations.html b/smithay_client_toolkit/shell/xdg/window/enum.WindowDecorations.html index 5ee92e419..172025713 100644 --- a/smithay_client_toolkit/shell/xdg/window/enum.WindowDecorations.html +++ b/smithay_client_toolkit/shell/xdg/window/enum.WindowDecorations.html @@ -1,4 +1,4 @@ -WindowDecorations in smithay_client_toolkit::shell::xdg::window - Rust
    pub enum WindowDecorations {
    +WindowDecorations in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Enum WindowDecorations

    source
    pub enum WindowDecorations {
         ServerDefault,
         RequestServer,
         RequestClient,
    @@ -16,29 +16,29 @@
     not available, client side decorations are drawn.

    §

    ClientOnly

    The window should always draw it’s own client side decorations.

    §

    None

    The window should use server side decorations or draw any client side decorations.

    -

    Trait Implementations§

    source§

    impl Clone for WindowDecorations

    source§

    fn clone(&self) -> WindowDecorations

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowDecorations

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for WindowDecorations

    source§

    fn eq(&self, other: &WindowDecorations) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl Copy for WindowDecorations

    source§

    impl Eq for WindowDecorations

    source§

    impl StructuralPartialEq for WindowDecorations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Clone for WindowDecorations

    source§

    fn clone(&self) -> WindowDecorations

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowDecorations

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for WindowDecorations

    source§

    fn eq(&self, other: &WindowDecorations) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl Copy for WindowDecorations

    source§

    impl Eq for WindowDecorations

    source§

    impl StructuralPartialEq for WindowDecorations

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/index.html b/smithay_client_toolkit/shell/xdg/window/index.html index 779120a7c..9c8542c38 100644 --- a/smithay_client_toolkit/shell/xdg/window/index.html +++ b/smithay_client_toolkit/shell/xdg/window/index.html @@ -1,2 +1,2 @@ -smithay_client_toolkit::shell::xdg::window - Rust

    Module smithay_client_toolkit::shell::xdg::window

    source ·
    Expand description

    XDG shell windows.

    +smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg

    Module window

    source
    Expand description

    XDG shell windows.

    Structs§

    Enums§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/struct.Window.html b/smithay_client_toolkit/shell/xdg/window/struct.Window.html index 5b2e0ea04..0943100e0 100644 --- a/smithay_client_toolkit/shell/xdg/window/struct.Window.html +++ b/smithay_client_toolkit/shell/xdg/window/struct.Window.html @@ -1,37 +1,37 @@ -Window in smithay_client_toolkit::shell::xdg::window - Rust

    Struct smithay_client_toolkit::shell::xdg::window::Window

    source ·
    pub struct Window(/* private fields */);

    Implementations§

    source§

    impl Window

    source

    pub fn from_xdg_toplevel(toplevel: &XdgToplevel) -> Option<Window>

    source

    pub fn from_xdg_surface(surface: &XdgSurface) -> Option<Window>

    source

    pub fn from_toplevel_decoration( +Window in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Struct Window

    source
    pub struct Window(/* private fields */);

    Implementations§

    source§

    impl Window

    source

    pub fn from_xdg_toplevel(toplevel: &XdgToplevel) -> Option<Window>

    source

    pub fn from_xdg_surface(surface: &XdgSurface) -> Option<Window>

    source

    pub fn from_toplevel_decoration( decoration: &ZxdgToplevelDecorationV1, -) -> Option<Window>

    source

    pub fn show_window_menu(&self, seat: &WlSeat, serial: u32, position: (i32, i32))

    source

    pub fn set_title(&self, title: impl Into<String>)

    source

    pub fn set_app_id(&self, app_id: impl Into<String>)

    source

    pub fn set_parent(&self, parent: Option<&Window>)

    source

    pub fn set_maximized(&self)

    source

    pub fn unset_maximized(&self)

    source

    pub fn set_minimized(&self)

    source

    pub fn set_fullscreen(&self, output: Option<&WlOutput>)

    source

    pub fn unset_fullscreen(&self)

    source

    pub fn request_decoration_mode(&self, mode: Option<DecorationMode>)

    Requests the window should use the specified decoration mode.

    -

    A mode of None indicates that the window does not care what type of decorations are used.

    +) -> Option<Window>

    source

    pub fn show_window_menu(&self, seat: &WlSeat, serial: u32, position: (i32, i32))

    source

    pub fn set_title(&self, title: impl Into<String>)

    source

    pub fn set_app_id(&self, app_id: impl Into<String>)

    source

    pub fn set_parent(&self, parent: Option<&Window>)

    source

    pub fn set_maximized(&self)

    source

    pub fn unset_maximized(&self)

    source

    pub fn set_minimized(&self)

    source

    pub fn set_fullscreen(&self, output: Option<&WlOutput>)

    source

    pub fn unset_fullscreen(&self)

    source

    pub fn request_decoration_mode(&self, mode: Option<DecorationMode>)

    Requests the window should use the specified decoration mode.

    +

    A mode of None indicates that the window does not care what type of decorations are used.

    The compositor will respond with a configure. The configure will indicate whether the window’s decoration mode has changed.

    §Configure loops

    You should avoid sending multiple decoration mode requests to ensure you do not enter a configure loop.

    -
    source

    pub fn move_(&self, seat: &WlSeat, serial: u32)

    source

    pub fn resize(&self, seat: &WlSeat, serial: u32, edges: ResizeEdge)

    source

    pub fn set_min_size(&self, min_size: Option<(u32, u32)>)

    source

    pub fn set_max_size(&self, max_size: Option<(u32, u32)>)

    §Protocol errors
    +
    source

    pub fn move_(&self, seat: &WlSeat, serial: u32)

    source

    pub fn resize(&self, seat: &WlSeat, serial: u32, edges: ResizeEdge)

    source

    pub fn set_min_size(&self, min_size: Option<(u32, u32)>)

    source

    pub fn set_max_size(&self, max_size: Option<(u32, u32)>)

    §Protocol errors

    The maximum size of the window may not be smaller than the minimum size.

    source

    pub fn xdg_toplevel(&self) -> &XdgToplevel

    Returns the underlying xdg toplevel wrapped by this window.

    -

    Trait Implementations§

    source§

    impl Clone for Window

    source§

    fn clone(&self) -> Window

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Window

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Window

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, -and should not be overridden without very good reason.
    source§

    impl WaylandSurface for Window

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more
    source§

    impl XdgSurface for Window

    source§

    fn xdg_surface(&self) -> &XdgSurface

    The underlying XdgSurface.
    source§

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Auto Trait Implementations§

    §

    impl Freeze for Window

    §

    impl !RefUnwindSafe for Window

    §

    impl Send for Window

    §

    impl Sync for Window

    §

    impl Unpin for Window

    §

    impl !UnwindSafe for Window

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Clone for Window

    source§

    fn clone(&self) -> Window

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Window

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl PartialEq for Window

    source§

    fn eq(&self, other: &Self) -> bool

    Tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    Tests for !=. The default implementation is almost always sufficient, +and should not be overridden without very good reason.
    source§

    impl WaylandSurface for Window

    source§

    fn wl_surface(&self) -> &WlSurface

    The underlying WlSurface.
    source§

    fn attach(&self, buffer: Option<&WlBuffer>, x: u32, y: u32)

    source§

    fn set_opaque_region(&self, region: Option<&WlRegion>)

    source§

    fn set_input_region(&self, region: Option<&WlRegion>)

    source§

    fn set_buffer_transform(&self, transform: Transform) -> Result<(), Unsupported>

    source§

    fn set_buffer_scale(&self, scale: u32) -> Result<(), Unsupported>

    source§

    fn offset(&self, x: u32, y: u32) -> Result<(), Unsupported>

    source§

    fn commit(&self)

    Commits pending surface state. Read more
    source§

    impl XdgSurface for Window

    source§

    fn xdg_surface(&self) -> &XdgSurface

    The underlying XdgSurface.
    source§

    fn set_window_geometry(&self, x: u32, y: u32, width: u32, height: u32)

    Auto Trait Implementations§

    §

    impl Freeze for Window

    §

    impl !RefUnwindSafe for Window

    §

    impl Send for Window

    §

    impl Sync for Window

    §

    impl Unpin for Window

    §

    impl !UnwindSafe for Window

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/struct.WindowConfigure.html b/smithay_client_toolkit/shell/xdg/window/struct.WindowConfigure.html index 43aa9c51a..35c6a98c5 100644 --- a/smithay_client_toolkit/shell/xdg/window/struct.WindowConfigure.html +++ b/smithay_client_toolkit/shell/xdg/window/struct.WindowConfigure.html @@ -1,16 +1,16 @@ -WindowConfigure in smithay_client_toolkit::shell::xdg::window - Rust

    Struct smithay_client_toolkit::shell::xdg::window::WindowConfigure

    source ·
    #[non_exhaustive]
    pub struct WindowConfigure { - pub new_size: (Option<NonZeroU32>, Option<NonZeroU32>), - pub suggested_bounds: Option<(u32, u32)>, +WindowConfigure in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Struct WindowConfigure

    source
    #[non_exhaustive]
    pub struct WindowConfigure { + pub new_size: (Option<NonZeroU32>, Option<NonZeroU32>), + pub suggested_bounds: Option<(u32, u32)>, pub decoration_mode: DecorationMode, pub state: WindowState, pub capabilities: WindowManagerCapabilities, }
    Expand description

    A window configure.

    A configure describes a compositor request to resize the window or change it’s state.

    -

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (Option<NonZeroU32>, Option<NonZeroU32>)

    The compositor suggested new size of the window in window geometry coordinates.

    -

    If this value is None, you may set the size of the window as you wish.

    -
    §suggested_bounds: Option<(u32, u32)>

    Compositor suggested maximum bounds for a window.

    +

    Fields (Non-exhaustive)§

    This struct is marked as non-exhaustive
    Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
    §new_size: (Option<NonZeroU32>, Option<NonZeroU32>)

    The compositor suggested new size of the window in window geometry coordinates.

    +

    If this value is None, you may set the size of the window as you wish.

    +
    §suggested_bounds: Option<(u32, u32)>

    Compositor suggested maximum bounds for a window.

    This may be used to ensure a window is not created in a way where it will not fit.

    -

    If xdg-shell is version 3 or lower, this will always be None.

    +

    If xdg-shell is version 3 or lower, this will always be None.

    §decoration_mode: DecorationMode

    The compositor set decoration mode of the window.

    This will always be DecorationMode::Client if server side decorations are not enabled or supported.

    @@ -18,37 +18,37 @@

    For more see [WindowState] documentation on the flag values.

    §capabilities: WindowManagerCapabilities

    The capabilities supported by the compositor.

    For more see [WindowManagerCapabilities] documentation on the flag values.

    -

    Implementations§

    source§

    impl WindowConfigure

    source

    pub fn is_maximized(&self) -> bool

    Is [WindowState::MAXIMIZED] state is set.

    -
    source

    pub fn is_fullscreen(&self) -> bool

    Is [WindowState::FULLSCREEN] state is set.

    -
    source

    pub fn is_resizing(&self) -> bool

    Is [WindowState::RESIZING] state is set.

    -
    source

    pub fn is_tiled(&self) -> bool

    Is [WindowState::TILED] state is set.

    -
    source

    pub fn is_activated(&self) -> bool

    Is [WindowState::ACTIVATED] state is set.

    -
    source

    pub fn is_tiled_left(&self) -> bool

    Is [WindowState::TILED_LEFT] state is set.

    -
    source

    pub fn is_tiled_right(&self) -> bool

    Is [WindowState::TILED_RIGHT] state is set.

    -
    source

    pub fn is_tiled_top(&self) -> bool

    Is [WindowState::TILED_TOP] state is set.

    -
    source

    pub fn is_tiled_bottom(&self) -> bool

    Is [WindowState::TILED_BOTTOM] state is set.

    -

    Trait Implementations§

    source§

    impl Clone for WindowConfigure

    source§

    fn clone(&self) -> WindowConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Implementations§

    source§

    impl WindowConfigure

    source

    pub fn is_maximized(&self) -> bool

    Is [WindowState::MAXIMIZED] state is set.

    +
    source

    pub fn is_fullscreen(&self) -> bool

    Is [WindowState::FULLSCREEN] state is set.

    +
    source

    pub fn is_resizing(&self) -> bool

    Is [WindowState::RESIZING] state is set.

    +
    source

    pub fn is_tiled(&self) -> bool

    Is [WindowState::TILED] state is set.

    +
    source

    pub fn is_activated(&self) -> bool

    Is [WindowState::ACTIVATED] state is set.

    +
    source

    pub fn is_tiled_left(&self) -> bool

    Is [WindowState::TILED_LEFT] state is set.

    +
    source

    pub fn is_tiled_right(&self) -> bool

    Is [WindowState::TILED_RIGHT] state is set.

    +
    source

    pub fn is_tiled_top(&self) -> bool

    Is [WindowState::TILED_TOP] state is set.

    +
    source

    pub fn is_tiled_bottom(&self) -> bool

    Is [WindowState::TILED_BOTTOM] state is set.

    +

    Trait Implementations§

    source§

    impl Clone for WindowConfigure

    source§

    fn clone(&self) -> WindowConfigure

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowConfigure

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/struct.WindowData.html b/smithay_client_toolkit/shell/xdg/window/struct.WindowData.html index 6cbe05787..17f8168a2 100644 --- a/smithay_client_toolkit/shell/xdg/window/struct.WindowData.html +++ b/smithay_client_toolkit/shell/xdg/window/struct.WindowData.html @@ -1,58 +1,58 @@ -WindowData in smithay_client_toolkit::shell::xdg::window - Rust

    Struct smithay_client_toolkit::shell::xdg::window::WindowData

    source ·
    pub struct WindowData(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for WindowData

    source§

    fn clone(&self) -> WindowData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where +WindowData in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Struct WindowData

    source
    pub struct WindowData(/* private fields */);

    Trait Implementations§

    source§

    impl Clone for WindowData

    source§

    fn clone(&self) -> WindowData

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for WindowData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where D: Dispatch<XdgSurface, WindowData> + WindowHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, xdg_surface: &XdgSurface, event: Event, _: &WindowData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    source§

    impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where D: Dispatch<XdgToplevel, WindowData> + WindowHandler,

    source§

    fn event( - data: &mut D, + data: &mut D, toplevel: &XdgToplevel, event: Event, _: &WindowData, conn: &Connection, qh: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where D: Dispatch<ZxdgToplevelDecorationV1, WindowData> + WindowHandler,

    source§

    fn event( - _: &mut D, + _: &mut D, decoration: &ZxdgToplevelDecorationV1, event: Event, _: &WindowData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shell/xdg/window/trait.WindowHandler.html b/smithay_client_toolkit/shell/xdg/window/trait.WindowHandler.html index d9500b8a2..de5f6e07a 100644 --- a/smithay_client_toolkit/shell/xdg/window/trait.WindowHandler.html +++ b/smithay_client_toolkit/shell/xdg/window/trait.WindowHandler.html @@ -1,4 +1,4 @@ -WindowHandler in smithay_client_toolkit::shell::xdg::window - Rust

    Trait smithay_client_toolkit::shell::xdg::window::WindowHandler

    source ·
    pub trait WindowHandler: Sized {
    +WindowHandler in smithay_client_toolkit::shell::xdg::window - Rust
    smithay_client_toolkit::shell::xdg::window

    Trait WindowHandler

    source
    pub trait WindowHandler: Sized {
         // Required methods
         fn request_close(
             &mut self,
    @@ -12,7 +12,7 @@
             qh: &QueueHandle<Self>,
             window: &Window,
             configure: WindowConfigure,
    -        serial: u32,
    +        serial: u32,
         );
     }
    Expand description

    Handler for toplevel operations on a Window.

    Required Methods§

    source

    fn request_close( @@ -29,7 +29,7 @@ qh: &QueueHandle<Self>, window: &Window, configure: WindowConfigure, - serial: u32, + serial: u32, )

    Apply a suggested surface change.

    When this function is called, the compositor is requesting the window’s size or state to change.

    Internally this function is called when the underlying xdg_surface is configured. Any extension @@ -38,4 +38,4 @@

    §Double buffering

    Configure events in Wayland are considered to be double buffered and the state of the window does not change until committed.

    -

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/enum.CreatePoolError.html b/smithay_client_toolkit/shm/enum.CreatePoolError.html index baab12621..5cec19330 100644 --- a/smithay_client_toolkit/shm/enum.CreatePoolError.html +++ b/smithay_client_toolkit/shm/enum.CreatePoolError.html @@ -1,30 +1,30 @@ -CreatePoolError in smithay_client_toolkit::shm - Rust

    Enum smithay_client_toolkit::shm::CreatePoolError

    source ·
    pub enum CreatePoolError {
    +CreatePoolError in smithay_client_toolkit::shm - Rust
    smithay_client_toolkit::shm

    Enum CreatePoolError

    source
    pub enum CreatePoolError {
         Global(GlobalError),
    -    Create(Error),
    +    Create(Error),
     }
    Expand description

    An error that may occur when creating a pool.

    Variants§

    §

    Global(GlobalError)

    The wl_shm global is not bound.

    -
    §

    Create(Error)

    Error while allocating the shared memory.

    -

    Trait Implementations§

    source§

    impl Debug for CreatePoolError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreatePoolError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreatePoolError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreatePoolError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GlobalError> for CreatePoolError

    source§

    fn from(source: GlobalError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +
    §

    Create(Error)

    Error while allocating the shared memory.

    +

    Trait Implementations§

    source§

    impl Debug for CreatePoolError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreatePoolError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreatePoolError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreatePoolError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.
    source§

    impl From<GlobalError> for CreatePoolError

    source§

    fn from(source: GlobalError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/index.html b/smithay_client_toolkit/shm/index.html index 336545803..293ac992c 100644 --- a/smithay_client_toolkit/shm/index.html +++ b/smithay_client_toolkit/shm/index.html @@ -1 +1 @@ -smithay_client_toolkit::shm - Rust

    Module smithay_client_toolkit::shm

    source ·

    Modules§

    • A pool implementation which automatically manage buffers.
    • A raw shared memory pool handler.
    • A pool implementation based on buffer slots

    Structs§

    Enums§

    Traits§

    \ No newline at end of file +smithay_client_toolkit::shm - Rust
    smithay_client_toolkit

    Module shm

    source

    Modules§

    • A pool implementation which automatically manage buffers.
    • A raw shared memory pool handler.
    • A pool implementation based on buffer slots

    Structs§

    Enums§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/multi/enum.PoolError.html b/smithay_client_toolkit/shm/multi/enum.PoolError.html index ea72861e2..55ce3e93a 100644 --- a/smithay_client_toolkit/shm/multi/enum.PoolError.html +++ b/smithay_client_toolkit/shm/multi/enum.PoolError.html @@ -1,28 +1,28 @@ -PoolError in smithay_client_toolkit::shm::multi - Rust

    Enum smithay_client_toolkit::shm::multi::PoolError

    source ·
    pub enum PoolError {
    +PoolError in smithay_client_toolkit::shm::multi - Rust
    smithay_client_toolkit::shm::multi

    Enum PoolError

    source
    pub enum PoolError {
         InUse,
         Overlap,
         NotFound,
    -}

    Variants§

    §

    InUse

    §

    Overlap

    §

    NotFound

    Trait Implementations§

    source§

    impl Debug for PoolError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PoolError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PoolError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +}

    Variants§

    §

    InUse

    §

    Overlap

    §

    NotFound

    Trait Implementations§

    source§

    impl Debug for PoolError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for PoolError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for PoolError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/multi/index.html b/smithay_client_toolkit/shm/multi/index.html index 603542e91..f5bbef833 100644 --- a/smithay_client_toolkit/shm/multi/index.html +++ b/smithay_client_toolkit/shm/multi/index.html @@ -1,4 +1,4 @@ -smithay_client_toolkit::shm::multi - Rust

    Module smithay_client_toolkit::shm::multi

    source ·
    Expand description

    A pool implementation which automatically manage buffers.

    +smithay_client_toolkit::shm::multi - Rust
    smithay_client_toolkit::shm

    Module multi

    source
    Expand description

    A pool implementation which automatically manage buffers.

    This pool is built on the RawPool.

    The MultiPool takes a key which is used to identify buffers and tries to return the buffer associated to the key if possible. If no buffer in the pool is associated to the key, it will create a new one.

    diff --git a/smithay_client_toolkit/shm/multi/struct.BufferSlot.html b/smithay_client_toolkit/shm/multi/struct.BufferSlot.html index b08fc931c..72eee3a8d 100644 --- a/smithay_client_toolkit/shm/multi/struct.BufferSlot.html +++ b/smithay_client_toolkit/shm/multi/struct.BufferSlot.html @@ -1,28 +1,28 @@ -BufferSlot in smithay_client_toolkit::shm::multi - Rust

    Struct smithay_client_toolkit::shm::multi::BufferSlot

    source ·
    pub struct BufferSlot<K> { /* private fields */ }

    Implementations§

    source§

    impl<K> BufferSlot<K>

    source

    pub fn destroy(&self) -> Result<(), PoolError>

    Trait Implementations§

    source§

    impl<K: Debug> Debug for BufferSlot<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<K> Drop for BufferSlot<K>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<K> Error for BufferSlot<K>
    where - Self: Debug + Display,

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    §

    impl<K> Freeze for BufferSlot<K>
    where - K: Freeze,

    §

    impl<K> !RefUnwindSafe for BufferSlot<K>

    §

    impl<K> Send for BufferSlot<K>
    where - K: Send,

    §

    impl<K> Sync for BufferSlot<K>
    where - K: Sync,

    §

    impl<K> Unpin for BufferSlot<K>
    where - K: Unpin,

    §

    impl<K> !UnwindSafe for BufferSlot<K>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +BufferSlot in smithay_client_toolkit::shm::multi - Rust
    smithay_client_toolkit::shm::multi

    Struct BufferSlot

    source
    pub struct BufferSlot<K> { /* private fields */ }

    Implementations§

    source§

    impl<K> BufferSlot<K>

    source

    pub fn destroy(&self) -> Result<(), PoolError>

    Trait Implementations§

    source§

    impl<K: Debug> Debug for BufferSlot<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<K> Drop for BufferSlot<K>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<K> Error for BufferSlot<K>
    where + Self: Debug + Display,

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    §

    impl<K> Freeze for BufferSlot<K>
    where + K: Freeze,

    §

    impl<K> !RefUnwindSafe for BufferSlot<K>

    §

    impl<K> Send for BufferSlot<K>
    where + K: Send,

    §

    impl<K> Sync for BufferSlot<K>
    where + K: Sync,

    §

    impl<K> Unpin for BufferSlot<K>
    where + K: Unpin,

    §

    impl<K> !UnwindSafe for BufferSlot<K>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/multi/struct.MultiPool.html b/smithay_client_toolkit/shm/multi/struct.MultiPool.html index 8ce05b664..05474b028 100644 --- a/smithay_client_toolkit/shm/multi/struct.MultiPool.html +++ b/smithay_client_toolkit/shm/multi/struct.MultiPool.html @@ -1,23 +1,23 @@ -MultiPool in smithay_client_toolkit::shm::multi - Rust

    Struct smithay_client_toolkit::shm::multi::MultiPool

    source ·
    pub struct MultiPool<K> { /* private fields */ }
    Expand description

    This pool manages buffers associated with keys. +MultiPool in smithay_client_toolkit::shm::multi - Rust

    smithay_client_toolkit::shm::multi

    Struct MultiPool

    source
    pub struct MultiPool<K> { /* private fields */ }
    Expand description

    This pool manages buffers associated with keys. Only one buffer can be attributed to a given key.

    Implementations§

    source§

    impl<K> MultiPool<K>

    source

    pub fn new( shm: &impl ProvidesBoundGlobal<WlShm, 1>, -) -> Result<Self, CreatePoolError>

    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    +) -> Result<Self, CreatePoolError>
    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    The wl_shm protocol only allows the pool to be made bigger. If the new size is smaller than the current size of the pool, this function will do nothing.

    -
    source

    pub fn remove<Q>(&mut self, key: &Q) -> Option<BufferSlot<K>>
    where - Q: PartialEq, - K: Borrow<Q>,

    Removes the buffer with the given key from the pool and rearranges the others.

    +
    source

    pub fn remove<Q>(&mut self, key: &Q) -> Option<BufferSlot<K>>
    where + Q: PartialEq, + K: Borrow<Q>,

    Removes the buffer with the given key from the pool and rearranges the others.

    source

    pub fn insert<Q>( &mut self, - width: i32, - stride: i32, - height: i32, - key: &Q, + width: i32, + stride: i32, + height: i32, + key: &Q, format: Format, -) -> Result<usize, PoolError>
    where - K: Borrow<Q>, - Q: PartialEq + ToOwned<Owned = K>,

    Insert a buffer into the pool.

    +) -> Result<usize, PoolError>
    where + K: Borrow<Q>, + Q: PartialEq + ToOwned<Owned = K>,

    Insert a buffer into the pool.

    The parameters are:

    • width: the width of this buffer (in pixels)
    • @@ -28,14 +28,14 @@
    source

    pub fn get<Q>( &mut self, - width: i32, - stride: i32, - height: i32, - key: &Q, + width: i32, + stride: i32, + height: i32, + key: &Q, format: Format, -) -> Option<(usize, &WlBuffer, &mut [u8])>
    where - Q: PartialEq, - K: Borrow<Q>,

    Retreives the buffer associated with the given key.

    +) -> Option<(usize, &WlBuffer, &mut [u8])>
    where + Q: PartialEq, + K: Borrow<Q>,

    Retreives the buffer associated with the given key.

    The parameters are:

    • width: the width of this buffer (in pixels)
    • @@ -46,14 +46,14 @@
    source

    pub fn create_buffer<Q>( &mut self, - width: i32, - stride: i32, - height: i32, - key: &Q, + width: i32, + stride: i32, + height: i32, + key: &Q, format: Format, -) -> Result<(usize, &WlBuffer, &mut [u8]), PoolError>
    where - K: Borrow<Q>, - Q: PartialEq + ToOwned<Owned = K>,

    Returns the buffer associated with the given key and its offset (usize) in the mempool.

    +) -> Result<(usize, &WlBuffer, &mut [u8]), PoolError>
    where + K: Borrow<Q>, + Q: PartialEq + ToOwned<Owned = K>,

    Returns the buffer associated with the given key and its offset (usize) in the mempool.

    The parameters are:

    • width: the width of this buffer (in pixels)
    • @@ -64,29 +64,29 @@

    The offset can be used to determine whether or not a buffer was moved in the mempool and by consequence if it should be damaged partially or fully.

    -

    Trait Implementations§

    source§

    impl<K: Debug> Debug for MultiPool<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<K> Freeze for MultiPool<K>

    §

    impl<K> !RefUnwindSafe for MultiPool<K>

    §

    impl<K> Send for MultiPool<K>
    where - K: Send,

    §

    impl<K> Sync for MultiPool<K>
    where - K: Sync,

    §

    impl<K> Unpin for MultiPool<K>
    where - K: Unpin,

    §

    impl<K> !UnwindSafe for MultiPool<K>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl<K: Debug> Debug for MultiPool<K>

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    §

    impl<K> Freeze for MultiPool<K>

    §

    impl<K> !RefUnwindSafe for MultiPool<K>

    §

    impl<K> Send for MultiPool<K>
    where + K: Send,

    §

    impl<K> Sync for MultiPool<K>
    where + K: Sync,

    §

    impl<K> Unpin for MultiPool<K>
    where + K: Unpin,

    §

    impl<K> !UnwindSafe for MultiPool<K>

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/raw/index.html b/smithay_client_toolkit/shm/raw/index.html index 9223f1c46..7cf410ef2 100644 --- a/smithay_client_toolkit/shm/raw/index.html +++ b/smithay_client_toolkit/shm/raw/index.html @@ -1,4 +1,4 @@ -smithay_client_toolkit::shm::raw - Rust

    Module smithay_client_toolkit::shm::raw

    source ·
    Expand description

    A raw shared memory pool handler.

    +smithay_client_toolkit::shm::raw - Rust
    smithay_client_toolkit::shm

    Module raw

    source
    Expand description

    A raw shared memory pool handler.

    This is intended as a safe building block for higher level shared memory pool abstractions and is not encouraged for most library users.

    Structs§

    • A raw handler for file backed shared memory pools.
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/raw/struct.RawPool.html b/smithay_client_toolkit/shm/raw/struct.RawPool.html index 926ac1778..4852f3b9e 100644 --- a/smithay_client_toolkit/shm/raw/struct.RawPool.html +++ b/smithay_client_toolkit/shm/raw/struct.RawPool.html @@ -1,26 +1,26 @@ -RawPool in smithay_client_toolkit::shm::raw - Rust

    Struct smithay_client_toolkit::shm::raw::RawPool

    source ·
    pub struct RawPool { /* private fields */ }
    Expand description

    A raw handler for file backed shared memory pools.

    +RawPool in smithay_client_toolkit::shm::raw - Rust
    smithay_client_toolkit::shm::raw

    Struct RawPool

    source
    pub struct RawPool { /* private fields */ }
    Expand description

    A raw handler for file backed shared memory pools.

    This type of pool will create the SHM memory pool and provide a way to resize the pool.

    This pool does not release buffers. If you need this, use one of the higher level pools.

    Implementations§

    source§

    impl RawPool

    source

    pub fn new( - len: usize, + len: usize, shm: &impl ProvidesBoundGlobal<WlShm, 1>, -) -> Result<RawPool, CreatePoolError>

    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    +) -> Result<RawPool, CreatePoolError>
    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    The wl_shm protocol only allows the pool to be made bigger. If the new size is smaller than the current size of the pool, this function will do nothing.

    source

    pub fn mmap(&mut self) -> &mut MmapMut

    Returns a reference to the underlying shared memory file using the memmap2 crate.

    -
    source

    pub fn len(&self) -> usize

    Returns the size of the mempool

    +
    source

    pub fn len(&self) -> usize

    Returns the size of the mempool

    source

    pub fn create_buffer<D, U>( &mut self, - offset: i32, - width: i32, - height: i32, - stride: i32, + offset: i32, + width: i32, + height: i32, + stride: i32, format: Format, udata: U, qh: &QueueHandle<D>, ) -> WlBuffer
    where D: Dispatch<WlBuffer, U> + 'static, - U: Send + Sync + 'static,

    Create a new buffer to this pool.

    + U: Send + Sync + 'static,

    Create a new buffer to this pool.

    §Parameters
    • offset: the offset (in bytes) from the beginning of the pool at which this buffer starts.
    • @@ -31,43 +31,43 @@
      §ParametersThe encoding format of the pixels must be supported by the compositor or else a protocol error is risen. You can ensure the format is supported by listening to Shm::formats.

      Note this function only creates the wl_buffer object, you will need to write to the pixels using the -io::Write implementation or RawPool::mmap.

      +io::Write implementation or RawPool::mmap.

    source

    pub fn create_buffer_raw( &mut self, - offset: i32, - width: i32, - height: i32, - stride: i32, + offset: i32, + width: i32, + height: i32, + stride: i32, format: Format, - data: Arc<dyn ObjectData + 'static>, + data: Arc<dyn ObjectData + 'static>, ) -> WlBuffer

    Create a new buffer to this pool.

    This is identical to Self::create_buffer, but allows using a custom [ObjectData] implementation instead of relying on the [Dispatch] interface.

    source

    pub fn pool(&self) -> &WlShmPool

    Returns the pool object used to communicate with the server.

    -

    Trait Implementations§

    source§

    impl Debug for RawPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for RawPool

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Seek for RawPool

    source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64>

    Seek to an offset, in bytes, in a stream. Read more
    1.55.0 · source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    1.51.0 · source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    1.80.0 · source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    source§

    impl Write for RawPool

    source§

    fn write(&mut self, buf: &[u8]) -> Result<usize>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    source§

    fn flush(&mut self) -> Result<()>

    Flushes this output stream, ensuring that all intermediately buffered -contents reach their destination. Read more
    1.36.0 · source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored -implementation. Read more
    1.0.0 · source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    1.0.0 · source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error -encountered. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where - Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Debug for RawPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for RawPool

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl Seek for RawPool

    source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64>

    Seek to an offset, in bytes, in a stream. Read more
    1.55.0 · source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    1.51.0 · source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    1.80.0 · source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    source§

    impl Write for RawPool

    source§

    fn write(&mut self, buf: &[u8]) -> Result<usize>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    source§

    fn flush(&mut self) -> Result<()>

    Flushes this output stream, ensuring that all intermediately buffered +contents reach their destination. Read more
    1.36.0 · source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored +implementation. Read more
    1.0.0 · source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    1.0.0 · source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error +encountered. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where + Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/enum.ActivateSlotError.html b/smithay_client_toolkit/shm/slot/enum.ActivateSlotError.html index b0e60e7b2..a5d5282a0 100644 --- a/smithay_client_toolkit/shm/slot/enum.ActivateSlotError.html +++ b/smithay_client_toolkit/shm/slot/enum.ActivateSlotError.html @@ -1,27 +1,27 @@ -ActivateSlotError in smithay_client_toolkit::shm::slot - Rust
    pub enum ActivateSlotError {
    +ActivateSlotError in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Enum ActivateSlotError

    source
    pub enum ActivateSlotError {
         AlreadyActive,
     }

    Variants§

    §

    AlreadyActive

    Buffer was already active

    -

    Trait Implementations§

    source§

    impl Debug for ActivateSlotError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ActivateSlotError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ActivateSlotError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Debug for ActivateSlotError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ActivateSlotError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for ActivateSlotError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/enum.CreateBufferError.html b/smithay_client_toolkit/shm/slot/enum.CreateBufferError.html index 14feddee9..5205b2235 100644 --- a/smithay_client_toolkit/shm/slot/enum.CreateBufferError.html +++ b/smithay_client_toolkit/shm/slot/enum.CreateBufferError.html @@ -1,31 +1,31 @@ -CreateBufferError in smithay_client_toolkit::shm::slot - Rust
    pub enum CreateBufferError {
    -    Io(Error),
    +CreateBufferError in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Enum CreateBufferError

    source
    pub enum CreateBufferError {
    +    Io(Error),
         PoolMismatch,
         SlotTooSmall,
    -}

    Variants§

    §

    Io(Error)

    Slot creation error.

    +}

    Variants§

    §

    Io(Error)

    Slot creation error.

    §

    PoolMismatch

    Pool mismatch.

    §

    SlotTooSmall

    Slot size mismatch

    -

    Trait Implementations§

    source§

    impl Debug for CreateBufferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBufferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBufferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreateBufferError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Debug for CreateBufferError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for CreateBufferError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for CreateBufferError

    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    source§

    impl From<Error> for CreateBufferError

    source§

    fn from(source: Error) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToString for T
    where - T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/index.html b/smithay_client_toolkit/shm/slot/index.html index eaf20251e..a9d2a75b2 100644 --- a/smithay_client_toolkit/shm/slot/index.html +++ b/smithay_client_toolkit/shm/slot/index.html @@ -1,2 +1,2 @@ -smithay_client_toolkit::shm::slot - Rust

    Module smithay_client_toolkit::shm::slot

    source ·
    Expand description

    A pool implementation based on buffer slots

    +smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm

    Module slot

    source
    Expand description

    A pool implementation based on buffer slots

    Structs§

    Enums§

    Traits§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/struct.Buffer.html b/smithay_client_toolkit/shm/slot/struct.Buffer.html index bad1ec492..f9c52176a 100644 --- a/smithay_client_toolkit/shm/slot/struct.Buffer.html +++ b/smithay_client_toolkit/shm/slot/struct.Buffer.html @@ -1,46 +1,46 @@ -Buffer in smithay_client_toolkit::shm::slot - Rust

    Struct smithay_client_toolkit::shm::slot::Buffer

    source ·
    pub struct Buffer { /* private fields */ }
    Expand description

    A wrapper around a [wl_buffer::WlBuffer] which has been allocated via a SlotPool.

    +Buffer in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Struct Buffer

    source
    pub struct Buffer { /* private fields */ }
    Expand description

    A wrapper around a [wl_buffer::WlBuffer] which has been allocated via a SlotPool.

    When this object is dropped, the buffer will be destroyed immediately if it is not active, or upon the server’s release if it is.

    -

    Implementations§

    source§

    impl Buffer

    source

    pub fn attach_to(&self, surface: &WlSurface) -> Result<(), ActivateSlotError>

    Attach a buffer to a surface.

    +

    Implementations§

    source§

    impl Buffer

    source

    pub fn attach_to(&self, surface: &WlSurface) -> Result<(), ActivateSlotError>

    Attach a buffer to a surface.

    This marks the slot as active until the server releases the buffer, which will happen automatically assuming the surface is committed without attaching a different buffer.

    Note: if you need to ensure that canvas() calls never return data that could be attached to a surface in a multi-threaded client, make this call while you have exclusive access to the corresponding SlotPool.

    source

    pub fn wl_buffer(&self) -> &WlBuffer

    Get the inner buffer.

    -
    source

    pub fn height(&self) -> i32

    source

    pub fn stride(&self) -> i32

    source

    pub fn canvas<'pool>( +

    source

    pub fn height(&self) -> i32

    source

    pub fn stride(&self) -> i32

    source

    pub fn canvas<'pool>( &self, pool: &'pool mut SlotPool, -) -> Option<&'pool mut [u8]>

    Get the bytes corresponding to this buffer if drawing is permitted.

    +) -> Option<&'pool mut [u8]>

    Get the bytes corresponding to this buffer if drawing is permitted.

    This may be smaller than the canvas associated with the slot.

    source

    pub fn slot(&self) -> Slot

    Get the slot corresponding to this buffer.

    -
    source

    pub fn activate(&self) -> Result<(), ActivateSlotError>

    Manually mark a buffer as active.

    +
    source

    pub fn activate(&self) -> Result<(), ActivateSlotError>

    Manually mark a buffer as active.

    An active buffer prevents drawing on its slot until a Release event is received or until manually deactivated.

    -
    source

    pub fn deactivate(&self) -> Result<(), ActivateSlotError>

    Manually mark a buffer as inactive.

    +
    source

    pub fn deactivate(&self) -> Result<(), ActivateSlotError>

    Manually mark a buffer as inactive.

    This should be used when the buffer was manually marked as active or when a buffer was attached to a surface but not committed. Calling this function on a buffer that was committed to a surface risks making the surface contents undefined.

    -

    Trait Implementations§

    source§

    impl CanvasKey for Buffer

    source§

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    source§

    impl Debug for Buffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Buffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Buffer

    §

    impl !RefUnwindSafe for Buffer

    §

    impl Send for Buffer

    §

    impl Sync for Buffer

    §

    impl Unpin for Buffer

    §

    impl !UnwindSafe for Buffer

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl CanvasKey for Buffer

    source§

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    source§

    impl Debug for Buffer

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Buffer

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Buffer

    §

    impl !RefUnwindSafe for Buffer

    §

    impl Send for Buffer

    §

    impl Sync for Buffer

    §

    impl Unpin for Buffer

    §

    impl !UnwindSafe for Buffer

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/struct.Slot.html b/smithay_client_toolkit/shm/slot/struct.Slot.html index eb378be16..8e9cb1a28 100644 --- a/smithay_client_toolkit/shm/slot/struct.Slot.html +++ b/smithay_client_toolkit/shm/slot/struct.Slot.html @@ -1,37 +1,37 @@ -Slot in smithay_client_toolkit::shm::slot - Rust

    Struct smithay_client_toolkit::shm::slot::Slot

    source ·
    pub struct Slot { /* private fields */ }
    Expand description

    A chunk of memory allocated from a SlotPool

    +Slot in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Struct Slot

    source
    pub struct Slot { /* private fields */ }
    Expand description

    A chunk of memory allocated from a SlotPool

    Retaining this object is only required if you wish to resize or change the buffer’s format without changing the contents of the backing memory.

    -

    Implementations§

    source§

    impl Slot

    source

    pub fn has_active_buffers(&self) -> bool

    Return true if there are buffers referencing this slot whose contents are being accessed +

    Implementations§

    source§

    impl Slot

    source

    pub fn has_active_buffers(&self) -> bool

    Return true if there are buffers referencing this slot whose contents are being accessed by the server.

    -
    source

    pub fn len(&self) -> usize

    Returns the size, in bytes, of this slot.

    +
    source

    pub fn len(&self) -> usize

    Returns the size, in bytes, of this slot.

    source

    pub fn canvas<'pool>( &self, pool: &'pool mut SlotPool, -) -> Option<&'pool mut [u8]>

    Get the bytes corresponding to a given slot if drawing to the slot is permitted.

    +) -> Option<&'pool mut [u8]>

    Get the bytes corresponding to a given slot if drawing to the slot is permitted.

    Returns None if there are active buffers in the slot or if the slot does not correspond to this pool.

    -

    Trait Implementations§

    source§

    impl CanvasKey for Slot

    source§

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    source§

    impl Clone for Slot

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Slot

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Slot

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Slot

    §

    impl RefUnwindSafe for Slot

    §

    impl Send for Slot

    §

    impl Sync for Slot

    §

    impl Unpin for Slot

    §

    impl UnwindSafe for Slot

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where - T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl CanvasKey for Slot

    source§

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    source§

    impl Clone for Slot

    source§

    fn clone(&self) -> Self

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Slot

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Drop for Slot

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more

    Auto Trait Implementations§

    §

    impl Freeze for Slot

    §

    impl RefUnwindSafe for Slot

    §

    impl Send for Slot

    §

    impl Sync for Slot

    §

    impl Unpin for Slot

    §

    impl UnwindSafe for Slot

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> CloneToUninit for T
    where + T: Clone,

    source§

    unsafe fn clone_to_uninit(&self, dst: *mut T)

    🔬This is a nightly-only experimental API. (clone_to_uninit)
    Performs copy-assignment from self to dst. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where - T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    source§

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/struct.SlotPool.html b/smithay_client_toolkit/shm/slot/struct.SlotPool.html index af4d69f72..3f057a68d 100644 --- a/smithay_client_toolkit/shm/slot/struct.SlotPool.html +++ b/smithay_client_toolkit/shm/slot/struct.SlotPool.html @@ -1,13 +1,13 @@ -SlotPool in smithay_client_toolkit::shm::slot - Rust

    Struct smithay_client_toolkit::shm::slot::SlotPool

    source ·
    pub struct SlotPool { /* private fields */ }

    Implementations§

    source§

    impl SlotPool

    source

    pub fn new( - len: usize, +SlotPool in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Struct SlotPool

    source
    pub struct SlotPool { /* private fields */ }

    Implementations§

    source§

    impl SlotPool

    source

    pub fn new( + len: usize, shm: &impl ProvidesBoundGlobal<WlShm, 1>, -) -> Result<Self, CreatePoolError>

    source

    pub fn create_buffer( +) -> Result<Self, CreatePoolError>

    source

    pub fn create_buffer( &mut self, - width: i32, - height: i32, - stride: i32, + width: i32, + height: i32, + stride: i32, format: Format, -) -> Result<(Buffer, &mut [u8]), CreateBufferError>

    Create a new buffer in a new slot.

    +) -> Result<(Buffer, &mut [u8]), CreateBufferError>

    Create a new buffer in a new slot.

    This returns the buffer and the canvas. The parameters are:

    • width: the width of this buffer (in pixels)
    • @@ -22,25 +22,25 @@ is required if you wish to change formats, buffer dimensions, or attach a canvas to multiple surfaces.

      For more control over sizing, use Self::new_slot and Self::create_buffer_in.

      -
    source

    pub fn canvas(&mut self, key: &impl CanvasKey) -> Option<&mut [u8]>

    Get the bytes corresponding to a given slot or buffer if drawing to the slot is permitted.

    +
    source

    pub fn canvas(&mut self, key: &impl CanvasKey) -> Option<&mut [u8]>

    Get the bytes corresponding to a given slot or buffer if drawing to the slot is permitted.

    Returns None if there are active buffers in the slot or if the slot does not correspond to this pool.

    -
    source

    pub fn len(&self) -> usize

    Returns the size, in bytes, of this pool.

    -
    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    +
    source

    pub fn len(&self) -> usize

    Returns the size, in bytes, of this pool.

    +
    source

    pub fn resize(&mut self, size: usize) -> Result<()>

    Resizes the memory pool, notifying the server the pool has changed in size.

    This is an optimization; the pool automatically resizes when you allocate new slots.

    -
    source

    pub fn new_slot(&mut self, len: usize) -> Result<Slot>

    Create a new slot with the given size in bytes.

    -
    source

    pub fn raw_data_mut(&mut self, slot: &Slot) -> &mut [u8]

    Get the bytes corresponding to a given slot.

    +
    source

    pub fn new_slot(&mut self, len: usize) -> Result<Slot>

    Create a new slot with the given size in bytes.

    +
    source

    pub fn raw_data_mut(&mut self, slot: &Slot) -> &mut [u8]

    Get the bytes corresponding to a given slot.

    Note: prefer using Self::canvas, which will prevent drawing to a buffer that has not been released by the server.

    Returns an empty buffer if the slot does not belong to this pool.

    source

    pub fn create_buffer_in( &mut self, slot: &Slot, - width: i32, - height: i32, - stride: i32, + width: i32, + height: i32, + stride: i32, format: Format, -) -> Result<Buffer, CreateBufferError>

    Create a new buffer corresponding to a slot.

    +) -> Result<Buffer, CreateBufferError>

    Create a new buffer corresponding to a slot.

    The parameters are:

    • width: the width of this buffer (in pixels)
    • @@ -50,26 +50,26 @@ advertised to the wl_shm global by the server is a protocol error and will terminate your connection
    -

    Trait Implementations§

    source§

    impl Debug for SlotPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +

    Trait Implementations§

    source§

    impl Debug for SlotPool

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a -[WithDispatch] wrapper. Read more
    \ No newline at end of file +[WithDispatch] wrapper. Read more \ No newline at end of file diff --git a/smithay_client_toolkit/shm/slot/trait.CanvasKey.html b/smithay_client_toolkit/shm/slot/trait.CanvasKey.html index f99404d04..504a0e40c 100644 --- a/smithay_client_toolkit/shm/slot/trait.CanvasKey.html +++ b/smithay_client_toolkit/shm/slot/trait.CanvasKey.html @@ -1,8 +1,8 @@ -CanvasKey in smithay_client_toolkit::shm::slot - Rust

    Trait smithay_client_toolkit::shm::slot::CanvasKey

    source ·
    pub trait CanvasKey {
    +CanvasKey in smithay_client_toolkit::shm::slot - Rust
    smithay_client_toolkit::shm::slot

    Trait CanvasKey

    source
    pub trait CanvasKey {
         // Required method
         fn canvas<'pool>(
             &self,
             pool: &'pool mut SlotPool,
    -    ) -> Option<&'pool mut [u8]>;
    +    ) -> Option<&'pool mut [u8]>;
     }
    Expand description

    A helper trait for SlotPool::canvas.

    -

    Required Methods§

    source

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    Implementors§

    \ No newline at end of file +

    Required Methods§

    source

    fn canvas<'pool>(&self, pool: &'pool mut SlotPool) -> Option<&'pool mut [u8]>

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/struct.Shm.html b/smithay_client_toolkit/shm/struct.Shm.html index f691c5aba..d346ecd3f 100644 --- a/smithay_client_toolkit/shm/struct.Shm.html +++ b/smithay_client_toolkit/shm/struct.Shm.html @@ -1,39 +1,39 @@ -Shm in smithay_client_toolkit::shm - Rust

    Struct smithay_client_toolkit::shm::Shm

    source ·
    pub struct Shm { /* private fields */ }

    Implementations§

    source§

    impl Shm

    source

    pub fn bind<State>( +Shm in smithay_client_toolkit::shm - Rust
    smithay_client_toolkit::shm

    Struct Shm

    source
    pub struct Shm { /* private fields */ }

    Implementations§

    source§

    impl Shm

    source

    pub fn bind<State>( globals: &GlobalList, qh: &QueueHandle<State>, -) -> Result<Shm, BindError>
    where +) -> Result<Shm, BindError>
    where State: Dispatch<WlShm, GlobalData, State> + ShmHandler + 'static,

    source

    pub fn wl_shm(&self) -> &WlShm

    source

    pub fn formats(&self) -> &[Format]

    Returns the formats supported in memory pools.

    -

    Trait Implementations§

    source§

    impl Debug for Shm

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlShm, GlobalData, D> for Shm
    where +

    Trait Implementations§

    source§

    impl Debug for Shm

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlShm, GlobalData, D> for Shm
    where D: Dispatch<WlShm, GlobalData> + ShmHandler,

    source§

    fn event( - state: &mut D, + state: &mut D, _proxy: &WlShm, event: Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl From<WlShm> for Shm

    source§

    fn from(wl_shm: WlShm) -> Self

    Converts to this type from the input type.
    source§

    impl ProvidesBoundGlobal<WlShm, 1> for Shm

    Auto Trait Implementations§

    §

    impl Freeze for Shm

    §

    impl !RefUnwindSafe for Shm

    §

    impl Send for Shm

    §

    impl Sync for Shm

    §

    impl Unpin for Shm

    §

    impl !UnwindSafe for Shm

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more
    source§

    impl From<WlShm> for Shm

    source§

    fn from(wl_shm: WlShm) -> Self

    Converts to this type from the input type.
    source§

    impl ProvidesBoundGlobal<WlShm, 1> for Shm

    Auto Trait Implementations§

    §

    impl Freeze for Shm

    §

    impl !RefUnwindSafe for Shm

    §

    impl Send for Shm

    §

    impl Sync for Shm

    §

    impl Unpin for Shm

    §

    impl !UnwindSafe for Shm

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/shm/trait.ShmHandler.html b/smithay_client_toolkit/shm/trait.ShmHandler.html index 54a205561..c7cccfff2 100644 --- a/smithay_client_toolkit/shm/trait.ShmHandler.html +++ b/smithay_client_toolkit/shm/trait.ShmHandler.html @@ -1,4 +1,4 @@ -ShmHandler in smithay_client_toolkit::shm - Rust

    Trait smithay_client_toolkit::shm::ShmHandler

    source ·
    pub trait ShmHandler {
    +ShmHandler in smithay_client_toolkit::shm - Rust
    smithay_client_toolkit::shm

    Trait ShmHandler

    source
    pub trait ShmHandler {
         // Required method
         fn shm_state(&mut self) -> &mut Shm;
     }

    Required Methods§

    source

    fn shm_state(&mut self) -> &mut Shm

    Implementors§

    \ No newline at end of file diff --git a/smithay_client_toolkit/subcompositor/index.html b/smithay_client_toolkit/subcompositor/index.html index 32e1f7135..18338cfa6 100644 --- a/smithay_client_toolkit/subcompositor/index.html +++ b/smithay_client_toolkit/subcompositor/index.html @@ -1 +1 @@ -smithay_client_toolkit::subcompositor - Rust

    Module smithay_client_toolkit::subcompositor

    source ·

    Structs§

    \ No newline at end of file +smithay_client_toolkit::subcompositor - Rust
    smithay_client_toolkit

    Module subcompositor

    source

    Structs§

    \ No newline at end of file diff --git a/smithay_client_toolkit/subcompositor/struct.SubcompositorState.html b/smithay_client_toolkit/subcompositor/struct.SubcompositorState.html index 88396de95..dd580168c 100644 --- a/smithay_client_toolkit/subcompositor/struct.SubcompositorState.html +++ b/smithay_client_toolkit/subcompositor/struct.SubcompositorState.html @@ -1,8 +1,8 @@ -SubcompositorState in smithay_client_toolkit::subcompositor - Rust
    pub struct SubcompositorState { /* private fields */ }

    Implementations§

    source§

    impl SubcompositorState

    source

    pub fn bind<State>( +SubcompositorState in smithay_client_toolkit::subcompositor - Rust
    smithay_client_toolkit::subcompositor

    Struct SubcompositorState

    source
    pub struct SubcompositorState { /* private fields */ }

    Implementations§

    source§

    impl SubcompositorState

    source

    pub fn bind<State>( compositor: WlCompositor, globals: &GlobalList, queue_handle: &QueueHandle<State>, -) -> Result<Self, BindError>
    where +) -> Result<Self, BindError>
    where State: Dispatch<WlSubcompositor, GlobalData, State> + 'static,

    source

    pub fn create_subsurface<State>( &self, parent: WlSurface, @@ -12,49 +12,49 @@ &self, surface: &WlSurface, queue_handle: &QueueHandle<State>, -) -> Option<WlSubsurface>
    where - State: Dispatch<WlSurface, SurfaceData> + Dispatch<WlSubsurface, SubsurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Debug for SubcompositorState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
    where +) -> Option<WlSubsurface>
    where + State: Dispatch<WlSurface, SurfaceData> + Dispatch<WlSubsurface, SubsurfaceData> + 'static,

    Trait Implementations§

    source§

    impl Debug for SubcompositorState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
    where D: Dispatch<WlSubcompositor, GlobalData>,

    source§

    fn event( - _: &mut D, + _: &mut D, _: &WlSubcompositor, _: <WlSubcompositor as Proxy>::Event, _: &GlobalData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where +) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more
    source§

    impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where D: Dispatch<WlSubsurface, SubsurfaceData>,

    source§

    fn event( - _: &mut D, + _: &mut D, _: &WlSubsurface, _: <WlSubsurface as Proxy>::Event, _: &SubsurfaceData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/smithay_client_toolkit/subcompositor/struct.SubsurfaceData.html b/smithay_client_toolkit/subcompositor/struct.SubsurfaceData.html index a5099f85f..a15f15636 100644 --- a/smithay_client_toolkit/subcompositor/struct.SubsurfaceData.html +++ b/smithay_client_toolkit/subcompositor/struct.SubsurfaceData.html @@ -1,36 +1,36 @@ -SubsurfaceData in smithay_client_toolkit::subcompositor - Rust
    pub struct SubsurfaceData { /* private fields */ }
    Expand description

    The data assoctiated with the subsurface.

    +SubsurfaceData in smithay_client_toolkit::subcompositor - Rust
    smithay_client_toolkit::subcompositor

    Struct SubsurfaceData

    source
    pub struct SubsurfaceData { /* private fields */ }
    Expand description

    The data assoctiated with the subsurface.

    Implementations§

    source§

    impl SubsurfaceData

    source

    pub fn surface(&self) -> &WlSurface

    Get the surface used when creating the given subsurface.

    -

    Trait Implementations§

    source§

    impl Debug for SubsurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where +

    Trait Implementations§

    source§

    impl Debug for SubsurfaceData

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where D: Dispatch<WlSubsurface, SubsurfaceData>,

    source§

    fn event( - _: &mut D, + _: &mut D, _: &WlSubsurface, _: <WlSubsurface as Proxy>::Event, _: &SubsurfaceData, _: &Connection, _: &QueueHandle<D>, )

    Called when an event from the server is processed Read more
    §

    fn event_created_child( - opcode: u16, + opcode: u16, _qhandle: &QueueHandle<State>, -) -> Arc<dyn ObjectData>

    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where - T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can -then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be -further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot -generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +) -> Arc<dyn ObjectData>
    Method used to initialize the user-data of objects created by events Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<T> Downcast for T
    where + T: Any,

    §

    fn into_any(self: Box<T>) -> Box<dyn Any>

    Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can +then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
    §

    fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

    Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be +further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
    §

    fn as_any(&self) -> &(dyn Any + 'static)

    Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot +generate &Any’s vtable from &Trait’s.
    §

    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

    Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
    §

    impl<T> DowncastSync for T
    where - T: Any + Send + Sync,

    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be -further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    + T: Any + Send + Sync,
    §

    fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

    Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be +further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    §

    impl<T> Instrument for T

    §

    fn instrument(self, span: Span) -> Instrumented<Self>

    Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
    §

    fn in_current_span(self) -> Instrumented<Self>

    Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +Instrumented wrapper. Read more
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where - S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    source§

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    source§

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> WithSubscriber for T

    §

    fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
    where + S: Into<Dispatch>,

    Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    §

    fn with_current_subscriber(self) -> WithDispatch<Self>

    Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
    \ No newline at end of file diff --git a/src/smithay_client_toolkit/activation.rs.html b/src/smithay_client_toolkit/activation.rs.html index 9688af89c..3a733e0f1 100644 --- a/src/smithay_client_toolkit/activation.rs.html +++ b/src/smithay_client_toolkit/activation.rs.html @@ -1,4 +1,5 @@ -activation.rs - source
    1
    +activation.rs - source

    smithay_client_toolkit/
    activation.rs

    +1
     2
     3
     4
    @@ -197,8 +198,7 @@
     197
     198
     199
    -200
    -
    use wayland_client::{
    +200
    use wayland_client::{
         globals::{BindError, GlobalList},
         protocol::{wl_seat, wl_surface},
         Dispatch, Proxy, QueueHandle,
    diff --git a/src/smithay_client_toolkit/compositor.rs.html b/src/smithay_client_toolkit/compositor.rs.html
    index bbede554c..169fd6244 100644
    --- a/src/smithay_client_toolkit/compositor.rs.html
    +++ b/src/smithay_client_toolkit/compositor.rs.html
    @@ -1,4 +1,5 @@
    -compositor.rs - source
    1
    +compositor.rs - source

    smithay_client_toolkit/
    compositor.rs

    +1
     2
     3
     4
    @@ -525,8 +526,7 @@
     525
     526
     527
    -528
    -
    use std::mem;
    +528
    use std::mem;
     use std::os::unix::io::OwnedFd;
     use std::sync::MutexGuard;
     use std::sync::{
    diff --git a/src/smithay_client_toolkit/data_device_manager/data_device.rs.html b/src/smithay_client_toolkit/data_device_manager/data_device.rs.html
    index 9e55c197c..57789cc55 100644
    --- a/src/smithay_client_toolkit/data_device_manager/data_device.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/data_device.rs.html
    @@ -1,4 +1,5 @@
    -data_device.rs - source
    1
    +data_device.rs - source

    smithay_client_toolkit/data_device_manager/
    data_device.rs

    +1
     2
     3
     4
    @@ -263,8 +264,7 @@
     263
     264
     265
    -266
    -
    use std::{
    +266
    use std::{
         ops::DerefMut,
         sync::{Arc, Mutex},
     };
    diff --git a/src/smithay_client_toolkit/data_device_manager/data_offer.rs.html b/src/smithay_client_toolkit/data_device_manager/data_offer.rs.html
    index bfd426e4e..5791b3630 100644
    --- a/src/smithay_client_toolkit/data_device_manager/data_offer.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/data_offer.rs.html
    @@ -1,4 +1,5 @@
    -data_offer.rs - source
    1
    +data_offer.rs - source

    smithay_client_toolkit/data_device_manager/
    data_offer.rs

    +1
     2
     3
     4
    @@ -460,8 +461,7 @@
     460
     461
     462
    -463
    -
    use std::{
    +463
    use std::{
         ops::{Deref, DerefMut},
         os::unix::prelude::{AsFd, OwnedFd},
         sync::{Arc, Mutex},
    diff --git a/src/smithay_client_toolkit/data_device_manager/data_source.rs.html b/src/smithay_client_toolkit/data_device_manager/data_source.rs.html
    index ae6955cf7..c4f50a6cf 100644
    --- a/src/smithay_client_toolkit/data_device_manager/data_source.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/data_source.rs.html
    @@ -1,4 +1,5 @@
    -data_source.rs - source
    1
    +data_source.rs - source

    smithay_client_toolkit/data_device_manager/
    data_source.rs

    +1
     2
     3
     4
    @@ -180,8 +181,7 @@
     180
     181
     182
    -183
    -
    use crate::reexports::client::{
    +183
    use crate::reexports::client::{
         protocol::{
             wl_data_device_manager::DndAction,
             wl_data_source::{self, WlDataSource},
    diff --git a/src/smithay_client_toolkit/data_device_manager/mod.rs.html b/src/smithay_client_toolkit/data_device_manager/mod.rs.html
    index 9e4f716c3..e988cc61c 100644
    --- a/src/smithay_client_toolkit/data_device_manager/mod.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/data_device_manager/
    mod.rs

    +1
     2
     3
     4
    @@ -146,8 +147,7 @@
     146
     147
     148
    -149
    -
    use crate::error::GlobalError;
    +149
    use crate::error::GlobalError;
     use crate::globals::{GlobalData, ProvidesBoundGlobal};
     use crate::reexports::client::{
         globals::{BindError, GlobalList},
    diff --git a/src/smithay_client_toolkit/data_device_manager/read_pipe.rs.html b/src/smithay_client_toolkit/data_device_manager/read_pipe.rs.html
    index d812c4f04..56bf42eb2 100644
    --- a/src/smithay_client_toolkit/data_device_manager/read_pipe.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/read_pipe.rs.html
    @@ -1,4 +1,5 @@
    -read_pipe.rs - source
    1
    +read_pipe.rs - source

    smithay_client_toolkit/data_device_manager/
    read_pipe.rs

    +1
     2
     3
     4
    @@ -162,8 +163,7 @@
     162
     163
     164
    -165
    -
    use std::{
    +165
    use std::{
         fs, io,
         os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd},
     };
    diff --git a/src/smithay_client_toolkit/data_device_manager/write_pipe.rs.html b/src/smithay_client_toolkit/data_device_manager/write_pipe.rs.html
    index 1d553651f..2a09cd452 100644
    --- a/src/smithay_client_toolkit/data_device_manager/write_pipe.rs.html
    +++ b/src/smithay_client_toolkit/data_device_manager/write_pipe.rs.html
    @@ -1,4 +1,5 @@
    -write_pipe.rs - source
    1
    +write_pipe.rs - source

    smithay_client_toolkit/data_device_manager/
    write_pipe.rs

    +1
     2
     3
     4
    @@ -170,8 +171,7 @@
     170
     171
     172
    -173
    -
    use std::{
    +173
    use std::{
         fs, io,
         os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd},
     };
    diff --git a/src/smithay_client_toolkit/dmabuf.rs.html b/src/smithay_client_toolkit/dmabuf.rs.html
    index 6eb68fa16..40375e2f7 100644
    --- a/src/smithay_client_toolkit/dmabuf.rs.html
    +++ b/src/smithay_client_toolkit/dmabuf.rs.html
    @@ -1,4 +1,5 @@
    -dmabuf.rs - source
    1
    +dmabuf.rs - source

    smithay_client_toolkit/
    dmabuf.rs

    +1
     2
     3
     4
    @@ -437,8 +438,7 @@
     437
     438
     439
    -440
    -
    use crate::{error::GlobalError, globals::GlobalData, registry::GlobalProxy};
    +440
    use crate::{error::GlobalError, globals::GlobalData, registry::GlobalProxy};
     use memmap2::{Mmap, MmapOptions};
     use std::{fmt, mem, os::unix::io::BorrowedFd, slice, sync::Mutex};
     use wayland_client::{
    diff --git a/src/smithay_client_toolkit/error.rs.html b/src/smithay_client_toolkit/error.rs.html
    index cd0c2831e..c9c703041 100644
    --- a/src/smithay_client_toolkit/error.rs.html
    +++ b/src/smithay_client_toolkit/error.rs.html
    @@ -1,4 +1,5 @@
    -error.rs - source
    1
    +error.rs - source

    smithay_client_toolkit/
    error.rs

    +1
     2
     3
     4
    @@ -8,8 +9,7 @@
     8
     9
     10
    -11
    -
    /// An error that may occur when creating objects using a global.
    +11
    /// An error that may occur when creating objects using a global.
     #[derive(Debug, thiserror::Error)]
     pub enum GlobalError {
         /// A compositor global was not available
    diff --git a/src/smithay_client_toolkit/foreign_toplevel_list.rs.html b/src/smithay_client_toolkit/foreign_toplevel_list.rs.html
    index 34ff3d3c9..405bc361f 100644
    --- a/src/smithay_client_toolkit/foreign_toplevel_list.rs.html
    +++ b/src/smithay_client_toolkit/foreign_toplevel_list.rs.html
    @@ -1,4 +1,5 @@
    -foreign_toplevel_list.rs - source
    1
    +foreign_toplevel_list.rs - source

    smithay_client_toolkit/
    foreign_toplevel_list.rs

    +1
     2
     3
     4
    @@ -190,8 +191,7 @@
     190
     191
     192
    -193
    -
    use crate::{globals::GlobalData, registry::GlobalProxy};
    +193
    use crate::{globals::GlobalData, registry::GlobalProxy};
     use std::sync::{Arc, Mutex};
     use wayland_client::{globals::GlobalList, Connection, Dispatch, Proxy, QueueHandle};
     use wayland_protocols::ext::foreign_toplevel_list::v1::client::{
    diff --git a/src/smithay_client_toolkit/globals.rs.html b/src/smithay_client_toolkit/globals.rs.html
    index 0008da291..e7f7b823a 100644
    --- a/src/smithay_client_toolkit/globals.rs.html
    +++ b/src/smithay_client_toolkit/globals.rs.html
    @@ -1,4 +1,5 @@
    -globals.rs - source
    1
    +globals.rs - source

    smithay_client_toolkit/
    globals.rs

    +1
     2
     3
     4
    @@ -50,8 +51,7 @@
     50
     51
     52
    -53
    -
    use crate::error::GlobalError;
    +53
    use crate::error::GlobalError;
     use wayland_client::Proxy;
     
     /// A trait implemented by types that provide access to capability globals.
    diff --git a/src/smithay_client_toolkit/lib.rs.html b/src/smithay_client_toolkit/lib.rs.html
    index eaf3af0f4..1719690d5 100644
    --- a/src/smithay_client_toolkit/lib.rs.html
    +++ b/src/smithay_client_toolkit/lib.rs.html
    @@ -1,4 +1,5 @@
    -lib.rs - source
    1
    +lib.rs - source

    smithay_client_toolkit/
    lib.rs

    +1
     2
     3
     4
    @@ -33,8 +34,7 @@
     33
     34
     35
    -36
    -
    #![cfg_attr(docsrs, feature(doc_auto_cfg))]
    +36
    #![cfg_attr(docsrs, feature(doc_auto_cfg))]
     #![warn(
     //    missing_docs, // Commented out for now so the project isn't all yellow.
         missing_debug_implementations
    diff --git a/src/smithay_client_toolkit/output.rs.html b/src/smithay_client_toolkit/output.rs.html
    index c0a90fc38..0ddffe22b 100644
    --- a/src/smithay_client_toolkit/output.rs.html
    +++ b/src/smithay_client_toolkit/output.rs.html
    @@ -1,4 +1,5 @@
    -output.rs - source
    1
    +output.rs - source

    smithay_client_toolkit/
    output.rs

    +1
     2
     3
     4
    @@ -756,8 +757,7 @@
     756
     757
     758
    -759
    -
    use std::{
    +759
    use std::{
         any::Any,
         fmt::{self, Display, Formatter},
         sync::{Arc, Mutex, Weak},
    diff --git a/src/smithay_client_toolkit/presentation_time.rs.html b/src/smithay_client_toolkit/presentation_time.rs.html
    index 9d0e3e70a..722955d13 100644
    --- a/src/smithay_client_toolkit/presentation_time.rs.html
    +++ b/src/smithay_client_toolkit/presentation_time.rs.html
    @@ -1,4 +1,5 @@
    -presentation_time.rs - source
    1
    +presentation_time.rs - source

    smithay_client_toolkit/
    presentation_time.rs

    +1
     2
     3
     4
    @@ -170,8 +171,7 @@
     170
     171
     172
    -173
    -
    use std::{mem, sync::Mutex};
    +173
    use std::{mem, sync::Mutex};
     use wayland_client::{
         globals::GlobalList,
         protocol::{wl_output, wl_surface},
    diff --git a/src/smithay_client_toolkit/primary_selection/device.rs.html b/src/smithay_client_toolkit/primary_selection/device.rs.html
    index 75a1ef7f4..ef0f034e3 100644
    --- a/src/smithay_client_toolkit/primary_selection/device.rs.html
    +++ b/src/smithay_client_toolkit/primary_selection/device.rs.html
    @@ -1,4 +1,5 @@
    -device.rs - source
    1
    +device.rs - source

    smithay_client_toolkit/primary_selection/
    device.rs

    +1
     2
     3
     4
    @@ -149,8 +150,7 @@
     149
     150
     151
    -152
    -
    use std::sync::{Arc, Mutex};
    +152
    use std::sync::{Arc, Mutex};
     
     use crate::reexports::client::{
         event_created_child, protocol::wl_seat::WlSeat, Connection, Dispatch, Proxy, QueueHandle,
    diff --git a/src/smithay_client_toolkit/primary_selection/mod.rs.html b/src/smithay_client_toolkit/primary_selection/mod.rs.html
    index b8910fff7..20679626f 100644
    --- a/src/smithay_client_toolkit/primary_selection/mod.rs.html
    +++ b/src/smithay_client_toolkit/primary_selection/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/primary_selection/
    mod.rs

    +1
     2
     3
     4
    @@ -117,8 +118,7 @@
     117
     118
     119
    -120
    -
    use crate::globals::GlobalData;
    +120
    use crate::globals::GlobalData;
     use crate::reexports::client::{
         globals::{BindError, GlobalList},
         protocol::wl_seat::WlSeat,
    diff --git a/src/smithay_client_toolkit/primary_selection/offer.rs.html b/src/smithay_client_toolkit/primary_selection/offer.rs.html
    index 9e51e7aa7..b1c08fb10 100644
    --- a/src/smithay_client_toolkit/primary_selection/offer.rs.html
    +++ b/src/smithay_client_toolkit/primary_selection/offer.rs.html
    @@ -1,4 +1,5 @@
    -offer.rs - source
    1
    +offer.rs - source

    smithay_client_toolkit/primary_selection/
    offer.rs

    +1
     2
     3
     4
    @@ -81,8 +82,7 @@
     81
     82
     83
    -84
    -
    use std::{
    +84
    use std::{
         os::unix::io::{AsFd, OwnedFd},
         sync::Mutex,
     };
    diff --git a/src/smithay_client_toolkit/primary_selection/selection.rs.html b/src/smithay_client_toolkit/primary_selection/selection.rs.html
    index 9ed1a05e5..71f4618d2 100644
    --- a/src/smithay_client_toolkit/primary_selection/selection.rs.html
    +++ b/src/smithay_client_toolkit/primary_selection/selection.rs.html
    @@ -1,4 +1,5 @@
    -selection.rs - source
    1
    +selection.rs - source

    smithay_client_toolkit/primary_selection/
    selection.rs

    +1
     2
     3
     4
    @@ -79,8 +80,7 @@
     79
     80
     81
    -82
    -
    use crate::reexports::client::{Connection, Dispatch, QueueHandle};
    +82
    use crate::reexports::client::{Connection, Dispatch, QueueHandle};
     use crate::reexports::protocols::wp::primary_selection::zv1::client::zwp_primary_selection_source_v1::ZwpPrimarySelectionSourceV1;
     use crate::{data_device_manager::WritePipe, globals::GlobalData};
     
    diff --git a/src/smithay_client_toolkit/registry.rs.html b/src/smithay_client_toolkit/registry.rs.html
    index 8be658895..d79ffadbb 100644
    --- a/src/smithay_client_toolkit/registry.rs.html
    +++ b/src/smithay_client_toolkit/registry.rs.html
    @@ -1,4 +1,5 @@
    -registry.rs - source
    1
    +registry.rs - source

    smithay_client_toolkit/
    registry.rs

    +1
     2
     3
     4
    @@ -540,8 +541,7 @@
     540
     541
     542
    -543
    -
    //! Utilities for binding globals with [`wl_registry`] in delegates.
    +543
    //! Utilities for binding globals with [`wl_registry`] in delegates.
     //!
     //! This module is based around the [`RegistryHandler`] trait and [`RegistryState`].
     //!
    diff --git a/src/smithay_client_toolkit/seat/keyboard/mod.rs.html b/src/smithay_client_toolkit/seat/keyboard/mod.rs.html
    index 8acafd130..6b4391fb1 100644
    --- a/src/smithay_client_toolkit/seat/keyboard/mod.rs.html
    +++ b/src/smithay_client_toolkit/seat/keyboard/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/seat/keyboard/
    mod.rs

    +1
     2
     3
     4
    @@ -873,8 +874,7 @@
     873
     874
     875
    -876
    -
    use std::{
    +876
    use std::{
         convert::TryInto,
         env,
         fmt::Debug,
    diff --git a/src/smithay_client_toolkit/seat/keyboard/repeat.rs.html b/src/smithay_client_toolkit/seat/keyboard/repeat.rs.html
    index a2b162be9..317794bf1 100644
    --- a/src/smithay_client_toolkit/seat/keyboard/repeat.rs.html
    +++ b/src/smithay_client_toolkit/seat/keyboard/repeat.rs.html
    @@ -1,4 +1,5 @@
    -repeat.rs - source
    1
    +repeat.rs - source

    smithay_client_toolkit/seat/keyboard/
    repeat.rs

    +1
     2
     3
     4
    @@ -120,8 +121,7 @@
     120
     121
     122
    -123
    -
    use std::sync::atomic::Ordering;
    +123
    use std::sync::atomic::Ordering;
     
     use calloop::{LoopHandle, RegistrationToken};
     use wayland_client::{
    diff --git a/src/smithay_client_toolkit/seat/mod.rs.html b/src/smithay_client_toolkit/seat/mod.rs.html
    index 1bbc8b451..3cca8cc8d 100644
    --- a/src/smithay_client_toolkit/seat/mod.rs.html
    +++ b/src/smithay_client_toolkit/seat/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/seat/
    mod.rs

    +1
     2
     3
     4
    @@ -552,8 +553,7 @@
     552
     553
     554
    -555
    -
    use std::{
    +555
    use std::{
         fmt::{self, Display, Formatter},
         sync::{
             atomic::{AtomicBool, Ordering},
    diff --git a/src/smithay_client_toolkit/seat/pointer/cursor_shape.rs.html b/src/smithay_client_toolkit/seat/pointer/cursor_shape.rs.html
    index 0c1460ea5..d48f95888 100644
    --- a/src/smithay_client_toolkit/seat/pointer/cursor_shape.rs.html
    +++ b/src/smithay_client_toolkit/seat/pointer/cursor_shape.rs.html
    @@ -1,4 +1,5 @@
    -cursor_shape.rs - source
    1
    +cursor_shape.rs - source

    smithay_client_toolkit/seat/pointer/
    cursor_shape.rs

    +1
     2
     3
     4
    @@ -115,8 +116,7 @@
     115
     116
     117
    -118
    -
    use cursor_icon::CursorIcon;
    +118
    use cursor_icon::CursorIcon;
     
     use crate::globals::GlobalData;
     use crate::reexports::client::globals::{BindError, GlobalList};
    diff --git a/src/smithay_client_toolkit/seat/pointer/mod.rs.html b/src/smithay_client_toolkit/seat/pointer/mod.rs.html
    index a6481079c..fc27ac339 100644
    --- a/src/smithay_client_toolkit/seat/pointer/mod.rs.html
    +++ b/src/smithay_client_toolkit/seat/pointer/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/seat/pointer/
    mod.rs

    +1
     2
     3
     4
    @@ -633,8 +634,7 @@
     633
     634
     635
    -636
    -
    use std::{
    +636
    use std::{
         collections::{hash_map::Entry, HashMap},
         env, iter, mem,
         sync::{Arc, Mutex},
    diff --git a/src/smithay_client_toolkit/seat/pointer_constraints.rs.html b/src/smithay_client_toolkit/seat/pointer_constraints.rs.html
    index 66c617f98..98c8439a1 100644
    --- a/src/smithay_client_toolkit/seat/pointer_constraints.rs.html
    +++ b/src/smithay_client_toolkit/seat/pointer_constraints.rs.html
    @@ -1,4 +1,5 @@
    -pointer_constraints.rs - source
    1
    +pointer_constraints.rs - source

    smithay_client_toolkit/seat/
    pointer_constraints.rs

    +1
     2
     3
     4
    @@ -217,8 +218,7 @@
     217
     218
     219
    -220
    -
    use wayland_client::{
    +220
    use wayland_client::{
         globals::GlobalList,
         protocol::{wl_pointer, wl_region, wl_surface},
         Connection, Dispatch, QueueHandle,
    diff --git a/src/smithay_client_toolkit/seat/relative_pointer.rs.html b/src/smithay_client_toolkit/seat/relative_pointer.rs.html
    index bfc02c474..c60f1e7b1 100644
    --- a/src/smithay_client_toolkit/seat/relative_pointer.rs.html
    +++ b/src/smithay_client_toolkit/seat/relative_pointer.rs.html
    @@ -1,4 +1,5 @@
    -relative_pointer.rs - source
    1
    +relative_pointer.rs - source

    smithay_client_toolkit/seat/
    relative_pointer.rs

    +1
     2
     3
     4
    @@ -132,8 +133,7 @@
     132
     133
     134
    -135
    -
    use wayland_client::{
    +135
    use wayland_client::{
         globals::GlobalList, protocol::wl_pointer, Connection, Dispatch, QueueHandle,
     };
     use wayland_protocols::wp::relative_pointer::zv1::client::{
    diff --git a/src/smithay_client_toolkit/seat/touch.rs.html b/src/smithay_client_toolkit/seat/touch.rs.html
    index 1e0256434..568a644b1 100644
    --- a/src/smithay_client_toolkit/seat/touch.rs.html
    +++ b/src/smithay_client_toolkit/seat/touch.rs.html
    @@ -1,4 +1,5 @@
    -touch.rs - source
    1
    +touch.rs - source

    smithay_client_toolkit/seat/
    touch.rs

    +1
     2
     3
     4
    @@ -259,8 +260,7 @@
     259
     260
     261
    -262
    -
    use std::sync::Mutex;
    +262
    use std::sync::Mutex;
     
     use wayland_client::protocol::wl_seat::WlSeat;
     
    diff --git a/src/smithay_client_toolkit/session_lock/dispatch.rs.html b/src/smithay_client_toolkit/session_lock/dispatch.rs.html
    index 6a48f3904..5d255fd0e 100644
    --- a/src/smithay_client_toolkit/session_lock/dispatch.rs.html
    +++ b/src/smithay_client_toolkit/session_lock/dispatch.rs.html
    @@ -1,4 +1,5 @@
    -dispatch.rs - source
    1
    +dispatch.rs - source

    smithay_client_toolkit/session_lock/
    dispatch.rs

    +1
     2
     3
     4
    @@ -85,8 +86,7 @@
     85
     86
     87
    -88
    -
    use crate::globals::GlobalData;
    +88
    use crate::globals::GlobalData;
     use std::sync::atomic::Ordering;
     use wayland_client::{Connection, Dispatch, QueueHandle};
     use wayland_protocols::ext::session_lock::v1::client::{
    diff --git a/src/smithay_client_toolkit/session_lock/mod.rs.html b/src/smithay_client_toolkit/session_lock/mod.rs.html
    index bf78bb137..1a05f1b6f 100644
    --- a/src/smithay_client_toolkit/session_lock/mod.rs.html
    +++ b/src/smithay_client_toolkit/session_lock/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/session_lock/
    mod.rs

    +1
     2
     3
     4
    @@ -213,8 +214,7 @@
     213
     214
     215
    -216
    -
    use crate::{compositor::Surface, error::GlobalError, globals::GlobalData, registry::GlobalProxy};
    +216
    use crate::{compositor::Surface, error::GlobalError, globals::GlobalData, registry::GlobalProxy};
     use std::sync::{
         atomic::{AtomicBool, Ordering},
         Arc, Weak,
    diff --git a/src/smithay_client_toolkit/shell/mod.rs.html b/src/smithay_client_toolkit/shell/mod.rs.html
    index 2e8897d2c..ab824efe0 100644
    --- a/src/smithay_client_toolkit/shell/mod.rs.html
    +++ b/src/smithay_client_toolkit/shell/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/shell/
    mod.rs

    +1
     2
     3
     4
    @@ -131,8 +132,7 @@
     131
     132
     133
    -134
    -
    //! # Shell abstractions
    +134
    //! # Shell abstractions
     //!
     //! A shell describes a set of wayland protocol extensions which define the capabilities of a surface and how
     //! the surface is displayed.
    diff --git a/src/smithay_client_toolkit/shell/wlr_layer/dispatch.rs.html b/src/smithay_client_toolkit/shell/wlr_layer/dispatch.rs.html
    index 20ca44eb6..cc03d72c5 100644
    --- a/src/smithay_client_toolkit/shell/wlr_layer/dispatch.rs.html
    +++ b/src/smithay_client_toolkit/shell/wlr_layer/dispatch.rs.html
    @@ -1,4 +1,5 @@
    -dispatch.rs - source
    1
    +dispatch.rs - source

    smithay_client_toolkit/shell/wlr_layer/
    dispatch.rs

    +1
     2
     3
     4
    @@ -81,8 +82,7 @@
     81
     82
     83
    -84
    -
    use wayland_client::{Connection, Dispatch, QueueHandle};
    +84
    use wayland_client::{Connection, Dispatch, QueueHandle};
     use wayland_protocols_wlr::layer_shell::v1::client::{zwlr_layer_shell_v1, zwlr_layer_surface_v1};
     
     use crate::{
    diff --git a/src/smithay_client_toolkit/shell/wlr_layer/mod.rs.html b/src/smithay_client_toolkit/shell/wlr_layer/mod.rs.html
    index bf94699bf..76a09e998 100644
    --- a/src/smithay_client_toolkit/shell/wlr_layer/mod.rs.html
    +++ b/src/smithay_client_toolkit/shell/wlr_layer/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/shell/wlr_layer/
    mod.rs

    +1
     2
     3
     4
    @@ -347,8 +348,7 @@
     347
     348
     349
    -350
    -
    mod dispatch;
    +350
    mod dispatch;
     
     use std::{
         convert::TryFrom,
    diff --git a/src/smithay_client_toolkit/shell/xdg/fallback_frame.rs.html b/src/smithay_client_toolkit/shell/xdg/fallback_frame.rs.html
    index bf7394b7e..29a5ea312 100644
    --- a/src/smithay_client_toolkit/shell/xdg/fallback_frame.rs.html
    +++ b/src/smithay_client_toolkit/shell/xdg/fallback_frame.rs.html
    @@ -1,4 +1,5 @@
    -fallback_frame.rs - source
    1
    +fallback_frame.rs - source

    smithay_client_toolkit/shell/xdg/
    fallback_frame.rs

    +1
     2
     3
     4
    @@ -735,8 +736,7 @@
     735
     736
     737
    -738
    -
    //! The default fallback frame which is intended to show some very basic derocations.
    +738
    //! The default fallback frame which is intended to show some very basic derocations.
     
     use std::mem;
     use std::sync::Arc;
    diff --git a/src/smithay_client_toolkit/shell/xdg/mod.rs.html b/src/smithay_client_toolkit/shell/xdg/mod.rs.html
    index c64c0e4aa..e16601845 100644
    --- a/src/smithay_client_toolkit/shell/xdg/mod.rs.html
    +++ b/src/smithay_client_toolkit/shell/xdg/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/shell/xdg/
    mod.rs

    +1
     2
     3
     4
    @@ -346,8 +347,7 @@
     346
     347
     348
    -349
    -
    //! ## Cross desktop group (XDG) shell
    +349
    //! ## Cross desktop group (XDG) shell
     // TODO: Examples
     
     use std::os::unix::io::OwnedFd;
    diff --git a/src/smithay_client_toolkit/shell/xdg/popup.rs.html b/src/smithay_client_toolkit/shell/xdg/popup.rs.html
    index 96d44a6d8..80724d49c 100644
    --- a/src/smithay_client_toolkit/shell/xdg/popup.rs.html
    +++ b/src/smithay_client_toolkit/shell/xdg/popup.rs.html
    @@ -1,4 +1,5 @@
    -popup.rs - source
    1
    +popup.rs - source

    smithay_client_toolkit/shell/xdg/
    popup.rs

    +1
     2
     3
     4
    @@ -285,8 +286,7 @@
     285
     286
     287
    -288
    -
    use crate::{
    +288
    use crate::{
         compositor::{Surface, SurfaceData},
         error::GlobalError,
         globals::ProvidesBoundGlobal,
    diff --git a/src/smithay_client_toolkit/shell/xdg/window/inner.rs.html b/src/smithay_client_toolkit/shell/xdg/window/inner.rs.html
    index d5caae649..33dd80eea 100644
    --- a/src/smithay_client_toolkit/shell/xdg/window/inner.rs.html
    +++ b/src/smithay_client_toolkit/shell/xdg/window/inner.rs.html
    @@ -1,4 +1,5 @@
    -inner.rs - source
    1
    +inner.rs - source

    smithay_client_toolkit/shell/xdg/window/
    inner.rs

    +1
     2
     3
     4
    @@ -230,8 +231,7 @@
     230
     231
     232
    -233
    -
    use std::{
    +233
    use std::{
         convert::{TryFrom, TryInto},
         num::NonZeroU32,
         sync::Mutex,
    diff --git a/src/smithay_client_toolkit/shell/xdg/window/mod.rs.html b/src/smithay_client_toolkit/shell/xdg/window/mod.rs.html
    index 764de4399..f190512e2 100644
    --- a/src/smithay_client_toolkit/shell/xdg/window/mod.rs.html
    +++ b/src/smithay_client_toolkit/shell/xdg/window/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/shell/xdg/window/
    mod.rs

    +1
     2
     3
     4
    @@ -318,8 +319,7 @@
     318
     319
     320
    -321
    -
    //! XDG shell windows.
    +321
    //! XDG shell windows.
     
     use std::{
         num::NonZeroU32,
    diff --git a/src/smithay_client_toolkit/shm/mod.rs.html b/src/smithay_client_toolkit/shm/mod.rs.html
    index 99ae1102b..c13051234 100644
    --- a/src/smithay_client_toolkit/shm/mod.rs.html
    +++ b/src/smithay_client_toolkit/shm/mod.rs.html
    @@ -1,4 +1,5 @@
    -mod.rs - source
    1
    +mod.rs - source

    smithay_client_toolkit/shm/
    mod.rs

    +1
     2
     3
     4
    @@ -133,8 +134,7 @@
     133
     134
     135
    -136
    -
    pub mod multi;
    +136
    pub mod multi;
     pub mod raw;
     pub mod slot;
     
    diff --git a/src/smithay_client_toolkit/shm/multi.rs.html b/src/smithay_client_toolkit/shm/multi.rs.html
    index 24f9f8e3a..886eab284 100644
    --- a/src/smithay_client_toolkit/shm/multi.rs.html
    +++ b/src/smithay_client_toolkit/shm/multi.rs.html
    @@ -1,4 +1,5 @@
    -multi.rs - source
    1
    +multi.rs - source

    smithay_client_toolkit/shm/
    multi.rs

    +1
     2
     3
     4
    @@ -418,8 +419,7 @@
     418
     419
     420
    -421
    -
    //! A pool implementation which automatically manage buffers.
    +421
    //! A pool implementation which automatically manage buffers.
     //!
     //! This pool is built on the [`RawPool`].
     //!
    diff --git a/src/smithay_client_toolkit/shm/raw.rs.html b/src/smithay_client_toolkit/shm/raw.rs.html
    index ecaa948e3..2cf61201c 100644
    --- a/src/smithay_client_toolkit/shm/raw.rs.html
    +++ b/src/smithay_client_toolkit/shm/raw.rs.html
    @@ -1,4 +1,5 @@
    -raw.rs - source
    1
    +raw.rs - source

    smithay_client_toolkit/shm/
    raw.rs

    +1
     2
     3
     4
    @@ -264,8 +265,7 @@
     264
     265
     266
    -267
    -
    //! A raw shared memory pool handler.
    +267
    //! A raw shared memory pool handler.
     //!
     //! This is intended as a safe building block for higher level shared memory pool abstractions and is not
     //! encouraged for most library users.
    diff --git a/src/smithay_client_toolkit/shm/slot.rs.html b/src/smithay_client_toolkit/shm/slot.rs.html
    index 22b15612c..545b8c2d5 100644
    --- a/src/smithay_client_toolkit/shm/slot.rs.html
    +++ b/src/smithay_client_toolkit/shm/slot.rs.html
    @@ -1,4 +1,5 @@
    -slot.rs - source
    1
    +slot.rs - source

    smithay_client_toolkit/shm/
    slot.rs

    +1
     2
     3
     4
    @@ -556,8 +557,7 @@
     556
     557
     558
    -559
    -
    //! A pool implementation based on buffer slots
    +559
    //! A pool implementation based on buffer slots
     
     use std::io;
     use std::{
    diff --git a/src/smithay_client_toolkit/subcompositor.rs.html b/src/smithay_client_toolkit/subcompositor.rs.html
    index cf793f532..6d514677b 100644
    --- a/src/smithay_client_toolkit/subcompositor.rs.html
    +++ b/src/smithay_client_toolkit/subcompositor.rs.html
    @@ -1,4 +1,5 @@
    -subcompositor.rs - source
    1
    +subcompositor.rs - source

    smithay_client_toolkit/
    subcompositor.rs

    +1
     2
     3
     4
    @@ -136,8 +137,7 @@
     136
     137
     138
    -139
    -
    use crate::reexports::client::globals::{BindError, GlobalList};
    +139
    use crate::reexports::client::globals::{BindError, GlobalList};
     use crate::reexports::client::protocol::wl_compositor::WlCompositor;
     use crate::reexports::client::protocol::wl_subcompositor::WlSubcompositor;
     use crate::reexports::client::protocol::wl_subsurface::WlSubsurface;
    diff --git a/static.files/main-921df33f47b8780c.js b/static.files/main-921df33f47b8780c.js
    deleted file mode 100644
    index c31555488..000000000
    --- a/static.files/main-921df33f47b8780c.js
    +++ /dev/null
    @@ -1,11 +0,0 @@
    -"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden")}function showMain(){removeClass(document.getElementById(MAIN_ID),"hidden")}function blurHandler(event,parentElem,hideCallback){if(!parentElem.contains(document.activeElement)&&!parentElem.contains(event.relatedTarget)){hideCallback()}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar){const mobileTitle=document.createElement("h2");mobileTitle.className="location";if(hasClass(document.querySelector(".rustdoc"),"crate")){mobileTitle.innerHTML=`Crate ${window.currentCrate}`}else if(locationTitle){mobileTitle.innerHTML=locationTitle.innerHTML}mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden")}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url,errorCallback){const script=document.createElement("script");script.src=url;if(errorCallback!==undefined){script.onerror=errorCallback}document.head.append(script)}getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)};window.searchState={loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=").map(x=>x.replace(/\+/g," "));params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function sendSearchForm(){document.getElementsByClassName("search-form")[0].submit()}function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"),sendSearchForm);loadScript(resourcePath("search-index",".js"),sendSearchForm)}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search)},descShards:new Map(),loadDesc:async function({descShard,descIndex}){if(descShard.promise===null){descShard.promise=new Promise((resolve,reject)=>{descShard.resolve=resolve;const ds=descShard;const fname=`${ds.crate}-desc-${ds.shard}-`;const url=resourcePath(`search.desc/${descShard.crate}/${fname}`,".js",);loadScript(url,reject)})}const list=await descShard.promise;return list[descIndex]},loadedDescShard:function(crate,shard,data){this.descShards.get(crate)[shard].resolve(data.split("\n"))},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}if(savedHash.startsWith("impl-")){const splitAt=savedHash.indexOf("/");if(splitAt!==-1){const implId=savedHash.slice(0,splitAt);const assocId=savedHash.slice(splitAt+1);const implElems=document.querySelectorAll(`details > summary > section[id^="${implId}"]`,);onEachLazy(implElems,implElem=>{const numbered=/^(.+?)-([0-9]+)$/.exec(implElem.id);if(implElem.id!==implId&&(!numbered||numbered[1]!==implId)){return false}return onEachLazy(implElem.parentElement.parentElement.querySelectorAll(`[id^="${assocId}"]`),item=>{const numbered=/^(.+?)-([0-9]+)$/.exec(item.id);if(item.id===assocId||(numbered&&numbered[1]===assocId)){openParentDetails(item);item.scrollIntoView();setTimeout(()=>{window.location.replace("#"+item.id)},0);return true}},)})}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":case"/":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementsByClassName("sidebar-elems")[0];function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const modpath=hasClass(document.querySelector(".rustdoc"),"mod")?"../":"";const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=`${modpath}${name}/index.html`}else{path=`${modpath}${shortty}.${name}.html`}let current_page=document.location.href.toString();if(current_page.endsWith("/")){current_page+="index.html"}const link=document.createElement("a");link.href=path;link.textContent=name;const li=document.createElement("li");if(link.href===current_page){li.classList.add("current")}li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("union","unions","Unions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("attr","attributes","Attribute Macros");block("derive","derives","Derive Macros");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","),);for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}window.register_type_impls=imp=>{if(!imp||!imp[window.currentCrate]){return}window.pending_type_impls=null;const idMap=new Map();let implementations=document.getElementById("implementations-list");let trait_implementations=document.getElementById("trait-implementations-list");let trait_implementations_header=document.getElementById("trait-implementations");const script=document.querySelector("script[data-self-path]");const selfPath=script?script.getAttribute("data-self-path"):null;const mainContent=document.querySelector("#main-content");const sidebarSection=document.querySelector(".sidebar section");let methods=document.querySelector(".sidebar .block.method");let associatedTypes=document.querySelector(".sidebar .block.associatedtype");let associatedConstants=document.querySelector(".sidebar .block.associatedconstant");let sidebarTraitList=document.querySelector(".sidebar .block.trait-implementation");for(const impList of imp[window.currentCrate]){const types=impList.slice(2);const text=impList[0];const isTrait=impList[1]!==0;const traitName=impList[1];if(types.indexOf(selfPath)===-1){continue}let outputList=isTrait?trait_implementations:implementations;if(outputList===null){const outputListName=isTrait?"Trait Implementations":"Implementations";const outputListId=isTrait?"trait-implementations-list":"implementations-list";const outputListHeaderId=isTrait?"trait-implementations":"implementations";const outputListHeader=document.createElement("h2");outputListHeader.id=outputListHeaderId;outputListHeader.innerText=outputListName;outputList=document.createElement("div");outputList.id=outputListId;if(isTrait){const link=document.createElement("a");link.href=`#${outputListHeaderId}`;link.innerText="Trait Implementations";const h=document.createElement("h3");h.appendChild(link);trait_implementations=outputList;trait_implementations_header=outputListHeader;sidebarSection.appendChild(h);sidebarTraitList=document.createElement("ul");sidebarTraitList.className="block trait-implementation";sidebarSection.appendChild(sidebarTraitList);mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}else{implementations=outputList;if(trait_implementations){mainContent.insertBefore(outputListHeader,trait_implementations_header);mainContent.insertBefore(outputList,trait_implementations_header)}else{const mainContent=document.querySelector("#main-content");mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}}}const template=document.createElement("template");template.innerHTML=text;onEachLazy(template.content.querySelectorAll("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});onEachLazy(template.content.querySelectorAll("[id]"),el=>{let i=0;if(idMap.has(el.id)){i=idMap.get(el.id)}else if(document.getElementById(el.id)){i=1;while(document.getElementById(`${el.id}-${2 * i}`)){i=2*i}while(document.getElementById(`${el.id}-${i}`)){i+=1}}if(i!==0){const oldHref=`#${el.id}`;const newHref=`#${el.id}-${i}`;el.id=`${el.id}-${i}`;onEachLazy(template.content.querySelectorAll("a[href]"),link=>{if(link.getAttribute("href")===oldHref){link.href=newHref}})}idMap.set(el.id,i+1)});const templateAssocItems=template.content.querySelectorAll("section.tymethod, "+"section.method, section.associatedtype, section.associatedconstant");if(isTrait){const li=document.createElement("li");const a=document.createElement("a");a.href=`#${template.content.querySelector(".impl").id}`;a.textContent=traitName;li.appendChild(a);sidebarTraitList.append(li)}else{onEachLazy(templateAssocItems,item=>{let block=hasClass(item,"associatedtype")?associatedTypes:(hasClass(item,"associatedconstant")?associatedConstants:(methods));if(!block){const blockTitle=hasClass(item,"associatedtype")?"Associated Types":(hasClass(item,"associatedconstant")?"Associated Constants":("Methods"));const blockClass=hasClass(item,"associatedtype")?"associatedtype":(hasClass(item,"associatedconstant")?"associatedconstant":("method"));const blockHeader=document.createElement("h3");const blockLink=document.createElement("a");blockLink.href="#implementations";blockLink.innerText=blockTitle;blockHeader.appendChild(blockLink);block=document.createElement("ul");block.className=`block ${blockClass}`;const insertionReference=methods||sidebarTraitList;if(insertionReference){const insertionReferenceH=insertionReference.previousElementSibling;sidebarSection.insertBefore(blockHeader,insertionReferenceH);sidebarSection.insertBefore(block,insertionReferenceH)}else{sidebarSection.appendChild(blockHeader);sidebarSection.appendChild(block)}if(hasClass(item,"associatedtype")){associatedTypes=block}else if(hasClass(item,"associatedconstant")){associatedConstants=block}else{methods=block}}const li=document.createElement("li");const a=document.createElement("a");a.innerText=item.id.split("-")[0].split(".")[1];a.href=`#${item.id}`;li.appendChild(a);block.appendChild(li)})}outputList.appendChild(template.content)}for(const list of[methods,associatedTypes,associatedConstants,sidebarTraitList]){if(!list){continue}const newChildren=Array.prototype.slice.call(list.children);newChildren.sort((a,b)=>{const aI=a.innerText;const bI=b.innerText;return aIbI?1:0});list.replaceChildren(...newChildren)}};if(window.pending_type_impls){window.register_type_impls(window.pending_type_impls)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementsByClassName("sidebar-elems")[0];if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.textContent=crate;const li=document.createElement("li");if(window.rootPath!=="./"&&crate===window.currentCrate){li.className="current"}li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.title="collapse all docs";innerToggle.children[0].innerText="\u2212"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.title="expand all docs";innerToggle.children[0].innerText="+"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.getElementsByClassName("rust-example-rendered"),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");for(const node of line_numbers){parent.removeChild(node)}})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
    "+window.NOTABLE_TRAITS[notable_ty]+"
    "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";document.body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px",)}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!e.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.contains(event.relatedTarget)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(event.relatedTarget)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}document.body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){blurHandler(event,getHelpButton(),window.hidePopoverMenus)}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ -the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S / /","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
    "+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
    "+x[1]+"
    ").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ - restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ - enum, trait, type, macro, \ - and const.","Search functions by type signature (e.g., vec -> usize or \ - -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for functions that accept or return \ - slices and \ - arrays by writing \ - square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

    "+x+"

    ").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

    Search Tricks

    "+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll(".search-form .popover"),elem=>{elem.style.display="none"})};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){getHelpButton().querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}if(isHelpPage){showHelp();document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault()})}else{document.querySelector(`#${HELP_BUTTON_ID} > a`).addEventListener("click",event=>{const target=event.target;if(target.tagName!=="A"||target.parentElement.id!==HELP_BUTTON_ID||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){const SIDEBAR_MIN=100;const SIDEBAR_MAX=500;const RUSTDOC_MOBILE_BREAKPOINT=700;const BODY_MIN=400;const SIDEBAR_VANISH_THRESHOLD=SIDEBAR_MIN/2;const sidebarButton=document.getElementById("sidebar-button");if(sidebarButton){sidebarButton.addEventListener("click",e=>{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false");if(document.querySelector(".rustdoc.src")){window.rustdocToggleSrcSidebar()}e.preventDefault()})}let currentPointerId=null;let desiredSidebarSize=null;let pendingSidebarResizingFrame=false;const resizer=document.querySelector(".sidebar-resizer");const sidebar=document.querySelector(".sidebar");if(!resizer||!sidebar){return}const isSrcPage=hasClass(document.body,"src");function hideSidebar(){if(isSrcPage){window.rustdocCloseSourceSidebar();updateLocalStorage("src-sidebar-width",null);document.documentElement.style.removeProperty("--src-sidebar-width");sidebar.style.removeProperty("--src-sidebar-width");resizer.style.removeProperty("--src-sidebar-width")}else{addClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","true");updateLocalStorage("desktop-sidebar-width",null);document.documentElement.style.removeProperty("--desktop-sidebar-width");sidebar.style.removeProperty("--desktop-sidebar-width");resizer.style.removeProperty("--desktop-sidebar-width")}}function showSidebar(){if(isSrcPage){window.rustdocShowSourceSidebar()}else{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false")}}function changeSidebarSize(size){if(isSrcPage){updateLocalStorage("src-sidebar-width",size);sidebar.style.setProperty("--src-sidebar-width",size+"px");resizer.style.setProperty("--src-sidebar-width",size+"px")}else{updateLocalStorage("desktop-sidebar-width",size);sidebar.style.setProperty("--desktop-sidebar-width",size+"px");resizer.style.setProperty("--desktop-sidebar-width",size+"px")}}function isSidebarHidden(){return isSrcPage?!hasClass(document.documentElement,"src-sidebar-expanded"):hasClass(document.documentElement,"hide-sidebar")}function resize(e){if(currentPointerId===null||currentPointerId!==e.pointerId){return}e.preventDefault();const pos=e.clientX-3;if(pos=SIDEBAR_MIN){if(isSidebarHidden()){showSidebar()}const constrainedPos=Math.min(pos,window.innerWidth-BODY_MIN,SIDEBAR_MAX);changeSidebarSize(constrainedPos);desiredSidebarSize=constrainedPos;if(pendingSidebarResizingFrame!==false){clearTimeout(pendingSidebarResizingFrame)}pendingSidebarResizingFrame=setTimeout(()=>{if(currentPointerId===null||pendingSidebarResizingFrame===false){return}pendingSidebarResizingFrame=false;document.documentElement.style.setProperty("--resizing-sidebar-width",desiredSidebarSize+"px",)},100)}}window.addEventListener("resize",()=>{if(window.innerWidth=(window.innerWidth-BODY_MIN)){changeSidebarSize(window.innerWidth-BODY_MIN)}else if(desiredSidebarSize!==null&&desiredSidebarSize>SIDEBAR_MIN){changeSidebarSize(desiredSidebarSize)}});function stopResize(e){if(currentPointerId===null){return}if(e){e.preventDefault()}desiredSidebarSize=sidebar.getBoundingClientRect().width;removeClass(resizer,"active");window.removeEventListener("pointermove",resize,false);window.removeEventListener("pointerup",stopResize,false);removeClass(document.documentElement,"sidebar-resizing");document.documentElement.style.removeProperty("--resizing-sidebar-width");if(resizer.releasePointerCapture){resizer.releasePointerCapture(currentPointerId);currentPointerId=null}}function initResize(e){if(currentPointerId!==null||e.altKey||e.ctrlKey||e.metaKey||e.button!==0){return}if(resizer.setPointerCapture){resizer.setPointerCapture(e.pointerId);if(!resizer.hasPointerCapture(e.pointerId)){resizer.releasePointerCapture(e.pointerId);return}currentPointerId=e.pointerId}window.hideAllModals(false);e.preventDefault();window.addEventListener("pointermove",resize,false);window.addEventListener("pointercancel",stopResize,false);window.addEventListener("pointerup",stopResize,false);addClass(resizer,"active");addClass(document.documentElement,"sidebar-resizing");const pos=e.clientX-sidebar.offsetLeft-3;document.documentElement.style.setProperty("--resizing-sidebar-width",pos+"px");desiredSidebarSize=null}resizer.addEventListener("pointerdown",initResize,false)}());(function(){function copyContentToClipboard(content){const el=document.createElement("textarea");el.value=content;el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el)}function copyButtonAnimation(button){button.classList.add("clicked");if(button.reset_button_timeout!==undefined){window.clearTimeout(button.reset_button_timeout)}button.reset_button_timeout=window.setTimeout(()=>{button.reset_button_timeout=undefined;button.classList.remove("clicked")},1000)}const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const parent=but.parentElement;const path=[];onEach(parent.childNodes,child=>{if(child.tagName==="A"){path.push(child.textContent)}});copyContentToClipboard(path.join("::"));copyButtonAnimation(but)};function copyCode(codeElem){if(!codeElem){return}copyContentToClipboard(codeElem.textContent)}function getExampleWrap(event){let elem=event.target;while(!hasClass(elem,"example-wrap")){if(elem===document.body||elem.tagName==="A"||elem.tagName==="BUTTON"||hasClass(elem,"docblock")){return null}elem=elem.parentElement}return elem}function addCopyButton(event){const elem=getExampleWrap(event);if(elem===null){return}elem.removeEventListener("mouseover",addCopyButton);const parent=document.createElement("div");parent.className="button-holder";const runButton=elem.querySelector(".test-arrow");if(runButton!==null){parent.appendChild(runButton)}elem.appendChild(parent);const copyButton=document.createElement("button");copyButton.className="copy-button";copyButton.title="Copy code to clipboard";copyButton.addEventListener("click",()=>{copyCode(elem.querySelector("pre > code"));copyButtonAnimation(copyButton)});parent.appendChild(copyButton)}function showHideCodeExampleButtons(event){const elem=getExampleWrap(event);if(elem===null){return}let buttons=elem.querySelector(".button-holder");if(buttons===null){addCopyButton(event);buttons=elem.querySelector(".button-holder");if(buttons===null){return}}buttons.classList.toggle("keep-visible")}onEachLazy(document.querySelectorAll(".docblock .example-wrap"),elem=>{elem.addEventListener("mouseover",addCopyButton);elem.addEventListener("click",showHideCodeExampleButtons)})}()) \ No newline at end of file diff --git a/static.files/main-f070b9041d14864c.js b/static.files/main-f070b9041d14864c.js new file mode 100644 index 000000000..3d672cb6e --- /dev/null +++ b/static.files/main-f070b9041d14864c.js @@ -0,0 +1,11 @@ +"use strict";window.RUSTDOC_TOOLTIP_HOVER_MS=300;window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS=450;function resourcePath(basename,extension){return getVar("root-path")+basename+getVar("resource-suffix")+extension}function hideMain(){addClass(document.getElementById(MAIN_ID),"hidden");const toggle=document.getElementById("toggle-all-docs");if(toggle){toggle.setAttribute("disabled","disabled")}}function showMain(){const main=document.getElementById(MAIN_ID);removeClass(main,"hidden");const mainHeading=main.querySelector(".main-heading");if(mainHeading&&searchState.rustdocToolbar){if(searchState.rustdocToolbar.parentElement){searchState.rustdocToolbar.parentElement.removeChild(searchState.rustdocToolbar)}mainHeading.appendChild(searchState.rustdocToolbar)}const toggle=document.getElementById("toggle-all-docs");if(toggle){toggle.removeAttribute("disabled")}}window.rootPath=getVar("root-path");window.currentCrate=getVar("current-crate");function setMobileTopbar(){const mobileTopbar=document.querySelector(".mobile-topbar");const locationTitle=document.querySelector(".sidebar h2.location");if(mobileTopbar){const mobileTitle=document.createElement("h2");mobileTitle.className="location";if(hasClass(document.querySelector(".rustdoc"),"crate")){mobileTitle.innerHTML=`Crate ${window.currentCrate}`}else if(locationTitle){mobileTitle.innerHTML=locationTitle.innerHTML}mobileTopbar.appendChild(mobileTitle)}}function getVirtualKey(ev){if("key"in ev&&typeof ev.key!=="undefined"){return ev.key}const c=ev.charCode||ev.keyCode;if(c===27){return"Escape"}return String.fromCharCode(c)}const MAIN_ID="main-content";const SETTINGS_BUTTON_ID="settings-menu";const ALTERNATIVE_DISPLAY_ID="alternative-display";const NOT_DISPLAYED_ID="not-displayed";const HELP_BUTTON_ID="help-button";function getSettingsButton(){return document.getElementById(SETTINGS_BUTTON_ID)}function getHelpButton(){return document.getElementById(HELP_BUTTON_ID)}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function insertAfter(newNode,referenceNode){referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling)}function getOrCreateSection(id,classes){let el=document.getElementById(id);if(!el){el=document.createElement("section");el.id=id;el.className=classes;insertAfter(el,document.getElementById(MAIN_ID))}return el}function getAlternativeDisplayElem(){return getOrCreateSection(ALTERNATIVE_DISPLAY_ID,"content hidden")}function getNotDisplayedElem(){return getOrCreateSection(NOT_DISPLAYED_ID,"hidden")}function switchDisplayedElement(elemToDisplay){const el=getAlternativeDisplayElem();if(el.children.length>0){getNotDisplayedElem().appendChild(el.firstElementChild)}if(elemToDisplay===null){addClass(el,"hidden");showMain();return}el.appendChild(elemToDisplay);hideMain();removeClass(el,"hidden");const mainHeading=elemToDisplay.querySelector(".main-heading");if(mainHeading&&searchState.rustdocToolbar){if(searchState.rustdocToolbar.parentElement){searchState.rustdocToolbar.parentElement.removeChild(searchState.rustdocToolbar)}mainHeading.appendChild(searchState.rustdocToolbar)}}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function preLoadCss(cssUrl){const link=document.createElement("link");link.href=cssUrl;link.rel="preload";link.as="style";document.getElementsByTagName("head")[0].appendChild(link)}(function(){const isHelpPage=window.location.pathname.endsWith("/help.html");function loadScript(url,errorCallback){const script=document.createElement("script");script.src=url;if(errorCallback!==undefined){script.onerror=errorCallback}document.head.append(script)}if(getSettingsButton()){getSettingsButton().onclick=event=>{if(event.ctrlKey||event.altKey||event.metaKey){return}window.hideAllModals(false);addClass(getSettingsButton(),"rotate");event.preventDefault();loadScript(getVar("static-root-path")+getVar("settings-js"));setTimeout(()=>{const themes=getVar("themes").split(",");for(const theme of themes){if(theme!==""){preLoadCss(getVar("root-path")+theme+".css")}}},0)}}window.searchState={rustdocToolbar:document.querySelector("rustdoc-toolbar"),loadingText:"Loading search results...",input:document.getElementsByClassName("search-input")[0],outputElement:()=>{let el=document.getElementById("search");if(!el){el=document.createElement("section");el.id="search";getNotDisplayedElem().appendChild(el)}return el},title:document.title,titleBeforeSearch:document.title,timeout:null,currentTab:0,focusedByTab:[null,null,null],clearInputTimeout:()=>{if(searchState.timeout!==null){clearTimeout(searchState.timeout);searchState.timeout=null}},isDisplayed:()=>searchState.outputElement().parentElement.id===ALTERNATIVE_DISPLAY_ID,focus:()=>{searchState.input.focus()},defocus:()=>{searchState.input.blur()},showResults:search=>{if(search===null||typeof search==="undefined"){search=searchState.outputElement()}switchDisplayedElement(search);searchState.mouseMovedAfterSearch=false;document.title=searchState.title},removeQueryParameters:()=>{document.title=searchState.titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.hash)}},hideResults:()=>{switchDisplayedElement(null);searchState.removeQueryParameters()},getQueryStringParams:()=>{const params={};window.location.search.substring(1).split("&").map(s=>{const pair=s.split("=").map(x=>x.replace(/\+/g," "));params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params},setup:()=>{const search_input=searchState.input;if(!searchState.input){return}let searchLoaded=false;function sendSearchForm(){document.getElementsByClassName("search-form")[0].submit()}function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(getVar("static-root-path")+getVar("search-js"),sendSearchForm);loadScript(resourcePath("search-index",".js"),sendSearchForm)}}search_input.addEventListener("focus",()=>{search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});if(search_input.value!==""){loadSearch()}const params=searchState.getQueryStringParams();if(params.search!==undefined){searchState.setLoadingSearch();loadSearch()}},setLoadingSearch:()=>{const search=searchState.outputElement();search.innerHTML="

    "+searchState.loadingText+"

    ";searchState.showResults(search)},descShards:new Map(),loadDesc:async function({descShard,descIndex}){if(descShard.promise===null){descShard.promise=new Promise((resolve,reject)=>{descShard.resolve=resolve;const ds=descShard;const fname=`${ds.crate}-desc-${ds.shard}-`;const url=resourcePath(`search.desc/${descShard.crate}/${fname}`,".js",);loadScript(url,reject)})}const list=await descShard.promise;return list[descIndex]},loadedDescShard:function(crate,shard,data){this.descShards.get(crate)[shard].resolve(data.split("\n"))},};const toggleAllDocsId="toggle-all-docs";let savedHash="";function handleHashes(ev){if(ev!==null&&searchState.isDisplayed()&&ev.newURL){switchDisplayedElement(null);const hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(null,"",getNakedUrl()+window.location.search+"#"+hash)}const elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}const pageId=window.location.hash.replace(/^#/,"");if(savedHash!==pageId){savedHash=pageId;if(pageId!==""){expandSection(pageId)}}if(savedHash.startsWith("impl-")){const splitAt=savedHash.indexOf("/");if(splitAt!==-1){const implId=savedHash.slice(0,splitAt);const assocId=savedHash.slice(splitAt+1);const implElems=document.querySelectorAll(`details > summary > section[id^="${implId}"]`,);onEachLazy(implElems,implElem=>{const numbered=/^(.+?)-([0-9]+)$/.exec(implElem.id);if(implElem.id!==implId&&(!numbered||numbered[1]!==implId)){return false}return onEachLazy(implElem.parentElement.parentElement.querySelectorAll(`[id^="${assocId}"]`),item=>{const numbered=/^(.+?)-([0-9]+)$/.exec(item.id);if(item.id===assocId||(numbered&&numbered[1]===assocId)){openParentDetails(item);item.scrollIntoView();setTimeout(()=>{window.location.replace("#"+item.id)},0);return true}},)})}}}function onHashChange(ev){hideSidebar();handleHashes(ev)}function openParentDetails(elem){while(elem){if(elem.tagName==="DETAILS"){elem.open=true}elem=elem.parentNode}}function expandSection(id){openParentDetails(document.getElementById(id))}function handleEscape(ev){searchState.clearInputTimeout();searchState.hideResults();ev.preventDefault();searchState.defocus();window.hideAllModals(true)}function handleShortcut(ev){const disableShortcuts=getSettingValue("disable-shortcuts")==="true";if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts){return}if(document.activeElement.tagName==="INPUT"&&document.activeElement.type!=="checkbox"&&document.activeElement.type!=="radio"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":case"/":ev.preventDefault();searchState.focus();break;case"+":ev.preventDefault();expandAllDocs();break;case"-":ev.preventDefault();collapseAllDocs();break;case"?":showHelp();break;default:break}}}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);function addSidebarItems(){if(!window.SIDEBAR_ITEMS){return}const sidebar=document.getElementById("rustdoc-modnav");function block(shortty,id,longty){const filtered=window.SIDEBAR_ITEMS[shortty];if(!filtered){return}const modpath=hasClass(document.querySelector(".rustdoc"),"mod")?"../":"";const h3=document.createElement("h3");h3.innerHTML=`${longty}`;const ul=document.createElement("ul");ul.className="block "+shortty;for(const name of filtered){let path;if(shortty==="mod"){path=`${modpath}${name}/index.html`}else{path=`${modpath}${shortty}.${name}.html`}let current_page=document.location.href.toString();if(current_page.endsWith("/")){current_page+="index.html"}const link=document.createElement("a");link.href=path;link.textContent=name;const li=document.createElement("li");if(link.href===current_page){li.classList.add("current")}li.appendChild(link);ul.appendChild(li)}sidebar.appendChild(h3);sidebar.appendChild(ul)}if(sidebar){block("primitive","primitives","Primitive Types");block("mod","modules","Modules");block("macro","macros","Macros");block("struct","structs","Structs");block("enum","enums","Enums");block("constant","constants","Constants");block("static","static","Statics");block("trait","traits","Traits");block("fn","functions","Functions");block("type","types","Type Aliases");block("union","unions","Unions");block("foreigntype","foreign-types","Foreign Types");block("keyword","keywords","Keywords");block("attr","attributes","Attribute Macros");block("derive","derives","Derive Macros");block("traitalias","trait-aliases","Trait Aliases")}}window.register_implementors=imp=>{const implementors=document.getElementById("implementors-list");const synthetic_implementors=document.getElementById("synthetic-implementors-list");const inlined_types=new Set();const TEXT_IDX=0;const SYNTHETIC_IDX=1;const TYPES_IDX=2;if(synthetic_implementors){onEachLazy(synthetic_implementors.getElementsByClassName("impl"),el=>{const aliases=el.getAttribute("data-aliases");if(!aliases){return}aliases.split(",").forEach(alias=>{inlined_types.add(alias)})})}let currentNbImpls=implementors.getElementsByClassName("impl").length;const traitName=document.querySelector(".main-heading h1 > .trait").textContent;const baseIdName="impl-"+traitName+"-";const libs=Object.getOwnPropertyNames(imp);const script=document.querySelector("script[data-ignore-extern-crates]");const ignoreExternCrates=new Set((script?script.getAttribute("data-ignore-extern-crates"):"").split(","),);for(const lib of libs){if(lib===window.currentCrate||ignoreExternCrates.has(lib)){continue}const structs=imp[lib];struct_loop:for(const struct of structs){const list=struct[SYNTHETIC_IDX]?synthetic_implementors:implementors;if(struct[SYNTHETIC_IDX]){for(const struct_type of struct[TYPES_IDX]){if(inlined_types.has(struct_type)){continue struct_loop}inlined_types.add(struct_type)}}const code=document.createElement("h3");code.innerHTML=struct[TEXT_IDX];addClass(code,"code-header");onEachLazy(code.getElementsByTagName("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});const currentId=baseIdName+currentNbImpls;const anchor=document.createElement("a");anchor.href="#"+currentId;addClass(anchor,"anchor");const display=document.createElement("div");display.id=currentId;addClass(display,"impl");display.appendChild(anchor);display.appendChild(code);list.appendChild(display);currentNbImpls+=1}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}window.register_type_impls=imp=>{if(!imp||!imp[window.currentCrate]){return}window.pending_type_impls=null;const idMap=new Map();let implementations=document.getElementById("implementations-list");let trait_implementations=document.getElementById("trait-implementations-list");let trait_implementations_header=document.getElementById("trait-implementations");const script=document.querySelector("script[data-self-path]");const selfPath=script?script.getAttribute("data-self-path"):null;const mainContent=document.querySelector("#main-content");const sidebarSection=document.querySelector(".sidebar section");let methods=document.querySelector(".sidebar .block.method");let associatedTypes=document.querySelector(".sidebar .block.associatedtype");let associatedConstants=document.querySelector(".sidebar .block.associatedconstant");let sidebarTraitList=document.querySelector(".sidebar .block.trait-implementation");for(const impList of imp[window.currentCrate]){const types=impList.slice(2);const text=impList[0];const isTrait=impList[1]!==0;const traitName=impList[1];if(types.indexOf(selfPath)===-1){continue}let outputList=isTrait?trait_implementations:implementations;if(outputList===null){const outputListName=isTrait?"Trait Implementations":"Implementations";const outputListId=isTrait?"trait-implementations-list":"implementations-list";const outputListHeaderId=isTrait?"trait-implementations":"implementations";const outputListHeader=document.createElement("h2");outputListHeader.id=outputListHeaderId;outputListHeader.innerText=outputListName;outputList=document.createElement("div");outputList.id=outputListId;if(isTrait){const link=document.createElement("a");link.href=`#${outputListHeaderId}`;link.innerText="Trait Implementations";const h=document.createElement("h3");h.appendChild(link);trait_implementations=outputList;trait_implementations_header=outputListHeader;sidebarSection.appendChild(h);sidebarTraitList=document.createElement("ul");sidebarTraitList.className="block trait-implementation";sidebarSection.appendChild(sidebarTraitList);mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}else{implementations=outputList;if(trait_implementations){mainContent.insertBefore(outputListHeader,trait_implementations_header);mainContent.insertBefore(outputList,trait_implementations_header)}else{const mainContent=document.querySelector("#main-content");mainContent.appendChild(outputListHeader);mainContent.appendChild(outputList)}}}const template=document.createElement("template");template.innerHTML=text;onEachLazy(template.content.querySelectorAll("a"),elem=>{const href=elem.getAttribute("href");if(href&&!href.startsWith("#")&&!/^(?:[a-z+]+:)?\/\//.test(href)){elem.setAttribute("href",window.rootPath+href)}});onEachLazy(template.content.querySelectorAll("[id]"),el=>{let i=0;if(idMap.has(el.id)){i=idMap.get(el.id)}else if(document.getElementById(el.id)){i=1;while(document.getElementById(`${el.id}-${2 * i}`)){i=2*i}while(document.getElementById(`${el.id}-${i}`)){i+=1}}if(i!==0){const oldHref=`#${el.id}`;const newHref=`#${el.id}-${i}`;el.id=`${el.id}-${i}`;onEachLazy(template.content.querySelectorAll("a[href]"),link=>{if(link.getAttribute("href")===oldHref){link.href=newHref}})}idMap.set(el.id,i+1)});const templateAssocItems=template.content.querySelectorAll("section.tymethod, "+"section.method, section.associatedtype, section.associatedconstant");if(isTrait){const li=document.createElement("li");const a=document.createElement("a");a.href=`#${template.content.querySelector(".impl").id}`;a.textContent=traitName;li.appendChild(a);sidebarTraitList.append(li)}else{onEachLazy(templateAssocItems,item=>{let block=hasClass(item,"associatedtype")?associatedTypes:(hasClass(item,"associatedconstant")?associatedConstants:(methods));if(!block){const blockTitle=hasClass(item,"associatedtype")?"Associated Types":(hasClass(item,"associatedconstant")?"Associated Constants":("Methods"));const blockClass=hasClass(item,"associatedtype")?"associatedtype":(hasClass(item,"associatedconstant")?"associatedconstant":("method"));const blockHeader=document.createElement("h3");const blockLink=document.createElement("a");blockLink.href="#implementations";blockLink.innerText=blockTitle;blockHeader.appendChild(blockLink);block=document.createElement("ul");block.className=`block ${blockClass}`;const insertionReference=methods||sidebarTraitList;if(insertionReference){const insertionReferenceH=insertionReference.previousElementSibling;sidebarSection.insertBefore(blockHeader,insertionReferenceH);sidebarSection.insertBefore(block,insertionReferenceH)}else{sidebarSection.appendChild(blockHeader);sidebarSection.appendChild(block)}if(hasClass(item,"associatedtype")){associatedTypes=block}else if(hasClass(item,"associatedconstant")){associatedConstants=block}else{methods=block}}const li=document.createElement("li");const a=document.createElement("a");a.innerText=item.id.split("-")[0].split(".")[1];a.href=`#${item.id}`;li.appendChild(a);block.appendChild(li)})}outputList.appendChild(template.content)}for(const list of[methods,associatedTypes,associatedConstants,sidebarTraitList]){if(!list){continue}const newChildren=Array.prototype.slice.call(list.children);newChildren.sort((a,b)=>{const aI=a.innerText;const bI=b.innerText;return aIbI?1:0});list.replaceChildren(...newChildren)}};if(window.pending_type_impls){window.register_type_impls(window.pending_type_impls)}function addSidebarCrates(){if(!window.ALL_CRATES){return}const sidebarElems=document.getElementById("rustdoc-modnav");if(!sidebarElems){return}const h3=document.createElement("h3");h3.innerHTML="Crates";const ul=document.createElement("ul");ul.className="block crate";for(const crate of window.ALL_CRATES){const link=document.createElement("a");link.href=window.rootPath+crate+"/index.html";link.textContent=crate;const li=document.createElement("li");if(window.rootPath!=="./"&&crate===window.currentCrate){li.className="current"}li.appendChild(link);ul.appendChild(li)}sidebarElems.appendChild(h3);sidebarElems.appendChild(ul)}function expandAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);removeClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hasClass(e,"type-contents-toggle")&&!hasClass(e,"more-examples-toggle")){e.open=true}});innerToggle.children[0].innerText="Summary"}function collapseAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);addClass(innerToggle,"will-expand");onEachLazy(document.getElementsByClassName("toggle"),e=>{if(e.parentNode.id!=="implementations-list"||(!hasClass(e,"implementors-toggle")&&!hasClass(e,"type-contents-toggle"))){e.open=false}});innerToggle.children[0].innerText="Show all"}function toggleAllDocs(){const innerToggle=document.getElementById(toggleAllDocsId);if(!innerToggle){return}if(hasClass(innerToggle,"will-expand")){expandAllDocs()}else{collapseAllDocs()}}(function(){const toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}const hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";const hideImplementations=getSettingValue("auto-hide-trait-implementations")==="true";const hideLargeItemContents=getSettingValue("auto-hide-large-items")!=="false";function setImplementorsTogglesOpen(id,open){const list=document.getElementById(id);if(list!==null){onEachLazy(list.getElementsByClassName("implementors-toggle"),e=>{e.open=open})}}if(hideImplementations){setImplementorsTogglesOpen("trait-implementations-list",false);setImplementorsTogglesOpen("blanket-implementations-list",false)}onEachLazy(document.getElementsByClassName("toggle"),e=>{if(!hideLargeItemContents&&hasClass(e,"type-contents-toggle")){e.open=true}if(hideMethodDocs&&hasClass(e,"method-toggle")){e.open=false}})}());window.rustdoc_add_line_numbers_to_examples=()=>{if(document.querySelector(".rustdoc.src")){return}onEachLazy(document.querySelectorAll(":not(.scraped-example) > .example-wrap > pre:not(.example-line-numbers)",),x=>{const parent=x.parentNode;const line_numbers=parent.querySelectorAll(".example-line-numbers");if(line_numbers.length>0){return}const count=x.textContent.split("\n").length;const elems=[];for(let i=0;i{onEachLazy(document.querySelectorAll(".example-wrap > .example-line-numbers"),x=>{x.parentNode.removeChild(x)})};if(getSettingValue("line-numbers")==="true"){window.rustdoc_add_line_numbers_to_examples()}function showSidebar(){window.hideAllModals(false);const sidebar=document.getElementsByClassName("sidebar")[0];addClass(sidebar,"shown")}function hideSidebar(){const sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"shown")}window.addEventListener("resize",()=>{if(window.CURRENT_TOOLTIP_ELEMENT){const base=window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE;const force_visible=base.TOOLTIP_FORCE_VISIBLE;hideTooltip(false);if(force_visible){showTooltip(base);base.TOOLTIP_FORCE_VISIBLE=true}}});const mainElem=document.getElementById(MAIN_ID);if(mainElem){mainElem.addEventListener("click",hideSidebar)}onEachLazy(document.querySelectorAll("a[href^='#']"),el=>{el.addEventListener("click",()=>{expandSection(el.hash.slice(1));hideSidebar()})});onEachLazy(document.querySelectorAll(".toggle > summary:not(.hideme)"),el=>{el.addEventListener("click",e=>{if(e.target.tagName!=="SUMMARY"&&e.target.tagName!=="A"){e.preventDefault()}})});function showTooltip(e){const notable_ty=e.getAttribute("data-notable-ty");if(!window.NOTABLE_TRAITS&¬able_ty){const data=document.getElementById("notable-traits-data");if(data){window.NOTABLE_TRAITS=JSON.parse(data.innerText)}else{throw new Error("showTooltip() called with notable without any notable traits!")}}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE===e){clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);return}window.hideAllModals(false);const wrapper=document.createElement("div");if(notable_ty){wrapper.innerHTML="
    "+window.NOTABLE_TRAITS[notable_ty]+"
    "}else{if(e.getAttribute("title")!==null){e.setAttribute("data-title",e.getAttribute("title"));e.removeAttribute("title")}if(e.getAttribute("data-title")!==null){const titleContent=document.createElement("div");titleContent.className="content";titleContent.appendChild(document.createTextNode(e.getAttribute("data-title")));wrapper.appendChild(titleContent)}}wrapper.className="tooltip popover";const focusCatcher=document.createElement("div");focusCatcher.setAttribute("tabindex","0");focusCatcher.onfocus=hideTooltip;wrapper.appendChild(focusCatcher);const pos=e.getBoundingClientRect();wrapper.style.top=(pos.top+window.scrollY+pos.height)+"px";wrapper.style.left=0;wrapper.style.right="auto";wrapper.style.visibility="hidden";document.body.appendChild(wrapper);const wrapperPos=wrapper.getBoundingClientRect();const finalPos=pos.left+window.scrollX-wrapperPos.width+24;if(finalPos>0){wrapper.style.left=finalPos+"px"}else{wrapper.style.setProperty("--popover-arrow-offset",(wrapperPos.right-pos.right+4)+"px",)}wrapper.style.visibility="";window.CURRENT_TOOLTIP_ELEMENT=wrapper;window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE=e;clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);wrapper.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}clearTooltipHoverTimeout(e)};wrapper.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&!e.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(wrapper,"fade-out")}}}function setTooltipHoverTimeout(element,show){clearTooltipHoverTimeout(element);if(!show&&!window.CURRENT_TOOLTIP_ELEMENT){return}if(show&&window.CURRENT_TOOLTIP_ELEMENT){return}if(window.CURRENT_TOOLTIP_ELEMENT&&window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE!==element){return}element.TOOLTIP_HOVER_TIMEOUT=setTimeout(()=>{if(show){showTooltip(element)}else if(!element.TOOLTIP_FORCE_VISIBLE){hideTooltip(false)}},show?window.RUSTDOC_TOOLTIP_HOVER_MS:window.RUSTDOC_TOOLTIP_HOVER_EXIT_MS)}function clearTooltipHoverTimeout(element){if(element.TOOLTIP_HOVER_TIMEOUT!==undefined){removeClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out");clearTimeout(element.TOOLTIP_HOVER_TIMEOUT);delete element.TOOLTIP_HOVER_TIMEOUT}}function tooltipBlurHandler(event){if(window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.contains(event.relatedTarget)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(document.activeElement)&&!window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.contains(event.relatedTarget)){setTimeout(()=>hideTooltip(false),0)}}function hideTooltip(focus){if(window.CURRENT_TOOLTIP_ELEMENT){if(window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE){if(focus){window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.focus()}window.CURRENT_TOOLTIP_ELEMENT.TOOLTIP_BASE.TOOLTIP_FORCE_VISIBLE=false}document.body.removeChild(window.CURRENT_TOOLTIP_ELEMENT);clearTooltipHoverTimeout(window.CURRENT_TOOLTIP_ELEMENT);window.CURRENT_TOOLTIP_ELEMENT=null}}onEachLazy(document.getElementsByClassName("tooltip"),e=>{e.onclick=()=>{e.TOOLTIP_FORCE_VISIBLE=e.TOOLTIP_FORCE_VISIBLE?false:true;if(window.CURRENT_TOOLTIP_ELEMENT&&!e.TOOLTIP_FORCE_VISIBLE){hideTooltip(true)}else{showTooltip(e);window.CURRENT_TOOLTIP_ELEMENT.setAttribute("tabindex","0");window.CURRENT_TOOLTIP_ELEMENT.focus();window.CURRENT_TOOLTIP_ELEMENT.onblur=tooltipBlurHandler}return false};e.onpointerenter=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointermove=ev=>{if(ev.pointerType!=="mouse"){return}setTooltipHoverTimeout(e,true)};e.onpointerleave=ev=>{if(ev.pointerType!=="mouse"){return}if(!e.TOOLTIP_FORCE_VISIBLE&&window.CURRENT_TOOLTIP_ELEMENT&&!window.CURRENT_TOOLTIP_ELEMENT.contains(ev.relatedTarget)){setTooltipHoverTimeout(e,false);addClass(window.CURRENT_TOOLTIP_ELEMENT,"fade-out")}}});const sidebar_menu_toggle=document.getElementsByClassName("sidebar-menu-toggle")[0];if(sidebar_menu_toggle){sidebar_menu_toggle.addEventListener("click",()=>{const sidebar=document.getElementsByClassName("sidebar")[0];if(!hasClass(sidebar,"shown")){showSidebar()}else{hideSidebar()}})}function helpBlurHandler(event){if(!getHelpButton().contains(document.activeElement)&&!getHelpButton().contains(event.relatedTarget)&&!getSettingsButton().contains(document.activeElement)&&!getSettingsButton().contains(event.relatedTarget)){window.hidePopoverMenus()}}function buildHelpMenu(){const book_info=document.createElement("span");const channel=getVar("channel");book_info.className="top";book_info.innerHTML=`You can find more information in \ +the rustdoc book.`;const shortcuts=[["?","Show this help dialog"],["S / /","Focus the search field"],["↑","Move up in search results"],["↓","Move down in search results"],["← / →","Switch result tab (when results focused)"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(x=>"
    "+x[0].split(" ").map((y,index)=>((index&1)===0?""+y+"":" "+y+" ")).join("")+"
    "+x[1]+"
    ").join("");const div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

    Keyboard Shortcuts

    "+shortcuts+"
    ";const infos=[`For a full list of all search features, take a look here.`,"Prefix searches with a type followed by a colon (e.g., fn:) to \ + restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ + enum, trait, type, macro, \ + and const.","Search functions by type signature (e.g., vec -> usize or \ + -> vec or String, enum:Cow -> bool)","You can look for items with an exact name by putting double quotes around \ + your request: \"string\"","Look for functions that accept or return \ + slices and \ + arrays by writing \ + square brackets (e.g., -> [u8] or [] -> Option)","Look for items inside another one by searching for a path: vec::Vec",].map(x=>"

    "+x+"

    ").join("");const div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

    Search Tricks

    "+infos;const rustdoc_version=document.createElement("span");rustdoc_version.className="bottom";const rustdoc_version_code=document.createElement("code");rustdoc_version_code.innerText="rustdoc "+getVar("rustdoc-version");rustdoc_version.appendChild(rustdoc_version_code);const container=document.createElement("div");if(!isHelpPage){container.className="popover"}container.id="help";container.style.display="none";const side_by_side=document.createElement("div");side_by_side.className="side-by-side";side_by_side.appendChild(div_shortcuts);side_by_side.appendChild(div_infos);container.appendChild(book_info);container.appendChild(side_by_side);container.appendChild(rustdoc_version);if(isHelpPage){const help_section=document.createElement("section");help_section.appendChild(container);document.getElementById("main-content").appendChild(help_section);container.style.display="block"}else{const help_button=getHelpButton();help_button.appendChild(container);container.onblur=helpBlurHandler;help_button.onblur=helpBlurHandler;help_button.children[0].onblur=helpBlurHandler}return container}window.hideAllModals=switchFocus=>{hideSidebar();window.hidePopoverMenus();hideTooltip(switchFocus)};window.hidePopoverMenus=()=>{onEachLazy(document.querySelectorAll("rustdoc-toolbar .popover"),elem=>{elem.style.display="none"});const button=getHelpButton();if(button){removeClass(button,"help-open")}};function getHelpMenu(buildNeeded){let menu=getHelpButton().querySelector(".popover");if(!menu&&buildNeeded){menu=buildHelpMenu()}return menu}function showHelp(){const button=getHelpButton();addClass(button,"help-open");button.querySelector("a").focus();const menu=getHelpMenu(true);if(menu.style.display==="none"){window.hideAllModals();menu.style.display=""}}const helpLink=document.querySelector(`#${HELP_BUTTON_ID} > a`);if(isHelpPage){buildHelpMenu()}else if(helpLink){helpLink.addEventListener("click",event=>{if(!helpLink.contains(helpLink)||event.ctrlKey||event.altKey||event.metaKey){return}event.preventDefault();const menu=getHelpMenu(true);const shouldShowHelp=menu.style.display==="none";if(shouldShowHelp){showHelp()}else{window.hidePopoverMenus()}})}setMobileTopbar();addSidebarItems();addSidebarCrates();onHashChange(null);window.addEventListener("hashchange",onHashChange);searchState.setup()}());(function(){const SIDEBAR_MIN=100;const SIDEBAR_MAX=500;const RUSTDOC_MOBILE_BREAKPOINT=700;const BODY_MIN=400;const SIDEBAR_VANISH_THRESHOLD=SIDEBAR_MIN/2;const sidebarButton=document.getElementById("sidebar-button");if(sidebarButton){sidebarButton.addEventListener("click",e=>{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false");if(document.querySelector(".rustdoc.src")){window.rustdocToggleSrcSidebar()}e.preventDefault()})}let currentPointerId=null;let desiredSidebarSize=null;let pendingSidebarResizingFrame=false;const resizer=document.querySelector(".sidebar-resizer");const sidebar=document.querySelector(".sidebar");if(!resizer||!sidebar){return}const isSrcPage=hasClass(document.body,"src");function hideSidebar(){if(isSrcPage){window.rustdocCloseSourceSidebar();updateLocalStorage("src-sidebar-width",null);document.documentElement.style.removeProperty("--src-sidebar-width");sidebar.style.removeProperty("--src-sidebar-width");resizer.style.removeProperty("--src-sidebar-width")}else{addClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","true");updateLocalStorage("desktop-sidebar-width",null);document.documentElement.style.removeProperty("--desktop-sidebar-width");sidebar.style.removeProperty("--desktop-sidebar-width");resizer.style.removeProperty("--desktop-sidebar-width")}}function showSidebar(){if(isSrcPage){window.rustdocShowSourceSidebar()}else{removeClass(document.documentElement,"hide-sidebar");updateLocalStorage("hide-sidebar","false")}}function changeSidebarSize(size){if(isSrcPage){updateLocalStorage("src-sidebar-width",size);sidebar.style.setProperty("--src-sidebar-width",size+"px");resizer.style.setProperty("--src-sidebar-width",size+"px")}else{updateLocalStorage("desktop-sidebar-width",size);sidebar.style.setProperty("--desktop-sidebar-width",size+"px");resizer.style.setProperty("--desktop-sidebar-width",size+"px")}}function isSidebarHidden(){return isSrcPage?!hasClass(document.documentElement,"src-sidebar-expanded"):hasClass(document.documentElement,"hide-sidebar")}function resize(e){if(currentPointerId===null||currentPointerId!==e.pointerId){return}e.preventDefault();const pos=e.clientX-3;if(pos=SIDEBAR_MIN){if(isSidebarHidden()){showSidebar()}const constrainedPos=Math.min(pos,window.innerWidth-BODY_MIN,SIDEBAR_MAX);changeSidebarSize(constrainedPos);desiredSidebarSize=constrainedPos;if(pendingSidebarResizingFrame!==false){clearTimeout(pendingSidebarResizingFrame)}pendingSidebarResizingFrame=setTimeout(()=>{if(currentPointerId===null||pendingSidebarResizingFrame===false){return}pendingSidebarResizingFrame=false;document.documentElement.style.setProperty("--resizing-sidebar-width",desiredSidebarSize+"px",)},100)}}window.addEventListener("resize",()=>{if(window.innerWidth=(window.innerWidth-BODY_MIN)){changeSidebarSize(window.innerWidth-BODY_MIN)}else if(desiredSidebarSize!==null&&desiredSidebarSize>SIDEBAR_MIN){changeSidebarSize(desiredSidebarSize)}});function stopResize(e){if(currentPointerId===null){return}if(e){e.preventDefault()}desiredSidebarSize=sidebar.getBoundingClientRect().width;removeClass(resizer,"active");window.removeEventListener("pointermove",resize,false);window.removeEventListener("pointerup",stopResize,false);removeClass(document.documentElement,"sidebar-resizing");document.documentElement.style.removeProperty("--resizing-sidebar-width");if(resizer.releasePointerCapture){resizer.releasePointerCapture(currentPointerId);currentPointerId=null}}function initResize(e){if(currentPointerId!==null||e.altKey||e.ctrlKey||e.metaKey||e.button!==0){return}if(resizer.setPointerCapture){resizer.setPointerCapture(e.pointerId);if(!resizer.hasPointerCapture(e.pointerId)){resizer.releasePointerCapture(e.pointerId);return}currentPointerId=e.pointerId}window.hideAllModals(false);e.preventDefault();window.addEventListener("pointermove",resize,false);window.addEventListener("pointercancel",stopResize,false);window.addEventListener("pointerup",stopResize,false);addClass(resizer,"active");addClass(document.documentElement,"sidebar-resizing");const pos=e.clientX-sidebar.offsetLeft-3;document.documentElement.style.setProperty("--resizing-sidebar-width",pos+"px");desiredSidebarSize=null}resizer.addEventListener("pointerdown",initResize,false)}());(function(){function copyContentToClipboard(content){const el=document.createElement("textarea");el.value=content;el.setAttribute("readonly","");el.style.position="absolute";el.style.left="-9999px";document.body.appendChild(el);el.select();document.execCommand("copy");document.body.removeChild(el)}function copyButtonAnimation(button){button.classList.add("clicked");if(button.reset_button_timeout!==undefined){window.clearTimeout(button.reset_button_timeout)}button.reset_button_timeout=window.setTimeout(()=>{button.reset_button_timeout=undefined;button.classList.remove("clicked")},1000)}const but=document.getElementById("copy-path");if(!but){return}but.onclick=()=>{const title=document.querySelector("title").textContent.replace(" - Rust","");const[item,module]=title.split(" in ");const path=[item];if(module!==undefined){path.unshift(module)}copyContentToClipboard(path.join("::"));copyButtonAnimation(but)};function copyCode(codeElem){if(!codeElem){return}copyContentToClipboard(codeElem.textContent)}function getExampleWrap(event){let elem=event.target;while(!hasClass(elem,"example-wrap")){if(elem===document.body||elem.tagName==="A"||elem.tagName==="BUTTON"||hasClass(elem,"docblock")){return null}elem=elem.parentElement}return elem}function addCopyButton(event){const elem=getExampleWrap(event);if(elem===null){return}elem.removeEventListener("mouseover",addCopyButton);const parent=document.createElement("div");parent.className="button-holder";const runButton=elem.querySelector(".test-arrow");if(runButton!==null){parent.appendChild(runButton)}elem.appendChild(parent);const copyButton=document.createElement("button");copyButton.className="copy-button";copyButton.title="Copy code to clipboard";copyButton.addEventListener("click",()=>{copyCode(elem.querySelector("pre > code"));copyButtonAnimation(copyButton)});parent.appendChild(copyButton);if(!elem.parentElement.classList.contains("scraped-example")){return}const scrapedWrapped=elem.parentElement;window.updateScrapedExample(scrapedWrapped,parent)}function showHideCodeExampleButtons(event){const elem=getExampleWrap(event);if(elem===null){return}let buttons=elem.querySelector(".button-holder");if(buttons===null){addCopyButton(event);buttons=elem.querySelector(".button-holder");if(buttons===null){return}}buttons.classList.toggle("keep-visible")}onEachLazy(document.querySelectorAll(".docblock .example-wrap"),elem=>{elem.addEventListener("mouseover",addCopyButton);elem.addEventListener("click",showHideCodeExampleButtons)})}()) \ No newline at end of file diff --git a/static.files/noscript-0111fcff984fae8f.css b/static.files/noscript-0111fcff984fae8f.css new file mode 100644 index 000000000..a6c18ecaf --- /dev/null +++ b/static.files/noscript-0111fcff984fae8f.css @@ -0,0 +1 @@ + #main-content .attributes{margin-left:0 !important;}#copy-path,#sidebar-button,.sidebar-resizer{display:none !important;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root,:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--code-example-button-color:#7f7f7f;--code-example-button-hover-color:#595959;--settings-menu-filter:invert(50%);--settings-menu-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}@media (prefers-color-scheme:dark){:root,:root:not([data-theme]){--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--code-example-button-color:#7f7f7f;--code-example-button-hover-color:#a5a5a5;--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--settings-menu-filter:invert(50%);--settings-menu-hover-filter:invert(65%);--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}} \ No newline at end of file diff --git a/static.files/noscript-3b12f09e550e0385.css b/static.files/noscript-3b12f09e550e0385.css deleted file mode 100644 index befe41634..000000000 --- a/static.files/noscript-3b12f09e550e0385.css +++ /dev/null @@ -1 +0,0 @@ - #main-content .attributes{margin-left:0 !important;}#copy-path,#sidebar-button,.sidebar-resizer{display:none !important;}nav.sub{display:none;}.src .sidebar{display:none;}.notable-traits{display:none;}:root,:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--settings-menu-filter:none;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}@media (prefers-color-scheme:dark){:root,:root:not([data-theme]){--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}} \ No newline at end of file diff --git a/static.files/rustdoc-492a78a4a87dcc01.css b/static.files/rustdoc-492a78a4a87dcc01.css deleted file mode 100644 index e9199f955..000000000 --- a/static.files/rustdoc-492a78a4a87dcc01.css +++ /dev/null @@ -1,47 +0,0 @@ - :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;--desktop-sidebar-width:200px;--src-sidebar-width:300px;--desktop-sidebar-z-index:100;--sidebar-elems-left-padding:24px;--clipboard-image:url('data:image/svg+xml,\ -\ -\ -');--copy-path-height:34px;--copy-path-width:33px;--checkmark-image:url('data:image/svg+xml,\ -\ -');--button-left-margin:4px;--button-border-radius:2px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;flex-grow:1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{display:flex;flex-wrap:wrap;padding-bottom:6px;margin-bottom:15px;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,span.since,a.src,#help-button>a,summary.hideme,.scraped-example-list,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap pre.src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li{padding:0;margin:0;list-style:none;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre{border-radius:6px;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.rustdoc:not(.src) .example-wrap pre{overflow:auto hidden;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap pre.src-line-numbers{flex-grow:0;min-width:fit-content;overflow:initial;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;color:var(--src-line-numbers-span-color);}.rustdoc .example-wrap pre.src-line-numbers{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.out-of-band{flex-grow:0;font-size:1.125rem;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap{background-color:var(--code-block-background-color);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab{display:inline-block;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 25px 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 15px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}#crate-search-div{position:relative;min-width:5em;}#crate-search{min-width:115px;padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ - ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ - \ - ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#help.popover{max-width:600px;--popover-arrow-offset:48px;}#help dt{float:left;clear:left;margin-right:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side>div{width:50%;float:left;padding:0 20px 20px 17px;}.item-info .stab{display:block;padding:3px;margin-bottom:5px;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji,.item-info .stab::before{font-size:1.25rem;}.stab .emoji{margin-right:0.3rem;}.item-info .stab::before{content:"\0";width:0;display:inline-block;color:transparent;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}.top-doc>.docblock>.warning:first-child::before{top:20px;}.example-wrap>a.test-arrow,.example-wrap .button-holder{visibility:hidden;position:absolute;top:4px;right:4px;z-index:1;}a.test-arrow{height:var(--copy-path-height);padding:6px 4px 0 11px;}a.test-arrow::before{content:url('data:image/svg+xml,');}.example-wrap .button-holder{display:flex;}@media not (pointer:coarse){.example-wrap:hover>a.test-arrow,.example-wrap:hover>.button-holder{visibility:visible;}}.example-wrap .button-holder.keep-visible{visibility:visible;}.example-wrap .button-holder .copy-button,.example-wrap .test-arrow{background:var(--main-background-color);cursor:pointer;border-radius:var(--button-border-radius);height:var(--copy-path-height);width:var(--copy-path-width);}.example-wrap .button-holder .copy-button{margin-left:var(--button-left-margin);padding:2px 0 0 4px;border:0;}.example-wrap .button-holder .copy-button::before,.example-wrap .test-arrow::before{filter:var(--copy-path-img-filter);}.example-wrap .button-holder .copy-button::before{content:var(--clipboard-image);}.example-wrap .button-holder .copy-button:hover::before,.example-wrap .test-arrow:hover::before{filter:var(--copy-path-img-hover-filter);}.example-wrap .button-holder .copy-button.clicked::before{content:var(--checkmark-image);padding-right:5px;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.out-of-band>span.since{font-size:1.25rem;}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}@keyframes targetfadein{from{background-color:var(--main-background-color);}10%{background-color:var(--target-border-color);}to{background-color:var(--target-background-color);}}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);animation:0.65s cubic-bezier(0,0,0.1,1.0) 0.1s targetfadein;}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}.src-sidebar-title{position:sticky;top:0;display:flex;padding:8px 8px 0 48px;margin-bottom:7px;background:var(--sidebar-background-color);border-bottom:1px solid var(--border-color);}#settings-menu,#help-button{margin-left:var(--button-left-margin);display:flex;}#sidebar-button{display:none;line-height:0;}.hide-sidebar #sidebar-button,.src #sidebar-button{display:flex;margin-right:4px;position:fixed;left:6px;height:34px;width:34px;background-color:var(--main-background-color);z-index:1;}.src #sidebar-button{left:8px;z-index:calc(var(--desktop-sidebar-z-index) + 1);}.hide-sidebar .src #sidebar-button{position:static;}#settings-menu>a,#help-button>a,#sidebar-button>a{display:flex;align-items:center;justify-content:center;background-color:var(--button-background-color);border:1px solid var(--border-color);border-radius:var(--button-border-radius);color:var(--settings-button-color);font-size:20px;width:33px;}#settings-menu>a:hover,#settings-menu>a:focus,#help-button>a:hover,#help-button>a:focus,#sidebar-button>a:hover,#sidebar-button>a:focus{border-color:var(--settings-button-border-focus);}#settings-menu>a{line-height:0;font-size:0;}#settings-menu>a:before{content:url('data:image/svg+xml,\ - ');width:22px;height:22px;filter:var(--settings-menu-filter);}#sidebar-button>a:before{content:url('data:image/svg+xml,\ - \ - \ - ');width:22px;height:22px;}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:var(--copy-path-height);width:var(--copy-path-width);margin-left:10px;padding:0;padding-left:2px;border:0;font-size:0;}#copy-path::before{filter:var(--copy-path-img-filter);content:var(--clipboard-image);}#copy-path:hover::before{filter:var(--copy-path-img-hover-filter);}#copy-path.clicked::before{content:var(--checkmark-image);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,') no-repeat top left;content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,') no-repeat top left;}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}.src #sidebar-button>a:before,.sidebar-menu-toggle:before{content:url('data:image/svg+xml,\ - ');opacity:0.75;}.sidebar-menu-toggle:hover:before,.sidebar-menu-toggle:active:before,.sidebar-menu-toggle:focus:before{opacity:1;}.src #sidebar-button>a:before{content:url('data:image/svg+xml,\ - \ - \ - ');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.main-heading{flex-direction:column;}.out-of-band{text-align:left;margin-left:initial;padding:initial;}.out-of-band .since::before{content:"Since ";}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#copy-path,#help-button{display:none;}#sidebar-button>a:before{content:url('data:image/svg+xml,\ - \ - \ - ');width:22px;height:22px;}.sidebar-menu-toggle:before{filter:var(--mobile-sidebar-menu-filter);}.sidebar-menu-toggle:hover{background:var(--main-background-color);}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{position:fixed;max-width:100vw;width:100vw;}.src .src-sidebar-title{padding-top:0;}details.toggle:not(.top-doc)>summary{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}.item-table>li>.item-name{width:33%;}.item-table>li>div{overflow-wrap:anywhere;}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example{position:relative;}.scraped-example .code-wrapper{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;width:100%;}.scraped-example:not(.expanded) .code-wrapper{max-height:calc(1.5em * 5 + 10px);}.scraped-example:not(.expanded) .code-wrapper pre{overflow-y:hidden;padding-bottom:0;max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper,.more-scraped-examples .scraped-example:not(.expanded) .code-wrapper pre{max-height:calc(1.5em * 10 + 10px);}.scraped-example .code-wrapper .next,.scraped-example .code-wrapper .prev,.scraped-example .code-wrapper .expand{color:var(--main-color);position:absolute;top:0.25em;z-index:1;padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.scraped-example .code-wrapper .prev{right:2.25em;}.scraped-example .code-wrapper .next{right:1.25em;}.scraped-example .code-wrapper .expand{right:0.25em;}.scraped-example:not(.expanded) .code-wrapper::before,.scraped-example:not(.expanded) .code-wrapper::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .code-wrapper::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .code-wrapper::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example .code-wrapper .example-wrap{width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded) .code-wrapper .example-wrap{overflow-x:hidden;}.scraped-example .example-wrap .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .example-wrap .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"],:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--settings-menu-filter:none;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--settings-menu-filter:none;--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--settings-menu-filter:invert(100%);--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);--sidebar-resizer-hover:hsl(34,50%,33%);--sidebar-resizer-active:hsl(34,100%,66%);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar .current a,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img,:root[data-theme="ayu"] #sidebar-button>a:before{filter:invert(100);} \ No newline at end of file diff --git a/static.files/rustdoc-b0742ba02757f159.css b/static.files/rustdoc-b0742ba02757f159.css new file mode 100644 index 000000000..9fef311de --- /dev/null +++ b/static.files/rustdoc-b0742ba02757f159.css @@ -0,0 +1,53 @@ + :root{--nav-sub-mobile-padding:8px;--search-typename-width:6.75rem;--desktop-sidebar-width:200px;--src-sidebar-width:300px;--desktop-sidebar-z-index:100;--sidebar-elems-left-padding:24px;--clipboard-image:url('data:image/svg+xml,\ +\ +\ +');--copy-path-height:34px;--copy-path-width:33px;--checkmark-image:url('data:image/svg+xml,\ +\ +');--button-left-margin:4px;--button-border-radius:2px;--toolbar-button-border-radius:6px;--code-block-border-radius:6px;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular-018c141bf0843ffd.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium-8f9a781e4970d388.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:400;src:local('Source Serif 4'),url("SourceSerif4-Regular-46f98efaafac5295.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:italic;font-weight:400;src:local('Source Serif 4 Italic'),url("SourceSerif4-It-acdfaf1a8af734b1.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Serif 4';font-style:normal;font-weight:700;src:local('Source Serif 4 Bold'),url("SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:italic;font-weight:400;src:url("SourceCodePro-It-1cc31594bf4f1f79.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2") format("woff2");font-display:swap;}@font-face {font-family:'NanumBarunGothic';src:url("NanumBarunGothic-0f09457c7a19b7c6.ttf.woff2") format("woff2");font-display:swap;unicode-range:U+AC00-D7AF,U+1100-11FF,U+3130-318F,U+A960-A97F,U+D7B0-D7FF;}*{box-sizing:border-box;}body{font:1rem/1.5 "Source Serif 4",NanumBarunGothic,serif;margin:0;position:relative;overflow-wrap:break-word;overflow-wrap:anywhere;font-feature-settings:"kern","liga";background-color:var(--main-background-color);color:var(--main-color);}h1{font-size:1.5rem;}h2{font-size:1.375rem;}h3{font-size:1.25rem;}h1,h2,h3,h4,h5,h6{font-weight:500;}h1,h2,h3,h4{margin:25px 0 15px 0;padding-bottom:6px;}.docblock h3,.docblock h4,h5,h6{margin:15px 0 5px 0;}.docblock>h2:first-child,.docblock>h3:first-child,.docblock>h4:first-child,.docblock>h5:first-child,.docblock>h6:first-child{margin-top:0;}.main-heading h1{margin:0;padding:0;grid-area:main-heading-h1;overflow-wrap:break-word;overflow-wrap:anywhere;}.main-heading{position:relative;display:grid;grid-template-areas:"main-heading-breadcrumbs main-heading-breadcrumbs" "main-heading-h1 main-heading-toolbar" "main-heading-sub-heading main-heading-toolbar";grid-template-columns:minmax(105px,1fr) minmax(0,max-content);grid-template-rows:minmax(25px,min-content) min-content min-content;padding-bottom:6px;margin-bottom:11px;}.rustdoc-breadcrumbs{grid-area:main-heading-breadcrumbs;line-height:1.25;display:flex;flex-wrap:wrap;align-items:end;padding-top:5px;}.rustdoc-breadcrumbs a{padding:4px 0;margin:-4px 0;z-index:1;}.content h2,.top-doc .docblock>h3,.top-doc .docblock>h4{border-bottom:1px solid var(--headings-border-bottom-color);}h1,h2{line-height:1.25;padding-top:3px;padding-bottom:9px;}h3.code-header{font-size:1.125rem;}h4.code-header{font-size:1rem;}.code-header{font-weight:600;margin:0;padding:0;white-space:pre-wrap;}.structfield{margin:0.6em 0;}#crate-search,h1,h2,h3,h4,h5,h6,.sidebar,.mobile-topbar,.search-input,.search-results .result-name,.item-name>a,.out-of-band,.sub-heading,span.since,a.src,rustdoc-toolbar,summary.hideme,.scraped-example-list,.rustdoc-breadcrumbs,ul.all-items{font-family:"Fira Sans",Arial,NanumBarunGothic,sans-serif;}#toggle-all-docs,a.anchor,.section-header a,#src-sidebar a,.rust a,.sidebar h2 a,.sidebar h3 a,.mobile-topbar h2 a,h1 a,.search-results a,.stab,.result-name i{color:var(--main-color);}span.enum,a.enum,span.struct,a.struct,span.union,a.union,span.primitive,a.primitive,span.type,a.type,span.foreigntype,a.foreigntype{color:var(--type-link-color);}span.trait,a.trait,span.traitalias,a.traitalias{color:var(--trait-link-color);}span.associatedtype,a.associatedtype,span.constant,a.constant,span.static,a.static{color:var(--assoc-item-link-color);}span.fn,a.fn,span.method,a.method,span.tymethod,a.tymethod{color:var(--function-link-color);}span.attr,a.attr,span.derive,a.derive,span.macro,a.macro{color:var(--macro-link-color);}span.mod,a.mod{color:var(--mod-link-color);}span.keyword,a.keyword{color:var(--keyword-link-color);}a{color:var(--link-color);text-decoration:none;}ol,ul{padding-left:24px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.625em;}p,.docblock>.warning{margin:0 0 .75em 0;}p:last-child,.docblock>.warning:last-child{margin:0;}button{padding:1px 6px;cursor:pointer;}button#toggle-all-docs{padding:0;background:none;border:none;-webkit-appearance:none;opacity:1;}.rustdoc{display:flex;flex-direction:row;flex-wrap:nowrap;}main{position:relative;flex-grow:1;padding:10px 15px 40px 45px;min-width:0;}.src main{padding:15px;}.width-limiter{max-width:960px;margin-right:auto;}details:not(.toggle) summary{margin-bottom:.6em;}code,pre,.code-header{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.125em;}.docblock pre code,.docblock-short pre code{padding:0;}pre{padding:14px;line-height:1.5;}pre.item-decl{overflow-x:auto;}.item-decl .type-contents-toggle{contain:initial;}.src .content pre{padding:20px;}.rustdoc.src .example-wrap .src-line-numbers{padding:20px 0 20px 4px;}img{max-width:100%;}.logo-container{line-height:0;display:block;}.rust-logo{filter:var(--rust-logo-filter);}.sidebar{font-size:0.875rem;flex:0 0 var(--desktop-sidebar-width);width:var(--desktop-sidebar-width);overflow-y:scroll;overscroll-behavior:contain;position:sticky;height:100vh;top:0;left:0;z-index:var(--desktop-sidebar-z-index);}.rustdoc.src .sidebar{flex-basis:50px;width:50px;border-right:1px solid;overflow-x:hidden;overflow-y:hidden;}.hide-sidebar .sidebar,.hide-sidebar .sidebar-resizer{display:none;}.sidebar-resizer{touch-action:none;width:9px;cursor:col-resize;z-index:calc(var(--desktop-sidebar-z-index) + 1);position:fixed;height:100%;left:calc(var(--desktop-sidebar-width) + 1px);}.rustdoc.src .sidebar-resizer{left:49px;}.src-sidebar-expanded .src .sidebar-resizer{left:var(--src-sidebar-width);}.sidebar-resizing{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;}.sidebar-resizing*{cursor:col-resize !important;}.sidebar-resizing .sidebar{position:fixed;}.sidebar-resizing>body{padding-left:var(--resizing-sidebar-width);}.sidebar-resizer:hover,.sidebar-resizer:active,.sidebar-resizer:focus,.sidebar-resizer.active{width:10px;margin:0;left:var(--desktop-sidebar-width);border-left:solid 1px var(--sidebar-resizer-hover);}.src-sidebar-expanded .rustdoc.src .sidebar-resizer:hover,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:active,.src-sidebar-expanded .rustdoc.src .sidebar-resizer:focus,.src-sidebar-expanded .rustdoc.src .sidebar-resizer.active{left:calc(var(--src-sidebar-width) - 1px);}@media (pointer:coarse){.sidebar-resizer{display:none !important;}}.sidebar-resizer.active{padding:0 140px;width:2px;margin-left:-140px;border-left:none;}.sidebar-resizer.active:before{border-left:solid 2px var(--sidebar-resizer-active);display:block;height:100%;content:"";}.sidebar,.mobile-topbar,.sidebar-menu-toggle,#src-sidebar{background-color:var(--sidebar-background-color);}.src .sidebar>*{visibility:hidden;}.src-sidebar-expanded .src .sidebar{overflow-y:auto;flex-basis:var(--src-sidebar-width);width:var(--src-sidebar-width);}.src-sidebar-expanded .src .sidebar>*{visibility:visible;}#all-types{margin-top:1em;}*{scrollbar-width:initial;scrollbar-color:var(--scrollbar-color);}.sidebar{scrollbar-width:thin;scrollbar-color:var(--scrollbar-color);}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;background-color:var(--scrollbar-track-background-color);}.sidebar::-webkit-scrollbar-track{background-color:var(--scrollbar-track-background-color);}::-webkit-scrollbar-thumb,.sidebar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb-background-color);}.hidden{display:none !important;}.logo-container>img{height:48px;width:48px;}ul.block,.block li,.block ul{padding:0;margin:0;list-style:none;}.block ul a{padding-left:1rem;}.sidebar-elems a,.sidebar>h2 a{display:block;padding:0.25rem;margin-right:0.25rem;border-left:solid var(--sidebar-elems-left-padding) transparent;margin-left:calc(-0.25rem - var(--sidebar-elems-left-padding));background-clip:border-box;}.hide-toc #rustdoc-toc,.hide-toc .in-crate{display:none;}.hide-modnav #rustdoc-modnav{display:none;}.sidebar h2{text-wrap:balance;overflow-wrap:anywhere;padding:0;margin:0.7rem 0;}.sidebar h3{text-wrap:balance;overflow-wrap:anywhere;font-size:1.125rem;padding:0;margin:0;}.sidebar-elems,.sidebar>.version,.sidebar>h2{padding-left:var(--sidebar-elems-left-padding);}.sidebar a{color:var(--sidebar-link-color);}.sidebar .current,.sidebar .current a,.sidebar-crate a.logo-container:hover+h2 a,.sidebar a:hover:not(.logo-container){background-color:var(--sidebar-current-link-background-color);}.sidebar-elems .block{margin-bottom:2em;}.sidebar-elems .block li a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.sidebar-crate{display:flex;align-items:center;justify-content:center;margin:14px 32px 1rem;row-gap:10px;column-gap:32px;flex-wrap:wrap;}.sidebar-crate h2{flex-grow:1;margin:0 -8px;align-self:start;}.sidebar-crate .logo-container{margin:0 calc(-16px - var(--sidebar-elems-left-padding));padding:0 var(--sidebar-elems-left-padding);text-align:center;}.sidebar-crate .logo-container img{margin-top:-16px;border-top:solid 16px transparent;box-sizing:content-box;position:relative;background-clip:border-box;z-index:1;}.sidebar-crate h2 a{display:block;border-left:solid var(--sidebar-elems-left-padding) transparent;background-clip:border-box;margin:0 calc(-24px + 0.25rem) 0 calc(-0.2rem - var(--sidebar-elems-left-padding));padding:calc((16px - 0.57rem ) / 2 ) 0.25rem;padding-left:0.2rem;}.sidebar-crate h2 .version{display:block;font-weight:normal;font-size:1rem;overflow-wrap:break-word;}.sidebar-crate+.version{margin-top:-1rem;margin-bottom:1rem;}.mobile-topbar{display:none;}.rustdoc .example-wrap{display:flex;position:relative;margin-bottom:10px;}.rustdoc .example-wrap>pre,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-radius:6px;}.rustdoc .example-wrap>.example-line-numbers,.rustdoc .scraped-example .src-line-numbers,.rustdoc .scraped-example .src-line-numbers>pre{border-top-right-radius:0;border-bottom-right-radius:0;}.rustdoc .example-wrap>.example-line-numbers+pre,.rustdoc .scraped-example .rust{border-top-left-radius:0;border-bottom-left-radius:0;}.rustdoc .scraped-example{position:relative;}.rustdoc .example-wrap:last-child{margin-bottom:0px;}.rustdoc .example-wrap pre{margin:0;flex-grow:1;}.scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 5 + 10px);}.more-scraped-examples .scraped-example:not(.expanded) .example-wrap{max-height:calc(1.5em * 10 + 10px);}.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers>pre,.rustdoc:not(.src) .scraped-example:not(.expanded) pre.rust{padding-bottom:0;overflow:auto hidden;}.rustdoc:not(.src) .scraped-example .src-line-numbers{padding-top:0;}.rustdoc:not(.src) .scraped-example.expanded .src-line-numbers{padding-bottom:0;}.rustdoc:not(.src) .example-wrap pre{overflow:auto;}.rustdoc .example-wrap pre.example-line-numbers,.rustdoc .example-wrap .src-line-numbers{min-width:fit-content;flex-grow:0;text-align:right;-webkit-user-select:none;user-select:none;padding:14px 8px;padding-right:2px;color:var(--src-line-numbers-span-color);}.rustdoc .scraped-example .example-wrap .src-line-numbers{padding:0;}.rustdoc .src-line-numbers pre{padding:14px 0;}.src-line-numbers a,.src-line-numbers span{color:var(--src-line-numbers-span-color);padding:0 8px;}.src-line-numbers :target{background-color:transparent;border-right:none;padding:0 8px;}.src-line-numbers .line-highlighted{background-color:var(--src-line-number-highlighted-background-color);}.search-loading{text-align:center;}.docblock-short{overflow-wrap:break-word;overflow-wrap:anywhere;}.docblock :not(pre)>code,.docblock-short code{white-space:pre-wrap;}.top-doc .docblock h2{font-size:1.375rem;}.top-doc .docblock h3{font-size:1.25rem;}.top-doc .docblock h4,.top-doc .docblock h5{font-size:1.125rem;}.top-doc .docblock h6{font-size:1rem;}.docblock h5{font-size:1rem;}.docblock h6{font-size:0.875rem;}.docblock{margin-left:24px;position:relative;}.docblock>:not(.more-examples-toggle):not(.example-wrap){max-width:100%;overflow-x:auto;}.sub-heading{font-size:1rem;flex-grow:0;grid-area:main-heading-sub-heading;line-height:1.25;padding-bottom:4px;}.main-heading rustdoc-toolbar,.main-heading .out-of-band{grid-area:main-heading-toolbar;}rustdoc-toolbar{display:flex;flex-direction:row;flex-wrap:nowrap;min-height:60px;}.docblock code,.docblock-short code,pre,.rustdoc.src .example-wrap,.example-wrap .src-line-numbers{background-color:var(--code-block-background-color);border-radius:var(--code-block-border-radius);}#main-content{position:relative;}.docblock table{margin:.5em 0;border-collapse:collapse;}.docblock table td,.docblock table th{padding:.5em;border:1px solid var(--border-color);}.docblock table tbody tr:nth-child(2n){background:var(--table-alt-row-background-color);}.docblock .stab,.docblock-short .stab{display:inline-block;}.docblock li{margin-bottom:.4em;}.docblock li p:not(:last-child){margin-bottom:.3em;}div.where{white-space:pre-wrap;font-size:0.875rem;}.item-info{display:block;margin-left:24px;}.item-info code{font-size:0.875rem;}#main-content>.item-info{margin-left:0;}nav.sub{flex-grow:1;flex-flow:row nowrap;margin:4px 0 0 0;display:flex;align-items:center;}.search-form{position:relative;display:flex;height:34px;flex-grow:1;}.src nav.sub{margin:0 0 -10px 0;}.section-header{display:block;position:relative;}.section-header:hover>.anchor,.impl:hover>.anchor,.trait-impl:hover>.anchor,.variant:hover>.anchor{display:initial;}.anchor{display:none;position:absolute;left:-0.5em;background:none !important;}.anchor.field{left:-5px;}.section-header>.anchor{left:-15px;padding-right:8px;}h2.section-header>.anchor{padding-right:6px;}a.doc-anchor{color:var(--main-color);display:none;position:absolute;left:-17px;padding-right:10px;padding-left:3px;}*:hover>.doc-anchor{display:block;}.top-doc>.docblock>*:first-child>.doc-anchor{display:none !important;}.main-heading a:hover,.example-wrap .rust a:hover,.all-items a:hover,.docblock a:not(.scrape-help):not(.tooltip):hover:not(.doc-anchor),.docblock-short a:not(.scrape-help):not(.tooltip):hover,.item-info a{text-decoration:underline;}.crate.block li.current a{font-weight:500;}table,.item-table{overflow-wrap:break-word;}.item-table{display:table;padding:0;margin:0;width:100%;}.item-table>li{display:table-row;}.item-table>li>div{display:table-cell;}.item-table>li>.item-name{padding-right:1.25rem;}.search-results-title{margin-top:0;white-space:nowrap;display:flex;align-items:baseline;}.search-results-title+.sub-heading{color:var(--main-color);display:flex;align-items:baseline;white-space:nowrap;}#crate-search-div{position:relative;min-width:0;}#crate-search{padding:0 23px 0 4px;max-width:100%;text-overflow:ellipsis;border:1px solid var(--border-color);border-radius:4px;outline:none;cursor:pointer;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;background-color:var(--main-background-color);color:inherit;line-height:1.5;font-weight:500;}#crate-search:hover,#crate-search:focus{border-color:var(--crate-search-hover-border);}#crate-search-div::after{pointer-events:none;width:100%;height:100%;position:absolute;top:0;left:0;content:"";background-repeat:no-repeat;background-size:20px;background-position:calc(100% - 2px) 56%;background-image:url('data:image/svg+xml, \ + ');filter:var(--crate-search-div-filter);}#crate-search-div:hover::after,#crate-search-div:focus-within::after{filter:var(--crate-search-div-hover-filter);}#crate-search>option{font-size:1rem;}.search-input{-webkit-appearance:none;outline:none;border:1px solid var(--border-color);border-radius:2px;padding:8px;font-size:1rem;flex-grow:1;background-color:var(--button-background-color);color:var(--search-color);}.search-input:focus{border-color:var(--search-input-focused-border-color);}.search-results{display:none;}.search-results.active{display:block;}.search-results>a{display:flex;margin-left:2px;margin-right:2px;border-bottom:1px solid var(--search-result-border-color);gap:1em;}.search-results>a>div.desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:2;}.search-results a:hover,.search-results a:focus{background-color:var(--search-result-link-focus-background-color);}.search-results .result-name{display:flex;align-items:center;justify-content:start;flex:3;}.search-results .result-name .alias{color:var(--search-results-alias-color);}.search-results .result-name .grey{color:var(--search-results-grey-color);}.search-results .result-name .typename{color:var(--search-results-grey-color);font-size:0.875rem;width:var(--search-typename-width);}.search-results .result-name .path{word-break:break-all;max-width:calc(100% - var(--search-typename-width));display:inline-block;}.search-results .result-name .path>*{display:inline;}.popover{position:absolute;top:100%;right:0;z-index:calc(var(--desktop-sidebar-z-index) + 1);margin-top:7px;border-radius:3px;border:1px solid var(--border-color);background-color:var(--main-background-color);color:var(--main-color);--popover-arrow-offset:11px;}.popover::before{content:'';position:absolute;right:var(--popover-arrow-offset);border:solid var(--border-color);border-width:1px 1px 0 0;background-color:var(--main-background-color);padding:4px;transform:rotate(-45deg);top:-5px;}.setting-line{margin:1.2em 0.6em;}.setting-radio input,.setting-check input{margin-right:0.3em;height:1.2rem;width:1.2rem;border:2px solid var(--settings-input-border-color);outline:none;-webkit-appearance:none;cursor:pointer;}.setting-radio input{border-radius:50%;}.setting-radio span,.setting-check span{padding-bottom:1px;}.setting-radio{margin-top:0.1em;margin-bottom:0.1em;min-width:3.8em;padding:0.3em;display:inline-flex;align-items:center;cursor:pointer;}.setting-radio+.setting-radio{margin-left:0.5em;}.setting-check{margin-right:20px;display:flex;align-items:center;cursor:pointer;}.setting-radio input:checked{box-shadow:inset 0 0 0 3px var(--main-background-color);background-color:var(--settings-input-color);}.setting-check input:checked{background-color:var(--settings-input-color);border-width:1px;content:url('data:image/svg+xml,\ + \ + ');}.setting-radio input:focus,.setting-check input:focus{box-shadow:0 0 1px 1px var(--settings-input-color);}.setting-radio input:checked:focus{box-shadow:inset 0 0 0 3px var(--main-background-color),0 0 2px 2px var(--settings-input-color);}.setting-radio input:hover,.setting-check input:hover{border-color:var(--settings-input-color) !important;}#settings.popover{--popover-arrow-offset:202px;top:calc(100% - 16px);}#help.popover{max-width:600px;--popover-arrow-offset:118px;top:calc(100% - 16px);}#help dt{float:left;clear:left;margin-right:0.5rem;}#help dd{margin-bottom:0.5rem;}#help span.top,#help span.bottom{text-align:center;display:block;font-size:1.125rem;padding:0 0.5rem;text-wrap-style:balance;}#help span.top{margin:10px 0;border-bottom:1px solid var(--border-color);padding-bottom:4px;margin-bottom:6px;}#help span.bottom{clear:both;border-top:1px solid var(--border-color);}.side-by-side{display:flex;margin-bottom:20px;}.side-by-side>div{width:50%;padding:0 20px 0 17px;}.item-info .stab{display:block;padding:3px;margin-bottom:5px;}.item-name .stab{margin-left:0.3125em;}.stab{padding:0 2px;font-size:0.875rem;font-weight:normal;color:var(--main-color);background-color:var(--stab-background-color);width:fit-content;white-space:pre-wrap;border-radius:3px;display:inline;vertical-align:baseline;}.stab.portability>code{background:none;color:var(--stab-code-color);}.stab .emoji,.item-info .stab::before{font-size:1.25rem;}.stab .emoji{margin-right:0.3rem;}.item-info .stab::before{content:"\0";width:0;display:inline-block;color:transparent;}.emoji{text-shadow:1px 0 0 black,-1px 0 0 black,0 1px 0 black,0 -1px 0 black;}.since{font-weight:normal;font-size:initial;}.rightside{padding-left:12px;float:right;}.rightside:not(a),.out-of-band,.sub-heading,rustdoc-toolbar{color:var(--right-side-color);}pre.rust{tab-size:4;-moz-tab-size:4;}pre.rust .kw{color:var(--code-highlight-kw-color);}pre.rust .kw-2{color:var(--code-highlight-kw-2-color);}pre.rust .lifetime{color:var(--code-highlight-lifetime-color);}pre.rust .prelude-ty{color:var(--code-highlight-prelude-color);}pre.rust .prelude-val{color:var(--code-highlight-prelude-val-color);}pre.rust .string{color:var(--code-highlight-string-color);}pre.rust .number{color:var(--code-highlight-number-color);}pre.rust .bool-val{color:var(--code-highlight-literal-color);}pre.rust .self{color:var(--code-highlight-self-color);}pre.rust .attr{color:var(--code-highlight-attribute-color);}pre.rust .macro,pre.rust .macro-nonterminal{color:var(--code-highlight-macro-color);}pre.rust .question-mark{font-weight:bold;color:var(--code-highlight-question-mark-color);}pre.rust .comment{color:var(--code-highlight-comment-color);}pre.rust .doccomment{color:var(--code-highlight-doc-comment-color);}.rustdoc.src .example-wrap pre.rust a{background:var(--codeblock-link-background);}.example-wrap.compile_fail,.example-wrap.should_panic{border-left:2px solid var(--codeblock-error-color);}.ignore.example-wrap{border-left:2px solid var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover,.example-wrap.should_panic:hover{border-left:2px solid var(--codeblock-error-hover-color);}.example-wrap.ignore:hover{border-left:2px solid var(--codeblock-ignore-hover-color);}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip{color:var(--codeblock-error-color);}.example-wrap.ignore .tooltip{color:var(--codeblock-ignore-color);}.example-wrap.compile_fail:hover .tooltip,.example-wrap.should_panic:hover .tooltip{color:var(--codeblock-error-hover-color);}.example-wrap.ignore:hover .tooltip{color:var(--codeblock-ignore-hover-color);}.example-wrap .tooltip{position:absolute;display:block;left:-25px;top:5px;margin:0;line-height:1;}.example-wrap.compile_fail .tooltip,.example-wrap.should_panic .tooltip,.example-wrap.ignore .tooltip{font-weight:bold;font-size:1.25rem;}.content .docblock .warning{border-left:2px solid var(--warning-border-color);padding:14px;position:relative;overflow-x:visible !important;}.content .docblock .warning::before{color:var(--warning-border-color);content:"ⓘ";position:absolute;left:-25px;top:5px;font-weight:bold;font-size:1.25rem;}.top-doc>.docblock>.warning:first-child::before{top:20px;}.example-wrap>a.test-arrow,.example-wrap .button-holder{visibility:hidden;position:absolute;top:4px;right:4px;z-index:1;}a.test-arrow{height:var(--copy-path-height);padding:6px 4px 0 11px;}a.test-arrow::before{content:url('data:image/svg+xml,');}.example-wrap .button-holder{display:flex;}@media not (pointer:coarse){.example-wrap:hover>a.test-arrow,.example-wrap:hover>.button-holder{visibility:visible;}}.example-wrap .button-holder.keep-visible{visibility:visible;}.example-wrap .button-holder>*{background:var(--main-background-color);cursor:pointer;border-radius:var(--button-border-radius);height:var(--copy-path-height);width:var(--copy-path-width);border:0;color:var(--code-example-button-color);}.example-wrap .button-holder>*:hover{color:var(--code-example-button-hover-color);}.example-wrap .button-holder>*:not(:first-child){margin-left:var(--button-left-margin);}.example-wrap .button-holder .copy-button{padding:2px 0 0 4px;}.example-wrap .button-holder .copy-button::before,.example-wrap .test-arrow::before{filter:var(--copy-path-img-filter);}.example-wrap .button-holder .copy-button::before{content:var(--clipboard-image);}.example-wrap .button-holder .copy-button:hover::before,.example-wrap .test-arrow:hover::before{filter:var(--copy-path-img-hover-filter);}.example-wrap .button-holder .copy-button.clicked::before{content:var(--checkmark-image);padding-right:5px;}.code-attribute{font-weight:300;color:var(--code-attribute-color);}.item-spacer{width:100%;height:12px;display:block;}.main-heading span.since::before{content:"Since ";}.sub-variant h4{font-size:1rem;font-weight:400;margin-top:0;margin-bottom:0;}.sub-variant{margin-left:24px;margin-bottom:40px;}.sub-variant>.sub-variant-field{margin-left:24px;}@keyframes targetfadein{from{background-color:var(--main-background-color);}10%{background-color:var(--target-border-color);}to{background-color:var(--target-background-color);}}:target{padding-right:3px;background-color:var(--target-background-color);border-right:3px solid var(--target-border-color);}.code-header a.tooltip{color:inherit;margin-right:15px;position:relative;}.code-header a.tooltip:hover{color:var(--link-color);}a.tooltip:hover::after{position:absolute;top:calc(100% - 10px);left:-15px;right:-15px;height:20px;content:"\00a0";}@media not (prefers-reduced-motion){:target{animation:0.65s cubic-bezier(0,0,0.1,1.0) 0.1s targetfadein;}.fade-out{opacity:0;transition:opacity 0.45s cubic-bezier(0,0,0.1,1.0);}}.popover.tooltip .content{margin:0.25em 0.5em;}.popover.tooltip .content pre,.popover.tooltip .content code{background:transparent;margin:0;padding:0;font-size:1.25rem;white-space:pre-wrap;}.popover.tooltip .content>h3:first-child{margin:0 0 5px 0;}.search-failed{text-align:center;margin-top:20px;display:none;}.search-failed.active{display:block;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#search-tabs{margin-top:0.25rem;display:flex;flex-direction:row;gap:1px;margin-bottom:4px;}#search-tabs button{text-align:center;font-size:1.125rem;border:0;border-top:2px solid;flex:1;line-height:1.5;color:inherit;}#search-tabs button:not(.selected){background-color:var(--search-tab-button-not-selected-background);border-top-color:var(--search-tab-button-not-selected-border-top-color);}#search-tabs button:hover,#search-tabs button.selected{background-color:var(--search-tab-button-selected-background);border-top-color:var(--search-tab-button-selected-border-top-color);}#search-tabs .count{font-size:1rem;font-variant-numeric:tabular-nums;color:var(--search-tab-title-count-color);}#search .error code{border-radius:3px;background-color:var(--search-error-code-background-color);}.search-corrections{font-weight:normal;}#src-sidebar{width:100%;overflow:auto;}#src-sidebar div.files>a:hover,details.dir-entry summary:hover,#src-sidebar div.files>a:focus,details.dir-entry summary:focus{background-color:var(--src-sidebar-background-hover);}#src-sidebar div.files>a.selected{background-color:var(--src-sidebar-background-selected);}.src-sidebar-title{position:sticky;top:0;display:flex;padding:8px 8px 0 48px;margin-bottom:7px;background:var(--sidebar-background-color);border-bottom:1px solid var(--border-color);}#settings-menu,#help-button,button#toggle-all-docs{margin-left:var(--button-left-margin);display:flex;line-height:1.25;min-width:14px;}#sidebar-button{display:none;line-height:0;}.hide-sidebar #sidebar-button,.src #sidebar-button{display:flex;margin-right:4px;position:fixed;left:6px;height:34px;width:34px;background-color:var(--main-background-color);z-index:1;}.src #sidebar-button{left:8px;z-index:calc(var(--desktop-sidebar-z-index) + 1);}.hide-sidebar .src #sidebar-button{position:static;}#settings-menu>a,#help-button>a,#sidebar-button>a,button#toggle-all-docs{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px solid transparent;border-radius:var(--button-border-radius);color:var(--main-color);}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:80px;border-radius:var(--toolbar-button-border-radius);}#settings-menu>a,#help-button>a{min-width:0;}#sidebar-button>a{background-color:var(--button-background-color);border-color:var(--border-color);width:33px;}#settings-menu>a:hover,#settings-menu>a:focus-visible,#help-button>a:hover,#help-button>a:focus-visible,#sidebar-button>a:hover,#sidebar-button>a:focus-visible,button#toggle-all-docs:hover,button#toggle-all-docs:focus-visible{border-color:var(--settings-button-border-focus);text-decoration:none;}#settings-menu>a:before{content:url('data:image/svg+xml,\ + ');width:18px;height:18px;filter:var(--settings-menu-filter);}button#toggle-all-docs:before{content:url('data:image/svg+xml,\ + ');width:18px;height:18px;filter:var(--settings-menu-filter);}#help-button>a:before{content:url('data:image/svg+xml,\ + \ + ?');width:18px;height:18px;filter:var(--settings-menu-filter);}button#toggle-all-docs:before,#help-button>a:before,#settings-menu>a:before{filter:var(--settings-menu-filter);margin:8px;}@media not (pointer:coarse){button#toggle-all-docs:hover:before,#help-button>a:hover:before,#settings-menu>a:hover:before{filter:var(--settings-menu-hover-filter);}}button[disabled]#toggle-all-docs{opacity:0.25;border:solid 1px var(--main-background-color);background-size:cover;}button[disabled]#toggle-all-docs:hover{border:solid 1px var(--main-background-color);cursor:not-allowed;}rustdoc-toolbar span.label{font-size:1rem;flex-grow:1;padding-bottom:4px;}#sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');width:22px;height:22px;}#copy-path{color:var(--copy-path-button-color);background:var(--main-background-color);height:var(--copy-path-height);width:var(--copy-path-width);margin-left:10px;padding:0;padding-left:2px;border:0;font-size:0;}#copy-path::before{filter:var(--copy-path-img-filter);content:var(--clipboard-image);}#copy-path:hover::before{filter:var(--copy-path-img-hover-filter);}#copy-path.clicked::before{content:var(--checkmark-image);}@keyframes rotating{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}#settings-menu.rotate>a img{animation:rotating 2s linear infinite;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px var(--border-color);border-radius:3px;color:var(--kbd-color);background-color:var(--kbd-background);box-shadow:inset 0 -1px 0 var(--kbd-box-shadow-color);}ul.all-items>li{list-style:none;}details.dir-entry{padding-left:4px;}details.dir-entry>summary{margin:0 0 0 -4px;padding:0 0 0 4px;cursor:pointer;}details.dir-entry div.folders,details.dir-entry div.files{padding-left:23px;}details.dir-entry a{display:block;}details.toggle{contain:layout;position:relative;}details.big-toggle{contain:inline-size;}details.toggle>summary.hideme{cursor:pointer;font-size:1rem;}details.toggle>summary{list-style:none;outline:none;}details.toggle>summary::-webkit-details-marker,details.toggle>summary::marker{display:none;}details.toggle>summary.hideme>span{margin-left:9px;}details.toggle>summary::before{background:url('data:image/svg+xml,\ + ');content:"";cursor:pointer;width:16px;height:16px;display:inline-block;vertical-align:middle;opacity:.5;filter:var(--toggle-filter);}details.toggle>summary.hideme>span,.more-examples-toggle summary,.more-examples-toggle .hide-more{color:var(--toggles-color);}details.toggle>summary::after{content:"Expand";overflow:hidden;width:0;height:0;position:absolute;}details.toggle>summary.hideme::after{content:"";}details.toggle>summary:focus::before,details.toggle>summary:hover::before{opacity:1;}details.toggle>summary:focus-visible::before{outline:1px dotted #000;outline-offset:1px;}details.non-exhaustive{margin-bottom:8px;}details.toggle>summary.hideme::before{position:relative;}details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;top:4px;}.impl-items>details.toggle>summary:not(.hideme)::before{position:absolute;left:-24px;}details.big-toggle>summary:not(.hideme)::before{left:-34px;top:9px;}details.toggle[open] >summary.hideme{position:absolute;}details.toggle[open] >summary.hideme>span{display:none;}details.toggle[open] >summary::before{background:url('data:image/svg+xml,\ + ');}details.toggle[open] >summary::after{content:"Collapse";}.docblock summary>*{display:inline-block;}.docblock>.example-wrap:first-child .tooltip{margin-top:16px;}.src #sidebar-button>a:before,.sidebar-menu-toggle:before{content:url('data:image/svg+xml,\ + ');opacity:0.75;}.sidebar-menu-toggle:hover:before,.sidebar-menu-toggle:active:before,.sidebar-menu-toggle:focus:before{opacity:1;}.src #sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');opacity:0.75;}@media (max-width:850px){#search-tabs .count{display:block;}.side-by-side{flex-direction:column-reverse;}.side-by-side>div{width:auto;}}@media (max-width:700px){*[id]{scroll-margin-top:45px;}#copy-path{display:none;}rustdoc-toolbar span.label{display:none;}#settings-menu>a,#help-button>a,button#toggle-all-docs{width:33px;}#settings.popover{--popover-arrow-offset:86px;}#help.popover{--popover-arrow-offset:48px;}.rustdoc{display:block;}main{padding-left:15px;padding-top:0px;}.sidebar .logo-container,.sidebar .location,.sidebar-resizer{display:none;}.sidebar{position:fixed;top:45px;left:-1000px;z-index:11;height:calc(100vh - 45px);width:200px;}.src main,.rustdoc.src .sidebar{top:0;padding:0;height:100vh;border:0;}.src .search-form{margin-left:40px;}.src .main-heading{margin-left:8px;}.hide-sidebar .search-form{margin-left:32px;}.hide-sidebar .src .search-form{margin-left:0;}.sidebar.shown,.src-sidebar-expanded .src .sidebar,.rustdoc:not(.src) .sidebar:focus-within{left:0;}.mobile-topbar h2{padding-bottom:0;margin:auto 0.5em auto auto;overflow:hidden;font-size:24px;white-space:nowrap;text-overflow:ellipsis;}.mobile-topbar .logo-container>img{max-width:35px;max-height:35px;margin:5px 0 5px 20px;}.mobile-topbar{display:flex;flex-direction:row;position:sticky;z-index:10;font-size:2rem;height:45px;width:100%;left:0;top:0;}.hide-sidebar .mobile-topbar{display:none;}.sidebar-menu-toggle{width:45px;border:none;line-height:0;}.hide-sidebar .sidebar-menu-toggle{display:none;}.sidebar-elems{margin-top:1em;}.anchor{display:none !important;}#main-content>details.toggle>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}#sidebar-button>a:before{content:url('data:image/svg+xml,\ + \ + \ + ');width:22px;height:22px;}.sidebar-menu-toggle:before{filter:var(--mobile-sidebar-menu-filter);}.sidebar-menu-toggle:hover{background:var(--main-background-color);}.item-table,.item-row,.item-table>li,.item-table>li>div,.search-results>a,.search-results>a>div{display:block;}.search-results>a{padding:5px 0px;}.search-results>a>div.desc,.item-table>li>div.desc{padding-left:2em;}.search-results .result-name{display:block;}.search-results .result-name .typename{width:initial;margin-right:0;}.search-results .result-name .typename,.search-results .result-name .path{display:inline;}.src-sidebar-expanded .src .sidebar{position:fixed;max-width:100vw;width:100vw;}.src .src-sidebar-title{padding-top:0;}details.toggle:not(.top-doc)>summary,.impl-items>section{margin-left:10px;}.impl-items>details.toggle>summary:not(.hideme)::before,#main-content>details.toggle:not(.top-doc)>summary::before,#main-content>div>details.toggle>summary::before{left:-11px;}.impl-items>.item-info{margin-left:34px;}.src nav.sub{margin:0 0 -25px 0;padding:var(--nav-sub-mobile-padding);}}@media (min-width:701px){.scraped-example-title{position:absolute;z-index:10;background:var(--main-background-color);bottom:8px;right:5px;padding:2px 4px;box-shadow:0 0 4px var(--main-background-color);}.item-table>li>.item-name{width:33%;}.item-table>li>div{overflow-wrap:anywhere;}}@media print{nav.sidebar,nav.sub,.out-of-band,a.src,#copy-path,details.toggle[open] >summary::before,details.toggle>summary::before,details.toggle.top-doc>summary{display:none;}.docblock{margin-left:0;}main{padding:10px;}}@media (max-width:464px){.docblock{margin-left:12px;}.docblock code{overflow-wrap:break-word;overflow-wrap:anywhere;}nav.sub{flex-direction:column;}.search-form{align-self:stretch;}}.variant,.implementors-toggle>summary,.impl,#implementors-list>.docblock,.impl-items>section,.impl-items>.toggle>summary,.methods>section,.methods>.toggle>summary{margin-bottom:0.75em;}.variants>.docblock,.implementors-toggle>.docblock,.impl-items>.toggle[open]:not(:last-child),.methods>.toggle[open]:not(:last-child),.implementors-toggle[open]:not(:last-child){margin-bottom:2em;}#trait-implementations-list .impl-items>.toggle:not(:last-child),#synthetic-implementations-list .impl-items>.toggle:not(:last-child),#blanket-implementations-list .impl-items>.toggle:not(:last-child){margin-bottom:1em;}.scraped-example-list .scrape-help{margin-left:10px;padding:0 4px;font-weight:normal;font-size:12px;position:relative;bottom:1px;border:1px solid var(--scrape-example-help-border-color);border-radius:50px;color:var(--scrape-example-help-color);}.scraped-example-list .scrape-help:hover{border-color:var(--scrape-example-help-hover-border-color);color:var(--scrape-example-help-hover-color);}.scraped-example:not(.expanded) .example-wrap::before,.scraped-example:not(.expanded) .example-wrap::after{content:" ";width:100%;height:5px;position:absolute;z-index:1;}.scraped-example:not(.expanded) .example-wrap::before{top:0;background:linear-gradient(to bottom,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded) .example-wrap::after{bottom:0;background:linear-gradient(to top,var(--scrape-example-code-wrapper-background-start),var(--scrape-example-code-wrapper-background-end));}.scraped-example:not(.expanded){width:100%;overflow-y:hidden;margin-bottom:0;}.scraped-example:not(.expanded){overflow-x:hidden;}.scraped-example .rust span.highlight{background:var(--scrape-example-code-line-highlight);}.scraped-example .rust span.highlight.focus{background:var(--scrape-example-code-line-highlight-focus);}.more-examples-toggle{max-width:calc(100% + 25px);margin-top:10px;margin-left:-25px;}.more-examples-toggle .hide-more{margin-left:25px;cursor:pointer;}.more-scraped-examples{margin-left:25px;position:relative;}.toggle-line{position:absolute;top:5px;bottom:0;right:calc(100% + 10px);padding:0 4px;cursor:pointer;}.toggle-line-inner{min-width:2px;height:100%;background:var(--scrape-example-toggle-line-background);}.toggle-line:hover .toggle-line-inner{background:var(--scrape-example-toggle-line-hover-background);}.more-scraped-examples .scraped-example,.example-links{margin-top:20px;}.more-scraped-examples .scraped-example:first-child{margin-top:5px;}.example-links ul{margin-bottom:0;}:root[data-theme="light"],:root:not([data-theme]){--main-background-color:white;--main-color:black;--settings-input-color:#2196f3;--settings-input-border-color:#717171;--settings-button-color:#000;--settings-button-border-focus:#717171;--sidebar-background-color:#f5f5f5;--sidebar-background-color-hover:#e0e0e0;--code-block-background-color:#f5f5f5;--scrollbar-track-background-color:#dcdcdc;--scrollbar-thumb-background-color:rgba(36,37,39,0.6);--scrollbar-color:rgba(36,37,39,0.6) #d9d9d9;--headings-border-bottom-color:#ddd;--border-color:#e0e0e0;--button-background-color:#fff;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:none;--mobile-sidebar-menu-filter:none;--search-input-focused-border-color:#66afe9;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(35%);--code-example-button-color:#7f7f7f;--code-example-button-hover-color:#595959;--settings-menu-filter:invert(50%);--settings-menu-hover-filter:invert(35%);--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ad378a;--trait-link-color:#6e4fc9;--assoc-item-link-color:#3873ad;--function-link-color:#ad7c37;--macro-link-color:#068000;--keyword-link-color:#3873ad;--mod-link-color:#3873ad;--link-color:#3873ad;--sidebar-link-color:#356da4;--sidebar-current-link-background-color:#fff;--search-result-link-focus-background-color:#ccc;--search-result-border-color:#aaa3;--search-color:#000;--search-error-code-background-color:#d0cccc;--search-results-alias-color:#000;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#e6e6e6;--search-tab-button-not-selected-background:#e6e6e6;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#fff;--stab-background-color:#fff5d6;--stab-code-color:#000;--code-highlight-kw-color:#8959a8;--code-highlight-kw-2-color:#4271ae;--code-highlight-lifetime-color:#b76514;--code-highlight-prelude-color:#4271ae;--code-highlight-prelude-val-color:#c82829;--code-highlight-number-color:#718c00;--code-highlight-string-color:#718c00;--code-highlight-literal-color:#c82829;--code-highlight-attribute-color:#c82829;--code-highlight-self-color:#c82829;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8e908c;--code-highlight-doc-comment-color:#4d4d4c;--src-line-numbers-span-color:#c67e2d;--src-line-number-highlighted-background-color:#fdffd3;--target-background-color:#fdffd3;--target-border-color:#ad7c37;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:initial;--crate-search-div-filter:invert(100%) sepia(0%) saturate(4223%) hue-rotate(289deg) brightness(114%) contrast(76%);--crate-search-div-hover-filter:invert(44%) sepia(18%) saturate(23%) hue-rotate(317deg) brightness(96%) contrast(93%);--crate-search-hover-border:#717171;--src-sidebar-background-selected:#fff;--src-sidebar-background-hover:#e0e0e0;--table-alt-row-background-color:#f5f5f5;--codeblock-link-background:#eee;--scrape-example-toggle-line-background:#ccc;--scrape-example-toggle-line-hover-background:#999;--scrape-example-code-line-highlight:#fcffd6;--scrape-example-code-line-highlight-focus:#f6fdb0;--scrape-example-help-border-color:#555;--scrape-example-help-color:#333;--scrape-example-help-hover-border-color:#000;--scrape-example-help-hover-color:#000;--scrape-example-code-wrapper-background-start:rgba(255,255,255,1);--scrape-example-code-wrapper-background-end:rgba(255,255,255,0);--sidebar-resizer-hover:hsl(207,90%,66%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="dark"]{--main-background-color:#353535;--main-color:#ddd;--settings-input-color:#2196f3;--settings-input-border-color:#999;--settings-button-color:#000;--settings-button-border-focus:#ffb900;--sidebar-background-color:#505050;--sidebar-background-color-hover:#676767;--code-block-background-color:#2A2A2A;--scrollbar-track-background-color:#717171;--scrollbar-thumb-background-color:rgba(32,34,37,.6);--scrollbar-color:rgba(32,34,37,.6) #5a5a5a;--headings-border-bottom-color:#d2d2d2;--border-color:#e0e0e0;--button-background-color:#f0f0f0;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#008dfd;--copy-path-button-color:#999;--copy-path-img-filter:invert(50%);--copy-path-img-hover-filter:invert(65%);--code-example-button-color:#7f7f7f;--code-example-button-hover-color:#a5a5a5;--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#2dbfb8;--trait-link-color:#b78cf2;--assoc-item-link-color:#d2991d;--function-link-color:#2bab63;--macro-link-color:#09bd00;--keyword-link-color:#d2991d;--mod-link-color:#d2991d;--link-color:#d2991d;--sidebar-link-color:#fdbf35;--sidebar-current-link-background-color:#444;--search-result-link-focus-background-color:#616161;--search-result-border-color:#aaa3;--search-color:#111;--search-error-code-background-color:#484848;--search-results-alias-color:#fff;--search-results-grey-color:#ccc;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:#252525;--search-tab-button-not-selected-background:#252525;--search-tab-button-selected-border-top-color:#0089ff;--search-tab-button-selected-background:#353535;--settings-menu-filter:invert(50%);--settings-menu-hover-filter:invert(65%);--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ab8ac1;--code-highlight-kw-2-color:#769acb;--code-highlight-lifetime-color:#d97f26;--code-highlight-prelude-color:#769acb;--code-highlight-prelude-val-color:#ee6868;--code-highlight-number-color:#83a300;--code-highlight-string-color:#83a300;--code-highlight-literal-color:#ee6868;--code-highlight-attribute-color:#ee6868;--code-highlight-self-color:#ee6868;--code-highlight-macro-color:#3e999f;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#8d8d8b;--code-highlight-doc-comment-color:#8ca375;--src-line-numbers-span-color:#3b91e2;--src-line-number-highlighted-background-color:#0a042f;--target-background-color:#494a3d;--target-border-color:#bb7410;--kbd-color:#000;--kbd-background:#fafbfc;--kbd-box-shadow-color:#c6cbd1;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(94%) sepia(0%) saturate(721%) hue-rotate(255deg) brightness(90%) contrast(90%);--crate-search-div-hover-filter:invert(69%) sepia(60%) saturate(6613%) hue-rotate(184deg) brightness(100%) contrast(91%);--crate-search-hover-border:#2196f3;--src-sidebar-background-selected:#333;--src-sidebar-background-hover:#444;--table-alt-row-background-color:#2a2a2a;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(53,53,53,1);--scrape-example-code-wrapper-background-end:rgba(53,53,53,0);--sidebar-resizer-hover:hsl(207,30%,54%);--sidebar-resizer-active:hsl(207,90%,54%);}:root[data-theme="ayu"]{--main-background-color:#0f1419;--main-color:#c5c5c5;--settings-input-color:#ffb454;--settings-input-border-color:#999;--settings-button-color:#fff;--settings-button-border-focus:#e0e0e0;--sidebar-background-color:#14191f;--sidebar-background-color-hover:rgba(70,70,70,0.33);--code-block-background-color:#191f26;--scrollbar-track-background-color:transparent;--scrollbar-thumb-background-color:#5c6773;--scrollbar-color:#5c6773 #24292f;--headings-border-bottom-color:#5c6773;--border-color:#5c6773;--button-background-color:#141920;--right-side-color:grey;--code-attribute-color:#999;--toggles-color:#999;--toggle-filter:invert(100%);--mobile-sidebar-menu-filter:invert(100%);--search-input-focused-border-color:#5c6773;--copy-path-button-color:#fff;--copy-path-img-filter:invert(70%);--copy-path-img-hover-filter:invert(100%);--code-example-button-color:#b2b2b2;--code-example-button-hover-color:#fff;--codeblock-error-hover-color:rgb(255,0,0);--codeblock-error-color:rgba(255,0,0,.5);--codeblock-ignore-hover-color:rgb(255,142,0);--codeblock-ignore-color:rgba(255,142,0,.6);--warning-border-color:#ff8e00;--type-link-color:#ffa0a5;--trait-link-color:#39afd7;--assoc-item-link-color:#39afd7;--function-link-color:#fdd687;--macro-link-color:#a37acc;--keyword-link-color:#39afd7;--mod-link-color:#39afd7;--link-color:#39afd7;--sidebar-link-color:#53b1db;--sidebar-current-link-background-color:transparent;--search-result-link-focus-background-color:#3c3c3c;--search-result-border-color:#aaa3;--search-color:#fff;--search-error-code-background-color:#4f4c4c;--search-results-alias-color:#c5c5c5;--search-results-grey-color:#999;--search-tab-title-count-color:#888;--search-tab-button-not-selected-border-top-color:none;--search-tab-button-not-selected-background:transparent !important;--search-tab-button-selected-border-top-color:none;--search-tab-button-selected-background:#141920 !important;--settings-menu-filter:invert(70%);--settings-menu-hover-filter:invert(100%);--stab-background-color:#314559;--stab-code-color:#e6e1cf;--code-highlight-kw-color:#ff7733;--code-highlight-kw-2-color:#ff7733;--code-highlight-lifetime-color:#ff7733;--code-highlight-prelude-color:#69f2df;--code-highlight-prelude-val-color:#ff7733;--code-highlight-number-color:#b8cc52;--code-highlight-string-color:#b8cc52;--code-highlight-literal-color:#ff7733;--code-highlight-attribute-color:#e6e1cf;--code-highlight-self-color:#36a3d9;--code-highlight-macro-color:#a37acc;--code-highlight-question-mark-color:#ff9011;--code-highlight-comment-color:#788797;--code-highlight-doc-comment-color:#a1ac88;--src-line-numbers-span-color:#5c6773;--src-line-number-highlighted-background-color:rgba(255,236,164,0.06);--target-background-color:rgba(255,236,164,0.06);--target-border-color:rgba(255,180,76,0.85);--kbd-color:#c5c5c5;--kbd-background:#314559;--kbd-box-shadow-color:#5c6773;--rust-logo-filter:drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff);--crate-search-div-filter:invert(41%) sepia(12%) saturate(487%) hue-rotate(171deg) brightness(94%) contrast(94%);--crate-search-div-hover-filter:invert(98%) sepia(12%) saturate(81%) hue-rotate(343deg) brightness(113%) contrast(76%);--crate-search-hover-border:#e0e0e0;--src-sidebar-background-selected:#14191f;--src-sidebar-background-hover:#14191f;--table-alt-row-background-color:#191f26;--codeblock-link-background:#333;--scrape-example-toggle-line-background:#999;--scrape-example-toggle-line-hover-background:#c5c5c5;--scrape-example-code-line-highlight:#5b3b01;--scrape-example-code-line-highlight-focus:#7c4b0f;--scrape-example-help-border-color:#aaa;--scrape-example-help-color:#eee;--scrape-example-help-hover-border-color:#fff;--scrape-example-help-hover-color:#fff;--scrape-example-code-wrapper-background-start:rgba(15,20,25,1);--scrape-example-code-wrapper-background-end:rgba(15,20,25,0);--sidebar-resizer-hover:hsl(34,50%,33%);--sidebar-resizer-active:hsl(34,100%,66%);}:root[data-theme="ayu"] h1,:root[data-theme="ayu"] h2,:root[data-theme="ayu"] h3,:root[data-theme="ayu"] h4,:where(:root[data-theme="ayu"]) h1 a,:root[data-theme="ayu"] .sidebar h2 a,:root[data-theme="ayu"] .sidebar h3 a{color:#fff;}:root[data-theme="ayu"] .docblock code{color:#ffb454;}:root[data-theme="ayu"] .docblock a>code{color:#39AFD7 !important;}:root[data-theme="ayu"] .code-header,:root[data-theme="ayu"] .docblock pre>code,:root[data-theme="ayu"] pre,:root[data-theme="ayu"] pre>code,:root[data-theme="ayu"] .item-info code,:root[data-theme="ayu"] .rustdoc.source .example-wrap{color:#e6e1cf;}:root[data-theme="ayu"] .sidebar .current,:root[data-theme="ayu"] .sidebar .current a,:root[data-theme="ayu"] .sidebar a:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:hover,:root[data-theme="ayu"] details.dir-entry summary:hover,:root[data-theme="ayu"] #src-sidebar div.files>a:focus,:root[data-theme="ayu"] details.dir-entry summary:focus,:root[data-theme="ayu"] #src-sidebar div.files>a.selected{color:#ffb44c;}:root[data-theme="ayu"] .sidebar-elems .location{color:#ff7733;}:root[data-theme="ayu"] .src-line-numbers .line-highlighted{color:#708090;padding-right:7px;border-right:1px solid #ffb44c;}:root[data-theme="ayu"] .search-results a:hover,:root[data-theme="ayu"] .search-results a:focus{color:#fff !important;background-color:#3c3c3c;}:root[data-theme="ayu"] .search-results a{color:#0096cf;}:root[data-theme="ayu"] .search-results a div.desc{color:#c5c5c5;}:root[data-theme="ayu"] .result-name .primitive>i,:root[data-theme="ayu"] .result-name .keyword>i{color:#788797;}:root[data-theme="ayu"] #search-tabs>button.selected{border-bottom:1px solid #ffb44c !important;border-top:none;}:root[data-theme="ayu"] #search-tabs>button:not(.selected){border:none;background-color:transparent !important;}:root[data-theme="ayu"] #search-tabs>button:hover{border-bottom:1px solid rgba(242,151,24,0.3);}:root[data-theme="ayu"] #settings-menu>a img,:root[data-theme="ayu"] #sidebar-button>a:before{filter:invert(100);} \ No newline at end of file diff --git a/static.files/scrape-examples-46fc985aa763a438.js b/static.files/scrape-examples-46fc985aa763a438.js new file mode 100644 index 000000000..87b6065d8 --- /dev/null +++ b/static.files/scrape-examples-46fc985aa763a438.js @@ -0,0 +1 @@ +"use strict";(function(){const DEFAULT_MAX_LINES=5;const HIDDEN_MAX_LINES=10;function scrollToLoc(elt,loc,isHidden){const lines=elt.querySelector(".src-line-numbers > pre");let scrollOffset;const maxLines=isHidden?HIDDEN_MAX_LINES:DEFAULT_MAX_LINES;if(loc[1]-loc[0]>maxLines){const line=Math.max(0,loc[0]-1);scrollOffset=lines.children[line].offsetTop}else{const halfHeight=elt.offsetHeight/2;const offsetTop=lines.children[loc[0]].offsetTop;const lastLine=lines.children[loc[1]];const offsetBot=lastLine.offsetTop+lastLine.offsetHeight;const offsetMid=(offsetTop+offsetBot)/2;scrollOffset=offsetMid-halfHeight}lines.parentElement.scrollTo(0,scrollOffset);elt.querySelector(".rust").scrollTo(0,scrollOffset)}function createScrapeButton(parent,className,content){const button=document.createElement("button");button.className=className;button.innerText=content;parent.insertBefore(button,parent.firstChild);return button}window.updateScrapedExample=(example,buttonHolder)=>{let locIndex=0;const highlights=Array.prototype.slice.call(example.querySelectorAll(".highlight"));const link=example.querySelector(".scraped-example-title a");let expandButton=null;if(!example.classList.contains("expanded")){expandButton=createScrapeButton(buttonHolder,"expand","↕")}const isHidden=example.parentElement.classList.contains("more-scraped-examples");const locs=example.locs;if(locs.length>1){const next=createScrapeButton(buttonHolder,"next","≻");const prev=createScrapeButton(buttonHolder,"prev","≺");const onChangeLoc=changeIndex=>{removeClass(highlights[locIndex],"focus");changeIndex();scrollToLoc(example,locs[locIndex][0],isHidden);addClass(highlights[locIndex],"focus");const url=locs[locIndex][1];const title=locs[locIndex][2];link.href=url;link.innerHTML=title};prev.addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex-1+locs.length)%locs.length})});next.addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex+1)%locs.length})})}if(expandButton){expandButton.addEventListener("click",()=>{if(hasClass(example,"expanded")){removeClass(example,"expanded");scrollToLoc(example,locs[0][0],isHidden)}else{addClass(example,"expanded")}})}};function setupLoc(example,isHidden){example.locs=JSON.parse(example.attributes.getNamedItem("data-locs").textContent);scrollToLoc(example,example.locs[0][0],isHidden)}const firstExamples=document.querySelectorAll(".scraped-example-list > .scraped-example");onEachLazy(firstExamples,el=>setupLoc(el,false));onEachLazy(document.querySelectorAll(".more-examples-toggle"),toggle=>{onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"),button=>{button.addEventListener("click",()=>{toggle.open=false})});const moreExamples=toggle.querySelectorAll(".scraped-example");toggle.querySelector("summary").addEventListener("click",()=>{setTimeout(()=>{onEachLazy(moreExamples,el=>setupLoc(el,true))})},{once:true})})})() \ No newline at end of file diff --git a/static.files/scrape-examples-ef1e698c1d417c0c.js b/static.files/scrape-examples-ef1e698c1d417c0c.js deleted file mode 100644 index ba830e374..000000000 --- a/static.files/scrape-examples-ef1e698c1d417c0c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(function(){const DEFAULT_MAX_LINES=5;const HIDDEN_MAX_LINES=10;function scrollToLoc(elt,loc,isHidden){const lines=elt.querySelector(".src-line-numbers");let scrollOffset;const maxLines=isHidden?HIDDEN_MAX_LINES:DEFAULT_MAX_LINES;if(loc[1]-loc[0]>maxLines){const line=Math.max(0,loc[0]-1);scrollOffset=lines.children[line].offsetTop}else{const wrapper=elt.querySelector(".code-wrapper");const halfHeight=wrapper.offsetHeight/2;const offsetTop=lines.children[loc[0]].offsetTop;const lastLine=lines.children[loc[1]];const offsetBot=lastLine.offsetTop+lastLine.offsetHeight;const offsetMid=(offsetTop+offsetBot)/2;scrollOffset=offsetMid-halfHeight}lines.scrollTo(0,scrollOffset);elt.querySelector(".rust").scrollTo(0,scrollOffset)}function updateScrapedExample(example,isHidden){const locs=JSON.parse(example.attributes.getNamedItem("data-locs").textContent);let locIndex=0;const highlights=Array.prototype.slice.call(example.querySelectorAll(".highlight"));const link=example.querySelector(".scraped-example-title a");if(locs.length>1){const onChangeLoc=changeIndex=>{removeClass(highlights[locIndex],"focus");changeIndex();scrollToLoc(example,locs[locIndex][0],isHidden);addClass(highlights[locIndex],"focus");const url=locs[locIndex][1];const title=locs[locIndex][2];link.href=url;link.innerHTML=title};example.querySelector(".prev").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex-1+locs.length)%locs.length})});example.querySelector(".next").addEventListener("click",()=>{onChangeLoc(()=>{locIndex=(locIndex+1)%locs.length})})}const expandButton=example.querySelector(".expand");if(expandButton){expandButton.addEventListener("click",()=>{if(hasClass(example,"expanded")){removeClass(example,"expanded");scrollToLoc(example,locs[0][0],isHidden)}else{addClass(example,"expanded")}})}scrollToLoc(example,locs[0][0],isHidden)}const firstExamples=document.querySelectorAll(".scraped-example-list > .scraped-example");onEachLazy(firstExamples,el=>updateScrapedExample(el,false));onEachLazy(document.querySelectorAll(".more-examples-toggle"),toggle=>{onEachLazy(toggle.querySelectorAll(".toggle-line, .hide-more"),button=>{button.addEventListener("click",()=>{toggle.open=false})});const moreExamples=toggle.querySelectorAll(".scraped-example");toggle.querySelector("summary").addEventListener("click",()=>{setTimeout(()=>{onEachLazy(moreExamples,el=>updateScrapedExample(el,true))})},{once:true})})})() \ No newline at end of file diff --git a/static.files/search-a99f1315e7cc5121.js b/static.files/search-a99f1315e7cc5121.js deleted file mode 100644 index aee0fc77f..000000000 --- a/static.files/search-a99f1315e7cc5121.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}(function(){const itemTypes=["keyword","primitive","mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","associatedtype","constant","associatedconstant","union","foreigntype","existential","attr","derive","traitalias","generic",];const TY_GENERIC=itemTypes.indexOf("generic");const TY_IMPORT=itemTypes.indexOf("import");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";const UNBOXING_LIMIT=5;const REGEX_IDENT=/\p{ID_Start}\p{ID_Continue}*|_\p{ID_Continue}+/uy;const REGEX_INVALID_TYPE_FILTER=/[^a-z]/ui;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name,gen.bindingName.generics);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;for(let i=0;i=start&&value<=(start+lenm1)){return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){const l=this.cardinality*2;for(let i=0;i>3]&(1<<(value&7)))}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,}}else if(pathIndex===0){result={id:null,ty:null,path:null,exactPath:null,generics,bindings,}}else{const item=lowercasePaths[pathIndex-1];result={id:this.buildTypeMapIndex(item.name,isAssocType),ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output,fps){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));fps.add(input)}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output,fps)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output,fps)}output[3]=fps.size}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=lowercasePaths=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,id,word:crate,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),bitIndex:0,implDisambiguator:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3?itemPaths.get(elem[3]):path;lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath});paths[i]={ty,name,path,exactPath}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);const fps=new Set();for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp,fps)}}}}const itemParentIdx=itemParentIdxDecoder.next();const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,id,word,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos"]}break}else{parserState.pos+=1}}}userQuery=userQuery.trim().replace(/\r|\n|\t/g," ");const parserState={length:userQuery.length,pos:0,totalElems:0,genericsElems:0,typeFilter:null,isInBinding:null,userQuery:userQuery.toLowerCase(),};let query=newParsedQuery(userQuery);try{parseInput(query,parserState);for(const elem of query.elems){convertTypeFilterOnElem(elem)}for(const elem of query.returned){convertTypeFilterOnElem(elem)}}catch(err){query=newParsedQuery(userQuery);query.error=err;return query}if(!query.literalSearch){query.literalSearch=parserState.totalElems>1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=results=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=this.searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};const sortResults=async(results,isType,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const casedUserQuery=parsedQuery.original;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;a=(aaa.item.name!==casedUserQuery);b=(bbb.item.name!==casedUserQuery);if(a!==b){return a-b}a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,queryElem.id);if(!solutionCb||solutionCb(mgensScratch)){return true}}else if(!solutionCb||solutionCb(mgens?new Map(mgens):null)){return true}}for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,0);if(unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,)){return true}}else if(unifyFunctionTypes([...fnType.generics,...Array.from(fnType.bindings.values()).flat()],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,)){return true}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==queryElem.id){continue}mgensScratch.set(fnType.id,queryElem.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return!solutionCb||solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){const passesUnification=unifyFunctionTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(passesUnification){return true}}return false},unboxingDepth,);if(passesUnification){return true}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==0){continue}mgensScratch.set(fnType.id,0)}else{mgensScratch=mgens}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...generics,...bindings),queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,);if(passesUnification){return true}}return false}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn){if(mgensIn.has(fnType.id)&&mgensIn.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgensIn.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...simplifiedGenerics,...binds]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0&&queryElem.id>=0){if(!whereClause){return false}if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}const mgensTmp=new Map(mgens);mgensTmp.set(fnType.id,null);return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgensTmp,unboxingDepth,)}else if(fnType.generics.length>0||fnType.bindings.size>0){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.bindings.size===0&&elem.bindings.size===0){if(elem.id<0&&mgens===null){return row.id<0||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth+1,)}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&typePassesFilter(elem.typeFilter,row.ty)&&elem.generics.length===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfTupleOrUnit&&elem.id!==this.typeNameIdOfHof){return row.id===elem.id||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth,)}}return unifyFunctionTypes([row],[elem],whereClause,mgens,null,unboxingDepth)};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance,){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let path_dist=0;const fullId=row.id;const tfpDist=compareTypeFingerprints(fullId,parsedQuery.typeFingerprint,);if(tfpDist!==null){const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause,null,0);const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause,null,0);if(in_args){results_in_args.max_dist=Math.max(results_in_args.max_dist||0,tfpDist);const maxDist=results_in_args.sizenormalizedIndex&&normalizedIndex!==-1)){index=normalizedIndex}if(elem.fullPath.length>1){path_dist=checkPath(elem.pathWithoutLast,row);if(path_dist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance);if(index===-1&&dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,null,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};const fps=new Set();for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}if(parsedQuery.foundElems===1&&parsedQuery.returned.length===0){if(parsedQuery.elems.length===1){const elem=parsedQuery.elems[0];const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement("div");if(array.length>0){output.className="search-results "+extraClass;for(const item of array){const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ -${item.alias} - see \ -
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ -${item.displayPath}${name}\ -
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)}}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,array.length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,true),addTab(results.in_args,results.query,false),addTab(results.returned,results.query,false),]);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates=" in 
    "}let output=`

    Results${crates}

    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.original+"\" Search - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}})() \ No newline at end of file diff --git a/static.files/search-f0d225181b97f9a4.js b/static.files/search-f0d225181b97f9a4.js new file mode 100644 index 000000000..d34fb34c6 --- /dev/null +++ b/static.files/search-f0d225181b97f9a4.js @@ -0,0 +1,6 @@ +"use strict";if(!Array.prototype.toSpliced){Array.prototype.toSpliced=function(){const me=this.slice();Array.prototype.splice.apply(me,arguments);return me}}(function(){const itemTypes=["keyword","primitive","mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","associatedtype","constant","associatedconstant","union","foreigntype","existential","attr","derive","traitalias","generic",];const TY_GENERIC=itemTypes.indexOf("generic");const TY_IMPORT=itemTypes.indexOf("import");const ROOT_PATH=typeof window!=="undefined"?window.rootPath:"../";const UNBOXING_LIMIT=5;const REGEX_IDENT=/\p{ID_Start}\p{ID_Continue}*|_\p{ID_Continue}+/uy;const REGEX_INVALID_TYPE_FILTER=/[^a-z]/ui;const MAX_RESULTS=200;const NO_TYPE_FILTER=-1;const editDistanceState={current:[],prev:[],prevPrev:[],calculate:function calculate(a,b,limit){if(a.lengthlimit){return limit+1}while(b.length>0&&b[0]===a[0]){a=a.substring(1);b=b.substring(1)}while(b.length>0&&b[b.length-1]===a[a.length-1]){a=a.substring(0,a.length-1);b=b.substring(0,b.length-1)}if(b.length===0){return minDist}const aLength=a.length;const bLength=b.length;for(let i=0;i<=bLength;++i){this.current[i]=0;this.prev[i]=i;this.prevPrev[i]=Number.MAX_VALUE}for(let i=1;i<=aLength;++i){this.current[0]=i;const aIdx=i-1;for(let j=1;j<=bLength;++j){const bIdx=j-1;const substitutionCost=a[aIdx]===b[bIdx]?0:1;this.current[j]=Math.min(this.prev[j]+1,this.current[j-1]+1,this.prev[j-1]+substitutionCost,);if((i>1)&&(j>1)&&(a[aIdx]===b[bIdx-1])&&(a[aIdx-1]===b[bIdx])){this.current[j]=Math.min(this.current[j],this.prevPrev[j-2]+1,)}}const prevPrevTmp=this.prevPrev;this.prevPrev=this.prev;this.prev=this.current;this.current=prevPrevTmp}const distance=this.prev[bLength];return distance<=limit?distance:(limit+1)},};function editDistance(a,b,limit){return editDistanceState.calculate(a,b,limit)}function isEndCharacter(c){return"=,>-])".indexOf(c)!==-1}function isSeparatorCharacter(c){return c===","||c==="="}function isReturnArrow(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="->"}function skipWhitespace(parserState){while(parserState.pos0){const c=parserState.userQuery[pos-1];if(c===lookingFor){return true}else if(c!==" "){break}pos-=1}return false}function isLastElemGeneric(elems,parserState){return(elems.length>0&&elems[elems.length-1].generics.length>0)||prevIs(parserState,">")}function getFilteredNextElem(query,parserState,elems,isInGenerics){const start=parserState.pos;if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){throw["Expected type filter before ",":"]}getNextElem(query,parserState,elems,isInGenerics);if(parserState.userQuery[parserState.pos]===":"&&!isPathStart(parserState)){if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}if(elems.length===0){throw["Expected type filter before ",":"]}else if(query.literalSearch){throw["Cannot use quotes on type filter"]}const typeFilterElem=elems.pop();checkExtraTypeFilterCharacters(start,parserState);parserState.typeFilter=typeFilterElem.name;parserState.pos+=1;parserState.totalElems-=1;query.literalSearch=false;getNextElem(query,parserState,elems,isInGenerics)}}function getItemsBefore(query,parserState,elems,endChar){let foundStopChar=true;let foundSeparator=false;const oldTypeFilter=parserState.typeFilter;parserState.typeFilter=null;const oldIsInBinding=parserState.isInBinding;parserState.isInBinding=null;let hofParameters=null;let extra="";if(endChar===">"){extra="<"}else if(endChar==="]"){extra="["}else if(endChar===")"){extra="("}else if(endChar===""){extra="->"}else{extra=endChar}while(parserState.pos"," after ","="]}hofParameters=[...elems];elems.length=0;parserState.pos+=2;foundStopChar=true;foundSeparator=false;continue}else if(c===" "){parserState.pos+=1;continue}else if(isSeparatorCharacter(c)){parserState.pos+=1;foundStopChar=true;foundSeparator=true;continue}else if(c===":"&&isPathStart(parserState)){throw["Unexpected ","::",": paths cannot start with ","::"]}else if(isEndCharacter(c)){throw["Unexpected ",c," after ",extra]}if(!foundStopChar){let extra=[];if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(endChar!==""){throw["Expected ",",",", ","=",", or ",endChar,...extra,", found ",c,]}throw["Expected ",","," or ","=",...extra,", found ",c,]}const posBefore=parserState.pos;getFilteredNextElem(query,parserState,elems,endChar!=="");if(endChar!==""&&parserState.pos>=parserState.length){throw["Unclosed ",extra]}if(posBefore===parserState.pos){parserState.pos+=1}foundStopChar=false}if(parserState.pos>=parserState.length&&endChar!==""){throw["Unclosed ",extra]}parserState.pos+=1;if(hofParameters){foundSeparator=false;if([...elems,...hofParameters].some(x=>x.bindingName)||parserState.isInBinding){throw["Unexpected ","="," within ","->"]}const hofElem=makePrimitiveElement("->",{generics:hofParameters,bindings:new Map([["output",[...elems]]]),typeFilter:null,});elems.length=0;elems[0]=hofElem}parserState.typeFilter=oldTypeFilter;parserState.isInBinding=oldIsInBinding;return{foundSeparator}}function getNextElem(query,parserState,elems,isInGenerics){const generics=[];skipWhitespace(parserState);let start=parserState.pos;let end;if("[(".indexOf(parserState.userQuery[parserState.pos])!==-1){let endChar=")";let name="()";let friendlyName="tuple";if(parserState.userQuery[parserState.pos]==="["){endChar="]";name="[]";friendlyName="slice"}parserState.pos+=1;const{foundSeparator}=getItemsBefore(query,parserState,generics,endChar);const typeFilter=parserState.typeFilter;const bindingName=parserState.isInBinding;parserState.typeFilter=null;parserState.isInBinding=null;for(const gen of generics){if(gen.bindingName!==null){throw["Type parameter ","=",` cannot be within ${friendlyName} `,name]}}if(name==="()"&&!foundSeparator&&generics.length===1&&typeFilter===null){elems.push(generics[0])}else if(name==="()"&&generics.length===1&&generics[0].name==="->"){generics[0].typeFilter=typeFilter;elems.push(generics[0])}else{if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive ",name," and ",typeFilter," both specified",]}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}elems.push(makePrimitiveElement(name,{bindingName,generics}))}}else if(parserState.userQuery[parserState.pos]==="&"){if(parserState.typeFilter!==null&&parserState.typeFilter!=="primitive"){throw["Invalid search type: primitive ","&"," and ",parserState.typeFilter," both specified",]}parserState.typeFilter=null;parserState.pos+=1;let c=parserState.userQuery[parserState.pos];while(c===" "&&parserState.pos=end){throw["Found generics without a path"]}parserState.pos+=1;getItemsBefore(query,parserState,generics,">")}else if(parserState.pos=end){throw["Found generics without a path"]}if(parserState.isInBinding){throw["Unexpected ","("," after ","="]}parserState.pos+=1;const typeFilter=parserState.typeFilter;parserState.typeFilter=null;getItemsBefore(query,parserState,generics,")");skipWhitespace(parserState);if(isReturnArrow(parserState)){parserState.pos+=2;skipWhitespace(parserState);getFilteredNextElem(query,parserState,generics,isInGenerics);generics[generics.length-1].bindingName=makePrimitiveElement("output")}else{generics.push(makePrimitiveElement(null,{bindingName:makePrimitiveElement("output"),typeFilter:null,}))}parserState.typeFilter=typeFilter}if(isStringElem){skipWhitespace(parserState)}if(start>=end&&generics.length===0){return}if(parserState.userQuery[parserState.pos]==="="){if(parserState.isInBinding){throw["Cannot write ","="," twice in a binding"]}if(!isInGenerics){throw["Type parameter ","="," must be within generics list"]}const name=parserState.userQuery.slice(start,end).trim();if(name==="!"){throw["Type parameter ","="," key cannot be ","!"," never type"]}if(name.includes("!")){throw["Type parameter ","="," key cannot be ","!"," macro"]}if(name.includes("::")){throw["Type parameter ","="," key cannot contain ","::"," path"]}if(name.includes(":")){throw["Type parameter ","="," key cannot contain ",":"," type"]}parserState.isInBinding={name,generics}}else{elems.push(createQueryElement(query,parserState,parserState.userQuery.slice(start,end),generics,isInGenerics,),)}}}function checkExtraTypeFilterCharacters(start,parserState){const query=parserState.userQuery.slice(start,parserState.pos).trim();const match=query.match(REGEX_INVALID_TYPE_FILTER);if(match){throw["Unexpected ",match[0]," in type filter (before ",":",")",]}}function createQueryElement(query,parserState,name,generics,isInGenerics){const path=name.trim();if(path.length===0&&generics.length===0){throw["Unexpected ",parserState.userQuery[parserState.pos]]}if(query.literalSearch&&parserState.totalElems-parserState.genericsElems>0){throw["Cannot have more than one element if you use quotes"]}const typeFilter=parserState.typeFilter;parserState.typeFilter=null;if(name.trim()==="!"){if(typeFilter!==null&&typeFilter!=="primitive"){throw["Invalid search type: primitive never type ","!"," and ",typeFilter," both specified",]}if(generics.length!==0){throw["Never type ","!"," does not accept generic parameters",]}const bindingName=parserState.isInBinding;parserState.isInBinding=null;return makePrimitiveElement("never",{bindingName})}const quadcolon=/::\s*::/.exec(path);if(path.startsWith("::")){throw["Paths cannot start with ","::"]}else if(path.endsWith("::")){throw["Paths cannot end with ","::"]}else if(quadcolon!==null){throw["Unexpected ",quadcolon[0]]}const pathSegments=path.split(/(?:::\s*)|(?:\s+(?:::\s*)?)/);if(pathSegments.length===0||(pathSegments.length===1&&pathSegments[0]==="")){if(generics.length>0||prevIs(parserState,">")){throw["Found generics without a path"]}else{throw["Unexpected ",parserState.userQuery[parserState.pos]]}}for(const[i,pathSegment]of pathSegments.entries()){if(pathSegment==="!"){if(i!==0){throw["Never type ","!"," is not associated item"]}pathSegments[i]="never"}}parserState.totalElems+=1;if(isInGenerics){parserState.genericsElems+=1}const bindingName=parserState.isInBinding;parserState.isInBinding=null;const bindings=new Map();const pathLast=pathSegments[pathSegments.length-1];return{name:name.trim(),id:null,fullPath:pathSegments,pathWithoutLast:pathSegments.slice(0,pathSegments.length-1),pathLast,normalizedPathLast:pathLast.replace(/_/g,""),generics:generics.filter(gen=>{if(gen.bindingName!==null){if(gen.name!==null){gen.bindingName.generics.unshift(gen)}bindings.set(gen.bindingName.name,gen.bindingName.generics);return false}return true}),bindings,typeFilter,bindingName,}}function makePrimitiveElement(name,extra){return Object.assign({name,id:null,fullPath:[name],pathWithoutLast:[],pathLast:name,normalizedPathLast:name,generics:[],bindings:new Map(),typeFilter:"primitive",bindingName:null,},extra)}function getStringElem(query,parserState,isInGenerics){if(isInGenerics){throw["Unexpected ","\""," in generics"]}else if(query.literalSearch){throw["Cannot have more than one literal search element"]}else if(parserState.totalElems-parserState.genericsElems>0){throw["Cannot use literal search when there is more than one element"]}parserState.pos+=1;const start=parserState.pos;const end=getIdentEndPosition(parserState);if(parserState.pos>=parserState.length){throw["Unclosed ","\""]}else if(parserState.userQuery[end]!=="\""){throw["Unexpected ",parserState.userQuery[end]," in a string element"]}else if(start===end){throw["Cannot have empty string element"]}parserState.pos+=1;query.literalSearch=true}function getIdentEndPosition(parserState){let afterIdent=consumeIdent(parserState);let end=parserState.pos;let macroExclamation=-1;while(parserState.pos0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]," (not a valid identifier)"]}else{throw["Unexpected ",c," (not a valid identifier)"]}parserState.pos+=1;afterIdent=consumeIdent(parserState);end=parserState.pos}if(macroExclamation!==-1){if(parserState.typeFilter===null){parserState.typeFilter="macro"}else if(parserState.typeFilter!=="macro"){throw["Invalid search type: macro ","!"," and ",parserState.typeFilter," both specified",]}end=macroExclamation}return end}function isSpecialStartCharacter(c){return"<\"".indexOf(c)!==-1}function isPathStart(parserState){return parserState.userQuery.slice(parserState.pos,parserState.pos+2)==="::"}function consumeIdent(parserState){REGEX_IDENT.lastIndex=parserState.pos;const match=parserState.userQuery.match(REGEX_IDENT);if(match){parserState.pos+=match[0].length;return true}return false}function isPathSeparator(c){return c===":"||c===" "}class VlqHexDecoder{constructor(string,cons){this.string=string;this.cons=cons;this.offset=0;this.backrefQueue=[]}decodeList(){let c=this.string.charCodeAt(this.offset);const ret=[];while(c!==125){ret.push(this.decode());c=this.string.charCodeAt(this.offset)}this.offset+=1;return ret}decode(){let n=0;let c=this.string.charCodeAt(this.offset);if(c===123){this.offset+=1;return this.decodeList()}while(c<96){n=(n<<4)|(c&0xF);this.offset+=1;c=this.string.charCodeAt(this.offset)}n=(n<<4)|(c&0xF);const[sign,value]=[n&1,n>>1];this.offset+=1;return sign?-value:value}next(){const c=this.string.charCodeAt(this.offset);if(c>=48&&c<64){this.offset+=1;return this.backrefQueue[c-48]}if(c===96){this.offset+=1;return this.cons(0)}const result=this.cons(this.decode());this.backrefQueue.unshift(result);if(this.backrefQueue.length>16){this.backrefQueue.pop()}return result}}class RoaringBitmap{constructor(str){const strdecoded=atob(str);const u8array=new Uint8Array(strdecoded.length);for(let j=0;j=4){offsets=[];for(let j=0;j>3]&(1<<(j&0x7))){const runcount=(u8array[i]|(u8array[i+1]<<8));i+=2;this.containers.push(new RoaringBitmapRun(runcount,u8array.slice(i,i+(runcount*4)),));i+=runcount*4}else if(this.cardinalities[j]>=4096){this.containers.push(new RoaringBitmapBits(u8array.slice(i,i+8192)));i+=8192}else{const end=this.cardinalities[j]*2;this.containers.push(new RoaringBitmapArray(this.cardinalities[j],u8array.slice(i,i+end),));i+=end}}}contains(keyvalue){const key=keyvalue>>16;const value=keyvalue&0xFFFF;for(let i=0;i=start&&value<=(start+lenm1)){return true}}return false}}class RoaringBitmapArray{constructor(cardinality,array){this.cardinality=cardinality;this.array=array}contains(value){const l=this.cardinality*2;for(let i=0;i>3]&(1<<(value&7)))}}class DocSearch{constructor(rawSearchIndex,rootPath,searchState){this.searchIndexDeprecated=new Map();this.searchIndexEmptyDesc=new Map();this.functionTypeFingerprint=null;this.typeNameIdMap=new Map();this.ALIASES=new Map();this.rootPath=rootPath;this.searchState=searchState;this.typeNameIdOfArray=this.buildTypeMapIndex("array");this.typeNameIdOfSlice=this.buildTypeMapIndex("slice");this.typeNameIdOfArrayOrSlice=this.buildTypeMapIndex("[]");this.typeNameIdOfTuple=this.buildTypeMapIndex("tuple");this.typeNameIdOfUnit=this.buildTypeMapIndex("unit");this.typeNameIdOfTupleOrUnit=this.buildTypeMapIndex("()");this.typeNameIdOfFn=this.buildTypeMapIndex("fn");this.typeNameIdOfFnMut=this.buildTypeMapIndex("fnmut");this.typeNameIdOfFnOnce=this.buildTypeMapIndex("fnonce");this.typeNameIdOfHof=this.buildTypeMapIndex("->");this.EMPTY_BINDINGS_MAP=new Map();this.EMPTY_GENERICS_ARRAY=[];this.TYPES_POOL=new Map();this.searchIndex=this.buildIndex(rawSearchIndex)}buildTypeMapIndex(name,isAssocType){if(name===""||name===null){return null}if(this.typeNameIdMap.has(name)){const obj=this.typeNameIdMap.get(name);obj.assocOnly=isAssocType&&obj.assocOnly;return obj.id}else{const id=this.typeNameIdMap.size;this.typeNameIdMap.set(name,{id,assocOnly:isAssocType});return id}}buildItemSearchTypeAll(types,lowercasePaths){return types.length>0?types.map(type=>this.buildItemSearchType(type,lowercasePaths)):this.EMPTY_GENERICS_ARRAY}buildItemSearchType(type,lowercasePaths,isAssocType){const PATH_INDEX_DATA=0;const GENERICS_DATA=1;const BINDINGS_DATA=2;let pathIndex,generics,bindings;if(typeof type==="number"){pathIndex=type;generics=this.EMPTY_GENERICS_ARRAY;bindings=this.EMPTY_BINDINGS_MAP}else{pathIndex=type[PATH_INDEX_DATA];generics=this.buildItemSearchTypeAll(type[GENERICS_DATA],lowercasePaths,);if(type.length>BINDINGS_DATA&&type[BINDINGS_DATA].length>0){bindings=new Map(type[BINDINGS_DATA].map(binding=>{const[assocType,constraints]=binding;return[this.buildItemSearchType(assocType,lowercasePaths,true).id,this.buildItemSearchTypeAll(constraints,lowercasePaths),]}))}else{bindings=this.EMPTY_BINDINGS_MAP}}let result;if(pathIndex<0){result={id:pathIndex,ty:TY_GENERIC,path:null,exactPath:null,generics,bindings,}}else if(pathIndex===0){result={id:null,ty:null,path:null,exactPath:null,generics,bindings,}}else{const item=lowercasePaths[pathIndex-1];result={id:this.buildTypeMapIndex(item.name,isAssocType),ty:item.ty,path:item.path,exactPath:item.exactPath,generics,bindings,}}const cr=this.TYPES_POOL.get(result.id);if(cr){if(cr.generics.length===result.generics.length&&cr.generics!==result.generics&&cr.generics.every((x,i)=>result.generics[i]===x)){result.generics=cr.generics}if(cr.bindings.size===result.bindings.size&&cr.bindings!==result.bindings){let ok=true;for(const[k,v]of cr.bindings.entries()){const v2=result.bindings.get(v);if(!v2){ok=false;break}if(v!==v2&&v.length===v2.length&&v.every((x,i)=>v2[i]===x)){result.bindings.set(k,v)}else if(v!==v2){ok=false;break}}if(ok){result.bindings=cr.bindings}}if(cr.ty===result.ty&&cr.path===result.path&&cr.bindings===result.bindings&&cr.generics===result.generics&&cr.ty===result.ty){return cr}}this.TYPES_POOL.set(result.id,result);return result}buildFunctionTypeFingerprint(type,output,fps){let input=type.id;if(input===this.typeNameIdOfArray||input===this.typeNameIdOfSlice){input=this.typeNameIdOfArrayOrSlice}if(input===this.typeNameIdOfTuple||input===this.typeNameIdOfUnit){input=this.typeNameIdOfTupleOrUnit}if(input===this.typeNameIdOfFn||input===this.typeNameIdOfFnMut||input===this.typeNameIdOfFnOnce){input=this.typeNameIdOfHof}const hashint1=k=>{k=(~~k+0x7ed55d16)+(k<<12);k=(k ^ 0xc761c23c)^(k>>>19);k=(~~k+0x165667b1)+(k<<5);k=(~~k+0xd3a2646c)^(k<<9);k=(~~k+0xfd7046c5)+(k<<3);return(k ^ 0xb55a4f09)^(k>>>16)};const hashint2=k=>{k=~k+(k<<15);k ^=k>>>12;k+=k<<2;k ^=k>>>4;k=Math.imul(k,2057);return k ^(k>>16)};if(input!==null){const h0a=hashint1(input);const h0b=hashint2(input);const h1a=~~(h0a+Math.imul(h0b,2));const h1b=~~(h0a+Math.imul(h0b,3));const h2a=~~(h0a+Math.imul(h0b,4));const h2b=~~(h0a+Math.imul(h0b,5));output[0]|=(1<<(h0a%32))|(1<<(h1b%32));output[1]|=(1<<(h1a%32))|(1<<(h2b%32));output[2]|=(1<<(h2a%32))|(1<<(h0b%32));fps.add(input)}for(const g of type.generics){this.buildFunctionTypeFingerprint(g,output,fps)}const fb={id:null,ty:0,generics:this.EMPTY_GENERICS_ARRAY,bindings:this.EMPTY_BINDINGS_MAP,};for(const[k,v]of type.bindings.entries()){fb.id=k;fb.generics=v;this.buildFunctionTypeFingerprint(fb,output,fps)}output[3]=fps.size}buildIndex(rawSearchIndex){const buildFunctionSearchTypeCallback=lowercasePaths=>{return functionSearchType=>{if(functionSearchType===0){return null}const INPUTS_DATA=0;const OUTPUT_DATA=1;let inputs,output;if(typeof functionSearchType[INPUTS_DATA]==="number"){inputs=[this.buildItemSearchType(functionSearchType[INPUTS_DATA],lowercasePaths),]}else{inputs=this.buildItemSearchTypeAll(functionSearchType[INPUTS_DATA],lowercasePaths,)}if(functionSearchType.length>1){if(typeof functionSearchType[OUTPUT_DATA]==="number"){output=[this.buildItemSearchType(functionSearchType[OUTPUT_DATA],lowercasePaths,),]}else{output=this.buildItemSearchTypeAll(functionSearchType[OUTPUT_DATA],lowercasePaths,)}}else{output=[]}const where_clause=[];const l=functionSearchType.length;for(let i=2;inoop);let descShard={crate,shard:0,start:0,len:itemDescShardDecoder.next(),promise:null,resolve:null,};const descShardList=[descShard];this.searchIndexDeprecated.set(crate,new RoaringBitmap(crateCorpus.c));this.searchIndexEmptyDesc.set(crate,new RoaringBitmap(crateCorpus.e));let descIndex=0;const crateRow={crate,ty:3,name:crate,path:"",descShard,descIndex,exactPath:"",desc:crateCorpus.doc,parent:undefined,type:null,id,word:crate,normalizedName:crate.indexOf("_")===-1?crate:crate.replace(/_/g,""),bitIndex:0,implDisambiguator:null,};id+=1;searchIndex.push(crateRow);currentIndex+=1;if(!this.searchIndexEmptyDesc.get(crate).contains(0)){descIndex+=1}const itemTypes=crateCorpus.t;const itemNames=crateCorpus.n;const itemPaths=new Map(crateCorpus.q);const itemReexports=new Map(crateCorpus.r);const itemParentIdxDecoder=new VlqHexDecoder(crateCorpus.i,noop=>noop);const implDisambiguator=new Map(crateCorpus.b);const paths=crateCorpus.p;const aliases=crateCorpus.a;const lowercasePaths=[];const itemFunctionDecoder=new VlqHexDecoder(crateCorpus.f,buildFunctionSearchTypeCallback(lowercasePaths),);let len=paths.length;let lastPath=itemPaths.get(0);for(let i=0;i2){path=itemPaths.has(elem[2])?itemPaths.get(elem[2]):lastPath;lastPath=path}const exactPath=elem.length>3?itemPaths.get(elem[3]):path;lowercasePaths.push({ty,name:name.toLowerCase(),path,exactPath});paths[i]={ty,name,path,exactPath}}lastPath="";len=itemTypes.length;let lastName="";let lastWord="";for(let i=0;i=descShard.len&&!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descShard={crate,shard:descShard.shard+1,start:descShard.start+descShard.len,len:itemDescShardDecoder.next(),promise:null,resolve:null,};descIndex=0;descShardList.push(descShard)}const name=itemNames[i]===""?lastName:itemNames[i];const word=itemNames[i]===""?lastWord:itemNames[i].toLowerCase();const path=itemPaths.has(i)?itemPaths.get(i):lastPath;const type=itemFunctionDecoder.next();if(type!==null){if(type){const fp=this.functionTypeFingerprint.subarray(id*4,(id+1)*4);const fps=new Set();for(const t of type.inputs){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const t of type.output){this.buildFunctionTypeFingerprint(t,fp,fps)}for(const w of type.where_clause){for(const t of w){this.buildFunctionTypeFingerprint(t,fp,fps)}}}}const itemParentIdx=itemParentIdxDecoder.next();const row={crate,ty:itemTypes.charCodeAt(i)-65,name,path,descShard,descIndex,exactPath:itemReexports.has(i)?itemPaths.get(itemReexports.get(i)):path,parent:itemParentIdx>0?paths[itemParentIdx-1]:undefined,type,id,word,normalizedName:word.indexOf("_")===-1?word:word.replace(/_/g,""),bitIndex,implDisambiguator:implDisambiguator.has(i)?implDisambiguator.get(i):null,};id+=1;searchIndex.push(row);lastPath=row.path;if(!this.searchIndexEmptyDesc.get(crate).contains(bitIndex)){descIndex+=1}lastName=name;lastWord=word}if(aliases){const currentCrateAliases=new Map();this.ALIASES.set(crate,currentCrateAliases);for(const alias_name in aliases){if(!Object.prototype.hasOwnProperty.call(aliases,alias_name)){continue}let currentNameAliases;if(currentCrateAliases.has(alias_name)){currentNameAliases=currentCrateAliases.get(alias_name)}else{currentNameAliases=[];currentCrateAliases.set(alias_name,currentNameAliases)}for(const local_alias of aliases[alias_name]){currentNameAliases.push(local_alias+currentIndex)}}}currentIndex+=itemTypes.length;this.searchState.descShards.set(crate,descShardList)}this.TYPES_POOL=new Map();return searchIndex}static parseQuery(userQuery){function itemTypeFromName(typename){const index=itemTypes.findIndex(i=>i===typename);if(index<0){throw["Unknown type filter ",typename]}return index}function convertTypeFilterOnElem(elem){if(elem.typeFilter!==null){let typeFilter=elem.typeFilter;if(typeFilter==="const"){typeFilter="constant"}elem.typeFilter=itemTypeFromName(typeFilter)}else{elem.typeFilter=NO_TYPE_FILTER}for(const elem2 of elem.generics){convertTypeFilterOnElem(elem2)}for(const constraints of elem.bindings.values()){for(const constraint of constraints){convertTypeFilterOnElem(constraint)}}}function newParsedQuery(userQuery){return{original:userQuery,userQuery:userQuery.toLowerCase(),elems:[],returned:[],foundElems:0,totalElems:0,literalSearch:false,hasReturnArrow:false,error:null,correction:null,proposeCorrectionFrom:null,proposeCorrectionTo:null,typeFingerprint:new Uint32Array(4),}}function parseInput(query,parserState){let foundStopChar=true;while(parserState.pos"){if(isReturnArrow(parserState)){query.hasReturnArrow=true;break}throw["Unexpected ",c," (did you mean ","->","?)"]}else if(parserState.pos>0){throw["Unexpected ",c," after ",parserState.userQuery[parserState.pos-1]]}throw["Unexpected ",c]}else if(c===" "){skipWhitespace(parserState);continue}if(!foundStopChar){let extra="";if(isLastElemGeneric(query.elems,parserState)){extra=[" after ",">"]}else if(prevIs(parserState,"\"")){throw["Cannot have more than one element if you use quotes"]}if(parserState.typeFilter!==null){throw["Expected ",","," or ","->",...extra,", found ",c,]}throw["Expected ",",",", ",":"," or ","->",...extra,", found ",c,]}const before=query.elems.length;getFilteredNextElem(query,parserState,query.elems,false);if(query.elems.length===before){parserState.pos+=1}foundStopChar=false}if(parserState.typeFilter!==null){throw["Unexpected ",":"," (expected path after type filter ",parserState.typeFilter+":",")",]}while(parserState.pos1}query.foundElems=query.elems.length+query.returned.length;query.totalElems=parserState.totalElems;return query}async execQuery(parsedQuery,filterCrates,currentCrate){const results_others=new Map(),results_in_args=new Map(),results_returned=new Map();function createQueryResults(results_in_args,results_returned,results_others,parsedQuery){return{"in_args":results_in_args,"returned":results_returned,"others":results_others,"query":parsedQuery,}}const buildHrefAndPath=item=>{let displayPath;let href;const type=itemTypes[item.ty];const name=item.name;let path=item.path;let exactPath=item.exactPath;if(type==="mod"){displayPath=path+"::";href=this.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="import"){displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/index.html#reexport."+name}else if(type==="primitive"||type==="keyword"){displayPath="";href=this.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=this.rootPath+name+"/index.html"}else if(item.parent!==undefined){const myparent=item.parent;let anchor=type+"."+name;const parentType=itemTypes[myparent.ty];let pageType=parentType;let pageName=myparent.name;exactPath=`${myparent.exactPath}::${myparent.name}`;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){const enumNameIdx=item.path.lastIndexOf("::");const enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}if(item.implDisambiguator!==null){anchor=item.implDisambiguator+"/"+anchor}href=this.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html#"+anchor}else{displayPath=item.path+"::";href=this.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href,`${exactPath}::${name}`]};function pathSplitter(path){const tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}const transformResults=results=>{const duplicates=new Set();const out=[];for(const result of results){if(result.id!==-1){const obj=this.searchIndex[result.id];obj.dist=result.dist;const res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=res[2]+"|"+obj.ty;if(duplicates.has(obj.fullPath)){continue}if(obj.ty===TY_IMPORT&&duplicates.has(res[2])){continue}if(duplicates.has(res[2]+"|"+TY_IMPORT)){continue}duplicates.add(obj.fullPath);duplicates.add(res[2]);obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}return out};const sortResults=async(results,isType,preferredCrate)=>{const userQuery=parsedQuery.userQuery;const casedUserQuery=parsedQuery.original;const isMixedCase=casedUserQuery!==userQuery;const result_list=[];for(const result of results.values()){result.item=this.searchIndex[result.id];result.word=this.searchIndex[result.id].word;result_list.push(result)}result_list.sort((aaa,bbb)=>{let a,b;if(isMixedCase){a=(aaa.item.name!==casedUserQuery);b=(bbb.item.name!==casedUserQuery);if(a!==b){return a-b}}a=(aaa.word!==userQuery);b=(bbb.word!==userQuery);if(a!==b){return a-b}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.path_dist;b=bbb.path_dist;if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}a=(aaa.dist);b=(bbb.dist);if(a!==b){return a-b}a=this.searchIndexDeprecated.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexDeprecated.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=(aaa.item.crate!==preferredCrate);b=(bbb.item.crate!==preferredCrate);if(a!==b){return a-b}a=aaa.word.length;b=bbb.word.length;if(a!==b){return a-b}a=aaa.word;b=bbb.word;if(a!==b){return(a>b?+1:-1)}a=this.searchIndexEmptyDesc.get(aaa.item.crate).contains(aaa.item.bitIndex);b=this.searchIndexEmptyDesc.get(bbb.item.crate).contains(bbb.item.bitIndex);if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});return transformResults(result_list)};function unifyFunctionTypes(fnTypesIn,queryElems,whereClause,mgensIn,solutionCb,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}const mgens=mgensIn===null?null:new Map(mgensIn);if(queryElems.length===0){return!solutionCb||solutionCb(mgens)}if(!fnTypesIn||fnTypesIn.length===0){return false}const ql=queryElems.length;const fl=fnTypesIn.length;if(ql===1&&queryElems[0].generics.length===0&&queryElems[0].bindings.size===0){const queryElem=queryElems[0];for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}if(fnType.id<0&&queryElem.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==queryElem.id){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,queryElem.id);if(!solutionCb||solutionCb(mgensScratch)){return true}}else if(!solutionCb||solutionCb(mgens?new Map(mgens):null)){return true}}for(const fnType of fnTypesIn){if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}if(fnType.id<0){if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){continue}const mgensScratch=new Map(mgens);mgensScratch.set(fnType.id,0);if(unifyFunctionTypes(whereClause[(-fnType.id)-1],queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,)){return true}}else if(unifyFunctionTypes([...fnType.generics,...Array.from(fnType.bindings.values()).flat()],queryElems,whereClause,mgens?new Map(mgens):null,solutionCb,unboxingDepth+1,)){return true}}return false}const fnTypes=fnTypesIn.slice();const flast=fl-1;const qlast=ql-1;const queryElem=queryElems[qlast];let queryElemsTmp=null;for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsMatchCandidate(fnType,queryElem,mgens)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==queryElem.id){continue}mgensScratch.set(fnType.id,queryElem.id)}else{mgensScratch=mgens}fnTypes[i]=fnTypes[flast];fnTypes.length=flast;if(!queryElemsTmp){queryElemsTmp=queryElems.slice(0,qlast)}const passesUnification=unifyFunctionTypes(fnTypes,queryElemsTmp,whereClause,mgensScratch,mgensScratch=>{if(fnType.generics.length===0&&queryElem.generics.length===0&&fnType.bindings.size===0&&queryElem.bindings.size===0){return!solutionCb||solutionCb(mgensScratch)}const solution=unifyFunctionTypeCheckBindings(fnType,queryElem,whereClause,mgensScratch,unboxingDepth,);if(!solution){return false}const simplifiedGenerics=solution.simplifiedGenerics;for(const simplifiedMgens of solution.mgens){const passesUnification=unifyFunctionTypes(simplifiedGenerics,queryElem.generics,whereClause,simplifiedMgens,solutionCb,unboxingDepth,);if(passesUnification){return true}}return false},unboxingDepth,);if(passesUnification){return true}fnTypes[flast]=fnTypes[i];fnTypes[i]=fnType;fnTypes.length=fl}for(let i=flast;i>=0;i-=1){const fnType=fnTypes[i];if(!unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth+1,)){continue}let mgensScratch;if(fnType.id<0){mgensScratch=new Map(mgens);if(mgensScratch.has(fnType.id)&&mgensScratch.get(fnType.id)!==0){continue}mgensScratch.set(fnType.id,0)}else{mgensScratch=mgens}const generics=fnType.id<0?whereClause[(-fnType.id)-1]:fnType.generics;const bindings=fnType.bindings?Array.from(fnType.bindings.values()).flat():[];const passesUnification=unifyFunctionTypes(fnTypes.toSpliced(i,1,...generics,...bindings),queryElems,whereClause,mgensScratch,solutionCb,unboxingDepth+1,);if(passesUnification){return true}}return false}const unifyFunctionTypeIsMatchCandidate=(fnType,queryElem,mgensIn)=>{if(!typePassesFilter(queryElem.typeFilter,fnType.ty)){return false}if(fnType.id<0&&queryElem.id<0){if(mgensIn){if(mgensIn.has(fnType.id)&&mgensIn.get(fnType.id)!==queryElem.id){return false}for(const[fid,qid]of mgensIn.entries()){if(fnType.id!==fid&&queryElem.id===qid){return false}if(fnType.id===fid&&queryElem.id!==qid){return false}}}return true}else{if(queryElem.id===this.typeNameIdOfArrayOrSlice&&(fnType.id===this.typeNameIdOfSlice||fnType.id===this.typeNameIdOfArray)){}else if(queryElem.id===this.typeNameIdOfTupleOrUnit&&(fnType.id===this.typeNameIdOfTuple||fnType.id===this.typeNameIdOfUnit)){}else if(queryElem.id===this.typeNameIdOfHof&&(fnType.id===this.typeNameIdOfFn||fnType.id===this.typeNameIdOfFnMut||fnType.id===this.typeNameIdOfFnOnce)){}else if(fnType.id!==queryElem.id||queryElem.id===null){return false}if((fnType.generics.length+fnType.bindings.size)===0&&queryElem.generics.length!==0){return false}if(fnType.bindings.size0){const fnTypePath=fnType.path!==undefined&&fnType.path!==null?fnType.path.split("::"):[];if(queryElemPathLength>fnTypePath.length){return false}let i=0;for(const path of fnTypePath){if(path===queryElem.pathWithoutLast[i]){i+=1;if(i>=queryElemPathLength){break}}}if(i0){let mgensSolutionSet=[mgensIn];for(const[name,constraints]of queryElem.bindings.entries()){if(mgensSolutionSet.length===0){return false}if(!fnType.bindings.has(name)){return false}const fnTypeBindings=fnType.bindings.get(name);mgensSolutionSet=mgensSolutionSet.flatMap(mgens=>{const newSolutions=[];unifyFunctionTypes(fnTypeBindings,constraints,whereClause,mgens,newMgens=>{newSolutions.push(newMgens);return false},unboxingDepth,);return newSolutions})}if(mgensSolutionSet.length===0){return false}const binds=Array.from(fnType.bindings.entries()).flatMap(entry=>{const[name,constraints]=entry;if(queryElem.bindings.has(name)){return[]}else{return constraints}});if(simplifiedGenerics.length>0){simplifiedGenerics=[...simplifiedGenerics,...binds]}else{simplifiedGenerics=binds}return{simplifiedGenerics,mgens:mgensSolutionSet}}return{simplifiedGenerics,mgens:[mgensIn]}}function unifyFunctionTypeIsUnboxCandidate(fnType,queryElem,whereClause,mgens,unboxingDepth,){if(unboxingDepth>=UNBOXING_LIMIT){return false}if(fnType.id<0&&queryElem.id>=0){if(!whereClause){return false}if(mgens&&mgens.has(fnType.id)&&mgens.get(fnType.id)!==0){return false}const mgensTmp=new Map(mgens);mgensTmp.set(fnType.id,null);return checkIfInList(whereClause[(-fnType.id)-1],queryElem,whereClause,mgensTmp,unboxingDepth,)}else if(fnType.generics.length>0||fnType.bindings.size>0){const simplifiedGenerics=[...fnType.generics,...Array.from(fnType.bindings.values()).flat(),];return checkIfInList(simplifiedGenerics,queryElem,whereClause,mgens,unboxingDepth,)}return false}function checkIfInList(list,elem,whereClause,mgens,unboxingDepth){for(const entry of list){if(checkType(entry,elem,whereClause,mgens,unboxingDepth)){return true}}return false}const checkType=(row,elem,whereClause,mgens,unboxingDepth)=>{if(unboxingDepth>=UNBOXING_LIMIT){return false}if(row.bindings.size===0&&elem.bindings.size===0){if(elem.id<0&&mgens===null){return row.id<0||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth+1,)}if(row.id>0&&elem.id>0&&elem.pathWithoutLast.length===0&&typePassesFilter(elem.typeFilter,row.ty)&&elem.generics.length===0&&elem.id!==this.typeNameIdOfArrayOrSlice&&elem.id!==this.typeNameIdOfTupleOrUnit&&elem.id!==this.typeNameIdOfHof){return row.id===elem.id||checkIfInList(row.generics,elem,whereClause,mgens,unboxingDepth,)}}return unifyFunctionTypes([row],[elem],whereClause,mgens,null,unboxingDepth)};function checkPath(contains,ty){if(contains.length===0){return 0}const maxPathEditDistance=Math.floor(contains.reduce((acc,next)=>acc+next.length,0)/3,);let ret_dist=maxPathEditDistance+1;const path=ty.path.split("::");if(ty.parent&&ty.parent.name){path.push(ty.parent.name.toLowerCase())}const length=path.length;const clength=contains.length;pathiter:for(let i=length-clength;i>=0;i-=1){let dist_total=0;for(let x=0;xmaxPathEditDistance){continue pathiter}dist_total+=dist}}ret_dist=Math.min(ret_dist,Math.round(dist_total/clength))}return ret_dist>maxPathEditDistance?null:ret_dist}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER||filter===type)return true;const name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,descShard:item.descShard,descIndex:item.descIndex,exactPath:item.exactPath,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,bitIndex:item.bitIndex,implDisambiguator:item.implDisambiguator,}}const handleAliases=async(ret,query,filterCrates,currentCrate)=>{const lowerQuery=query.toLowerCase();const aliases=[];const crateAliases=[];if(filterCrates!==null){if(this.ALIASES.has(filterCrates)&&this.ALIASES.get(filterCrates).has(lowerQuery)){const query_aliases=this.ALIASES.get(filterCrates).get(lowerQuery);for(const alias of query_aliases){aliases.push(createAliasFromItem(this.searchIndex[alias]))}}}else{for(const[crate,crateAliasesIndex]of this.ALIASES){if(crateAliasesIndex.has(lowerQuery)){const pushTo=crate===currentCrate?crateAliases:aliases;const query_aliases=crateAliasesIndex.get(lowerQuery);for(const alias of query_aliases){pushTo.push(createAliasFromItem(this.searchIndex[alias]))}}}}const sortFunc=(aaa,bbb)=>{if(aaa.path{return this.searchIndexEmptyDesc.get(alias.crate).contains(alias.bitIndex)?"":this.searchState.loadDesc(alias)};const[crateDescs,descs]=await Promise.all([Promise.all(crateAliases.map(fetchDesc)),Promise.all(aliases.map(fetchDesc)),]);const pushFunc=alias=>{alias.alias=query;const res=buildHrefAndPath(alias);alias.displayPath=pathSplitter(res[0]);alias.fullPath=alias.displayPath+alias.name;alias.href=res[1];ret.others.unshift(alias);if(ret.others.length>MAX_RESULTS){ret.others.pop()}};aliases.forEach((alias,i)=>{alias.desc=descs[i]});aliases.forEach(pushFunc);crateAliases.forEach((alias,i)=>{alias.desc=crateDescs[i]});crateAliases.forEach(pushFunc)};function addIntoResults(results,fullId,id,index,dist,path_dist,maxEditDistance){if(dist<=maxEditDistance||index!==-1){if(results.has(fullId)){const result=results.get(fullId);if(result.dontValidate||result.dist<=dist){return}}results.set(fullId,{id:id,index:index,dontValidate:parsedQuery.literalSearch,dist:dist,path_dist:path_dist,})}}function handleSingleArg(row,pos,elem,results_others,results_in_args,results_returned,maxEditDistance,){if(!row||(filterCrates!==null&&row.crate!==filterCrates)){return}let path_dist=0;const fullId=row.id;const tfpDist=compareTypeFingerprints(fullId,parsedQuery.typeFingerprint,);if(tfpDist!==null){const in_args=row.type&&row.type.inputs&&checkIfInList(row.type.inputs,elem,row.type.where_clause,null,0);const returned=row.type&&row.type.output&&checkIfInList(row.type.output,elem,row.type.where_clause,null,0);if(in_args){results_in_args.max_dist=Math.max(results_in_args.max_dist||0,tfpDist);const maxDist=results_in_args.sizenormalizedIndex&&normalizedIndex!==-1)){index=normalizedIndex}if(elem.fullPath.length>1){path_dist=checkPath(elem.pathWithoutLast,row);if(path_dist===null){return}}if(parsedQuery.literalSearch){if(row.word===elem.pathLast){addIntoResults(results_others,fullId,pos,index,0,path_dist)}return}const dist=editDistance(row.normalizedName,elem.normalizedPathLast,maxEditDistance);if(index===-1&&dist>maxEditDistance){return}addIntoResults(results_others,fullId,pos,index,dist,path_dist,maxEditDistance)}function handleArgs(row,pos,results){if(!row||(filterCrates!==null&&row.crate!==filterCrates)||!row.type){return}const tfpDist=compareTypeFingerprints(row.id,parsedQuery.typeFingerprint,);if(tfpDist===null){return}if(results.size>=MAX_RESULTS&&tfpDist>results.max_dist){return}if(!unifyFunctionTypes(row.type.inputs,parsedQuery.elems,row.type.where_clause,null,mgens=>{return unifyFunctionTypes(row.type.output,parsedQuery.returned,row.type.where_clause,mgens,null,0,)},0,)){return}results.max_dist=Math.max(results.max_dist||0,tfpDist);addIntoResults(results,row.id,pos,0,tfpDist,0,Number.MAX_VALUE)}const compareTypeFingerprints=(fullId,queryFingerprint)=>{const fh0=this.functionTypeFingerprint[fullId*4];const fh1=this.functionTypeFingerprint[(fullId*4)+1];const fh2=this.functionTypeFingerprint[(fullId*4)+2];const[qh0,qh1,qh2]=queryFingerprint;const[in0,in1,in2]=[fh0&qh0,fh1&qh1,fh2&qh2];if((in0 ^ qh0)||(in1 ^ qh1)||(in2 ^ qh2)){return null}return this.functionTypeFingerprint[(fullId*4)+3]};const innerRunQuery=()=>{const queryLen=parsedQuery.elems.reduce((acc,next)=>acc+next.pathLast.length,0)+parsedQuery.returned.reduce((acc,next)=>acc+next.pathLast.length,0);const maxEditDistance=Math.floor(queryLen/3);const genericSymbols=new Map();const convertNameToId=(elem,isAssocType)=>{const loweredName=elem.pathLast.toLowerCase();if(this.typeNameIdMap.has(loweredName)&&(isAssocType||!this.typeNameIdMap.get(loweredName).assocOnly)){elem.id=this.typeNameIdMap.get(loweredName).id}else if(!parsedQuery.literalSearch){let match=null;let matchDist=maxEditDistance+1;let matchName="";for(const[name,{id,assocOnly}]of this.typeNameIdMap){const dist=Math.min(editDistance(name,loweredName,maxEditDistance),editDistance(name,elem.normalizedPathLast,maxEditDistance),);if(dist<=matchDist&&dist<=maxEditDistance&&(isAssocType||!assocOnly)){if(dist===matchDist&&matchName>name){continue}match=id;matchDist=dist;matchName=name}}if(match!==null){parsedQuery.correction=matchName}elem.id=match}if((elem.id===null&&parsedQuery.totalElems>1&&elem.typeFilter===-1&&elem.generics.length===0&&elem.bindings.size===0)||elem.typeFilter===TY_GENERIC){if(genericSymbols.has(elem.name)){elem.id=genericSymbols.get(elem.name)}else{elem.id=-(genericSymbols.size+1);genericSymbols.set(elem.name,elem.id)}if(elem.typeFilter===-1&&elem.name.length>=3){const maxPartDistance=Math.floor(elem.name.length/3);let matchDist=maxPartDistance+1;let matchName="";for(const name of this.typeNameIdMap.keys()){const dist=editDistance(name,elem.name,maxPartDistance);if(dist<=matchDist&&dist<=maxPartDistance){if(dist===matchDist&&matchName>name){continue}matchDist=dist;matchName=name}}if(matchName!==""){parsedQuery.proposeCorrectionFrom=elem.name;parsedQuery.proposeCorrectionTo=matchName}}elem.typeFilter=TY_GENERIC}if(elem.generics.length>0&&elem.typeFilter===TY_GENERIC){parsedQuery.error=["Generic type parameter ",elem.name," does not accept generic parameters",]}for(const elem2 of elem.generics){convertNameToId(elem2)}elem.bindings=new Map(Array.from(elem.bindings.entries()).map(entry=>{const[name,constraints]=entry;if(!this.typeNameIdMap.has(name)){parsedQuery.error=["Type parameter ",name," does not exist",];return[null,[]]}for(const elem2 of constraints){convertNameToId(elem2)}return[this.typeNameIdMap.get(name).id,constraints]}),)};const fps=new Set();for(const elem of parsedQuery.elems){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}for(const elem of parsedQuery.returned){convertNameToId(elem);this.buildFunctionTypeFingerprint(elem,parsedQuery.typeFingerprint,fps)}if(parsedQuery.foundElems===1&&!parsedQuery.hasReturnArrow){if(parsedQuery.elems.length===1){const elem=parsedQuery.elems[0];const length=this.searchIndex.length;for(let i=0,nSearchIndex=length;i0){const sortQ=(a,b)=>{const ag=a.generics.length===0&&a.bindings.size===0;const bg=b.generics.length===0&&b.bindings.size===0;if(ag!==bg){return ag-bg}const ai=a.id>0;const bi=b.id>0;return ai-bi};parsedQuery.elems.sort(sortQ);parsedQuery.returned.sort(sortQ);for(let i=0,nSearchIndex=this.searchIndex.length;i{const descs=await Promise.all(list.map(result=>{return this.searchIndexEmptyDesc.get(result.crate).contains(result.bitIndex)?"":this.searchState.loadDesc(result)}));for(const[i,result]of list.entries()){result.desc=descs[i]}}));if(parsedQuery.error!==null&&ret.others.length!==0){ret.query.error=null}return ret}}let rawSearchIndex;let docSearch;const longItemTypes=["keyword","primitive type","module","extern crate","re-export","struct","enum","function","type alias","static","trait","","trait method","method","struct field","enum variant","macro","assoc type","constant","assoc const","union","foreign type","existential type","attribute macro","derive macro","trait alias",];let currentResults;function printTab(nb){let iter=0;let foundCurrentTab=false;let foundCurrentResultSet=false;onEachLazy(document.getElementById("search-tabs").childNodes,elem=>{if(nb===iter){addClass(elem,"selected");foundCurrentTab=true}else{removeClass(elem,"selected")}iter+=1});const isTypeSearch=(nb>0||iter===1);iter=0;onEachLazy(document.getElementById("results").childNodes,elem=>{if(nb===iter){addClass(elem,"active");foundCurrentResultSet=true}else{removeClass(elem,"active")}iter+=1});if(foundCurrentTab&&foundCurrentResultSet){searchState.currentTab=nb;const correctionsElem=document.getElementsByClassName("search-corrections");if(isTypeSearch){removeClass(correctionsElem[0],"hidden")}else{addClass(correctionsElem[0],"hidden")}}else if(nb!==0){printTab(0)}}function buildUrl(search,filterCrates){let extra="?search="+encodeURIComponent(search);if(filterCrates!==null){extra+="&filter-crate="+encodeURIComponent(filterCrates)}return getNakedUrl()+extra+window.location.hash}function getFilterCrates(){const elem=document.getElementById("crate-search");if(elem&&elem.value!=="all crates"&&window.searchIndex.has(elem.value)){return elem.value}return null}function nextTab(direction){const next=(searchState.currentTab+direction+3)%searchState.focusedByTab.length;searchState.focusedByTab[searchState.currentTab]=document.activeElement;printTab(next);focusSearchResult()}function focusSearchResult(){const target=searchState.focusedByTab[searchState.currentTab]||document.querySelectorAll(".search-results.active a").item(0)||document.querySelectorAll("#search-tabs button").item(searchState.currentTab);searchState.focusedByTab[searchState.currentTab]=null;if(target){target.focus()}}async function addTab(array,query,display){const extraClass=display?" active":"";const output=document.createElement("div");if(array.length>0){output.className="search-results "+extraClass;for(const item of array){const name=item.name;const type=itemTypes[item.ty];const longType=longItemTypes[item.ty];const typeName=longType.length!==0?`${longType}`:"?";const link=document.createElement("a");link.className="result-"+type;link.href=item.href;const resultName=document.createElement("div");resultName.className="result-name";resultName.insertAdjacentHTML("beforeend",`${typeName}`);link.appendChild(resultName);let alias=" ";if(item.is_alias){alias=`
    \ +${item.alias} - see \ +
    `}resultName.insertAdjacentHTML("beforeend",`
    ${alias}\ +${item.displayPath}${name}\ +
    `);const description=document.createElement("div");description.className="desc";description.insertAdjacentHTML("beforeend",item.desc);link.appendChild(description);output.appendChild(link)}}else if(query.error===null){output.className="search-failed"+extraClass;output.innerHTML="No results :(
    "+"Try on DuckDuckGo?

    "+"Or try looking in one of these:"}return[output,array.length]}function makeTabHeader(tabNb,text,nbElems){const fmtNbElems=nbElems<10?`\u{2007}(${nbElems})\u{2007}\u{2007}`:nbElems<100?`\u{2007}(${nbElems})\u{2007}`:`\u{2007}(${nbElems})`;if(searchState.currentTab===tabNb){return""}return""}async function showResults(results,go_to_first,filterCrates){const search=searchState.outputElement();if(go_to_first||(results.others.length===1&&getSettingValue("go-to-only-result")==="true")){window.onunload=()=>{};searchState.removeQueryParameters();const elem=document.createElement("a");elem.href=results.others[0].href;removeClass(elem,"active");document.body.appendChild(elem);elem.click();return}if(results.query===undefined){results.query=DocSearch.parseQuery(searchState.input.value)}currentResults=results.query.userQuery;const[ret_others,ret_in_args,ret_returned]=await Promise.all([addTab(results.others,results.query,true),addTab(results.in_args,results.query,false),addTab(results.returned,results.query,false),]);let currentTab=searchState.currentTab;if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}let crates="";if(rawSearchIndex.size>1){crates="
    in 
    "+"
    "}let output=`
    \ +

    Results

    ${crates}
    `;if(results.query.error!==null){const error=results.query.error;error.forEach((value,index)=>{value=value.split("<").join("<").split(">").join(">");if(index%2!==0){error[index]=`${value.replaceAll(" ", " ")}`}else{error[index]=value}});output+=`

    Query parser error: "${error.join("")}".

    `;output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+"
    ";currentTab=0}else if(results.query.foundElems<=1&&results.query.returned.length===0){output+="
    "+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
    "}else{const signatureTabTitle=results.query.elems.length===0?"In Function Return Types":results.query.returned.length===0?"In Function Parameters":"In Function Signatures";output+="
    "+makeTabHeader(0,signatureTabTitle,ret_others[1])+"
    ";currentTab=0}if(results.query.correction!==null){const orig=results.query.returned.length>0?results.query.returned[0].name:results.query.elems[0].name;output+="

    "+`Type "${orig}" not found. `+"Showing results for closest type name "+`"${results.query.correction}" instead.

    `}if(results.query.proposeCorrectionFrom!==null){const orig=results.query.proposeCorrectionFrom;const targ=results.query.proposeCorrectionTo;output+="

    "+`Type "${orig}" not found and used as generic parameter. `+`Consider searching for "${targ}" instead.

    `}const resultsElem=document.createElement("div");resultsElem.id="results";resultsElem.appendChild(ret_others[0]);resultsElem.appendChild(ret_in_args[0]);resultsElem.appendChild(ret_returned[0]);search.innerHTML=output;if(searchState.rustdocToolbar){search.querySelector(".main-heading").appendChild(searchState.rustdocToolbar)}const crateSearch=document.getElementById("crate-search");if(crateSearch){crateSearch.addEventListener("input",updateCrate)}search.appendChild(resultsElem);searchState.showResults(search);const elems=document.getElementById("search-tabs").childNodes;searchState.focusedByTab=[];let i=0;for(const elem of elems){const j=i;elem.onclick=()=>printTab(j);searchState.focusedByTab.push(null);i+=1}printTab(currentTab)}function updateSearchHistory(url){if(!browserSupportsHistoryApi()){return}const params=searchState.getQueryStringParams();if(!history.state&&!params.search){history.pushState(null,"",url)}else{history.replaceState(null,"",url)}}async function search(forced){const query=DocSearch.parseQuery(searchState.input.value.trim());let filterCrates=getFilterCrates();if(!forced&&query.userQuery===currentResults){if(query.userQuery.length>0){putBackSearch()}return}searchState.setLoadingSearch();const params=searchState.getQueryStringParams();if(filterCrates===null&¶ms["filter-crate"]!==undefined){filterCrates=params["filter-crate"]}searchState.title="\""+query.original+"\" Search - Rust";updateSearchHistory(buildUrl(query.original,filterCrates));await showResults(await docSearch.execQuery(query,filterCrates,window.currentCrate),params.go_to_first,filterCrates)}function onSearchSubmit(e){e.preventDefault();searchState.clearInputTimeout();search()}function putBackSearch(){const search_input=searchState.input;if(!searchState.input){return}if(search_input.value!==""&&!searchState.isDisplayed()){searchState.showResults();if(browserSupportsHistoryApi()){history.replaceState(null,"",buildUrl(search_input.value,getFilterCrates()))}document.title=searchState.title}}function registerSearchEvents(){const params=searchState.getQueryStringParams();if(searchState.input.value===""){searchState.input.value=params.search||""}const searchAfter500ms=()=>{searchState.clearInputTimeout();if(searchState.input.value.length===0){searchState.hideResults()}else{searchState.timeout=setTimeout(search,500)}};searchState.input.onkeyup=searchAfter500ms;searchState.input.oninput=searchAfter500ms;document.getElementsByClassName("search-form")[0].onsubmit=onSearchSubmit;searchState.input.onchange=e=>{if(e.target!==document.activeElement){return}searchState.clearInputTimeout();setTimeout(search,0)};searchState.input.onpaste=searchState.input.onchange;searchState.outputElement().addEventListener("keydown",e=>{if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey){return}if(e.which===38){const previous=document.activeElement.previousElementSibling;if(previous){previous.focus()}else{searchState.focus()}e.preventDefault()}else if(e.which===40){const next=document.activeElement.nextElementSibling;if(next){next.focus()}const rect=document.activeElement.getBoundingClientRect();if(window.innerHeight-rect.bottom{if(e.which===40){focusSearchResult();e.preventDefault()}});searchState.input.addEventListener("focus",()=>{putBackSearch()});searchState.input.addEventListener("blur",()=>{searchState.input.placeholder=searchState.input.origPlaceholder});if(browserSupportsHistoryApi()){const previousTitle=document.title;window.addEventListener("popstate",e=>{const params=searchState.getQueryStringParams();document.title=previousTitle;currentResults=null;if(params.search&¶ms.search.length>0){searchState.input.value=params.search;e.preventDefault();search()}else{searchState.input.value="";searchState.hideResults()}})}window.onpageshow=()=>{const qSearch=searchState.getQueryStringParams().search;if(searchState.input.value===""&&qSearch){searchState.input.value=qSearch}search()}}function updateCrate(ev){if(ev.target.value==="all crates"){const query=searchState.input.value.trim();updateSearchHistory(buildUrl(query,null))}currentResults=null;search(true)}function initSearch(searchIndx){rawSearchIndex=searchIndx;if(typeof window!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);registerSearchEvents();if(window.searchState.getQueryStringParams().search){search()}}else if(typeof exports!=="undefined"){docSearch=new DocSearch(rawSearchIndex,ROOT_PATH,searchState);exports.docSearch=docSearch;exports.parseQuery=DocSearch.parseQuery}}if(typeof exports!=="undefined"){exports.initSearch=initSearch}if(typeof window!=="undefined"){window.initSearch=initSearch;if(window.searchIndex!==undefined){initSearch(window.searchIndex)}}else{initSearch(new Map())}})() \ No newline at end of file diff --git a/static.files/settings-4313503d2e1961c2.js b/static.files/settings-805db61a62df4bd2.js similarity index 50% rename from static.files/settings-4313503d2e1961c2.js rename to static.files/settings-805db61a62df4bd2.js index ab425fe49..4a30479d9 100644 --- a/static.files/settings-4313503d2e1961c2.js +++ b/static.files/settings-805db61a62df4bd2.js @@ -1,4 +1,4 @@ -"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break;case"hide-sidebar":if(value===true){addClass(document.documentElement,"hide-sidebar")}else{removeClass(document.documentElement,"hide-sidebar")}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=()=>{changeSetting(toggle.id,toggle.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\ +"use strict";(function(){const isSettingsPage=window.location.pathname.endsWith("/settings.html");function changeSetting(settingName,value){if(settingName==="theme"){const useSystem=value==="system preference"?"true":"false";updateLocalStorage("use-system-theme",useSystem)}updateLocalStorage(settingName,value);switch(settingName){case"theme":case"preferred-dark-theme":case"preferred-light-theme":updateTheme();updateLightAndDark();break;case"line-numbers":if(value===true){window.rustdoc_add_line_numbers_to_examples()}else{window.rustdoc_remove_line_numbers_from_examples()}break;case"hide-sidebar":if(value===true){addClass(document.documentElement,"hide-sidebar")}else{removeClass(document.documentElement,"hide-sidebar")}break;case"hide-toc":if(value===true){addClass(document.documentElement,"hide-toc")}else{removeClass(document.documentElement,"hide-toc")}break;case"hide-modnav":if(value===true){addClass(document.documentElement,"hide-modnav")}else{removeClass(document.documentElement,"hide-modnav")}break}}function showLightAndDark(){removeClass(document.getElementById("preferred-light-theme"),"hidden");removeClass(document.getElementById("preferred-dark-theme"),"hidden")}function hideLightAndDark(){addClass(document.getElementById("preferred-light-theme"),"hidden");addClass(document.getElementById("preferred-dark-theme"),"hidden")}function updateLightAndDark(){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||(useSystem===null&&getSettingValue("theme")===null)){showLightAndDark()}else{hideLightAndDark()}}function setEvents(settingsElement){updateLightAndDark();onEachLazy(settingsElement.querySelectorAll("input[type=\"checkbox\"]"),toggle=>{const settingId=toggle.id;const settingValue=getSettingValue(settingId);if(settingValue!==null){toggle.checked=settingValue==="true"}toggle.onchange=()=>{changeSetting(toggle.id,toggle.checked)}});onEachLazy(settingsElement.querySelectorAll("input[type=\"radio\"]"),elem=>{const settingId=elem.name;let settingValue=getSettingValue(settingId);if(settingId==="theme"){const useSystem=getSettingValue("use-system-theme");if(useSystem==="true"||settingValue===null){settingValue=useSystem==="false"?"light":"system preference"}}if(settingValue!==null&&settingValue!=="null"){elem.checked=settingValue===elem.value}elem.addEventListener("change",ev=>{changeSetting(ev.target.name,ev.target.value)})})}function buildSettingsPageSections(settings){let output="";for(const setting of settings){if(setting==="hr"){output+="
    ";continue}const js_data_name=setting["js_name"];const setting_name=setting["name"];if(setting["options"]!==undefined){output+=`\
    ${setting_name}
    `;onEach(setting["options"],option=>{const checked=option===setting["default"]?" checked":"";const full=`${js_data_name}-${option.replace(/ /g,"-")}`;output+=`\ @@ -14,4 +14,4 @@ \ ${setting_name}\ \ -
    `}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Hide persistent navigation bar","js_name":"hide-sidebar","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
    ${buildSettingsPageSections(settings)}
    `;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display="";onEachLazy(settingsMenu.querySelectorAll("input[type='checkbox']"),el=>{const val=getSettingValue(el.id);const checked=val==="true";if(checked!==el.checked&&val!==null){el.checked=checked}})}function settingsBlurHandler(event){blurHandler(event,getSettingsButton(),window.hidePopoverMenus)}if(isSettingsPage){getSettingsButton().onclick=event=>{event.preventDefault()}}else{const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=event=>{if(settingsMenu.contains(event.target)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file +
    `}}return output}function buildSettingsPage(){const theme_names=getVar("themes").split(",").filter(t=>t);theme_names.push("light","dark","ayu");const settings=[{"name":"Theme","js_name":"theme","default":"system preference","options":theme_names.concat("system preference"),},{"name":"Preferred light theme","js_name":"preferred-light-theme","default":"light","options":theme_names,},{"name":"Preferred dark theme","js_name":"preferred-dark-theme","default":"dark","options":theme_names,},{"name":"Auto-hide item contents for large items","js_name":"auto-hide-large-items","default":true,},{"name":"Auto-hide item methods' documentation","js_name":"auto-hide-method-docs","default":false,},{"name":"Auto-hide trait implementation documentation","js_name":"auto-hide-trait-implementations","default":false,},{"name":"Directly go to item in search if there is only one result","js_name":"go-to-only-result","default":false,},{"name":"Show line numbers on code examples","js_name":"line-numbers","default":false,},{"name":"Hide persistent navigation bar","js_name":"hide-sidebar","default":false,},{"name":"Hide table of contents","js_name":"hide-toc","default":false,},{"name":"Hide module navigation","js_name":"hide-modnav","default":false,},{"name":"Disable keyboard shortcuts","js_name":"disable-shortcuts","default":false,},];const elementKind=isSettingsPage?"section":"div";const innerHTML=`
    ${buildSettingsPageSections(settings)}
    `;const el=document.createElement(elementKind);el.id="settings";if(!isSettingsPage){el.className="popover"}el.innerHTML=innerHTML;if(isSettingsPage){document.getElementById(MAIN_ID).appendChild(el)}else{el.setAttribute("tabindex","-1");getSettingsButton().appendChild(el)}return el}const settingsMenu=buildSettingsPage();function displaySettings(){settingsMenu.style.display="";onEachLazy(settingsMenu.querySelectorAll("input[type='checkbox']"),el=>{const val=getSettingValue(el.id);const checked=val==="true";if(checked!==el.checked&&val!==null){el.checked=checked}})}function settingsBlurHandler(event){if(!getHelpButton().contains(document.activeElement)&&!getHelpButton().contains(event.relatedTarget)&&!getSettingsButton().contains(document.activeElement)&&!getSettingsButton().contains(event.relatedTarget)){window.hidePopoverMenus()}}if(!isSettingsPage){const settingsButton=getSettingsButton();const settingsMenu=document.getElementById("settings");settingsButton.onclick=event=>{if(settingsMenu.contains(event.target)){return}event.preventDefault();const shouldDisplaySettings=settingsMenu.style.display==="none";window.hideAllModals();if(shouldDisplaySettings){displaySettings()}};settingsButton.onblur=settingsBlurHandler;settingsButton.querySelector("a").onblur=settingsBlurHandler;onEachLazy(settingsMenu.querySelectorAll("input"),el=>{el.onblur=settingsBlurHandler});settingsMenu.onblur=settingsBlurHandler}setTimeout(()=>{setEvents(settingsMenu);if(!isSettingsPage){displaySettings()}removeClass(getSettingsButton(),"rotate")},0)})() \ No newline at end of file diff --git a/static.files/storage-118b08c4c78b968e.js b/static.files/storage-1d39b6787ed640ff.js similarity index 71% rename from static.files/storage-118b08c4c78b968e.js rename to static.files/storage-1d39b6787ed640ff.js index 981894677..5aac776b4 100644 --- a/static.files/storage-118b08c4c78b968e.js +++ b/static.files/storage-1d39b6787ed640ff.js @@ -1,4 +1,4 @@ -"use strict";const builtinThemes=["light","dark","ayu"];const darkThemes=["dark","ayu"];window.currentTheme=document.getElementById("themeStyle");const settingsDataset=(function(){const settingsElement=document.getElementById("default-settings");return settingsElement&&settingsElement.dataset?settingsElement.dataset:null})();function getSettingValue(settingName){const current=getCurrentValue(settingName);if(current===null&&settingsDataset!==null){const def=settingsDataset[settingName.replace(/-/g,"_")];if(def!==undefined){return def}}return current}const localStoredTheme=getSettingValue("theme");function hasClass(elem,className){return elem&&elem.classList&&elem.classList.contains(className)}function addClass(elem,className){if(elem&&elem.classList){elem.classList.add(className)}}function removeClass(elem,className){if(elem&&elem.classList){elem.classList.remove(className)}}function onEach(arr,func){for(const elem of arr){if(func(elem)){return true}}return false}function onEachLazy(lazyArray,func){return onEach(Array.prototype.slice.call(lazyArray),func)}function updateLocalStorage(name,value){try{window.localStorage.setItem("rustdoc-"+name,value)}catch(e){}}function getCurrentValue(name){try{return window.localStorage.getItem("rustdoc-"+name)}catch(e){return null}}const getVar=(function getVar(name){const el=document.querySelector("head > meta[name='rustdoc-vars']");return el?el.attributes["data-"+name].value:null});function switchTheme(newThemeName,saveTheme){const themeNames=getVar("themes").split(",").filter(t=>t);themeNames.push(...builtinThemes);if(themeNames.indexOf(newThemeName)===-1){return}if(saveTheme){updateLocalStorage("theme",newThemeName)}document.documentElement.setAttribute("data-theme",newThemeName);if(builtinThemes.indexOf(newThemeName)!==-1){if(window.currentTheme){window.currentTheme.parentNode.removeChild(window.currentTheme);window.currentTheme=null}}else{const newHref=getVar("root-path")+encodeURIComponent(newThemeName)+getVar("resource-suffix")+".css";if(!window.currentTheme){if(document.readyState==="loading"){document.write(``);window.currentTheme=document.getElementById("themeStyle")}else{window.currentTheme=document.createElement("link");window.currentTheme.rel="stylesheet";window.currentTheme.id="themeStyle";window.currentTheme.href=newHref;document.documentElement.appendChild(window.currentTheme)}}else if(newHref!==window.currentTheme.href){window.currentTheme.href=newHref}}}const updateTheme=(function(){const mql=window.matchMedia("(prefers-color-scheme: dark)");function updateTheme(){if(getSettingValue("use-system-theme")!=="false"){const lightTheme=getSettingValue("preferred-light-theme")||"light";const darkTheme=getSettingValue("preferred-dark-theme")||"dark";updateLocalStorage("use-system-theme","true");switchTheme(mql.matches?darkTheme:lightTheme,true)}else{switchTheme(getSettingValue("theme"),false)}}mql.addEventListener("change",updateTheme);return updateTheme})();if(getSettingValue("use-system-theme")!=="false"&&window.matchMedia){if(getSettingValue("use-system-theme")===null&&getSettingValue("preferred-dark-theme")===null&&darkThemes.indexOf(localStoredTheme)>=0){updateLocalStorage("preferred-dark-theme",localStoredTheme)}}updateTheme();if(getSettingValue("source-sidebar-show")==="true"){addClass(document.documentElement,"src-sidebar-expanded")}if(getSettingValue("hide-sidebar")==="true"){addClass(document.documentElement,"hide-sidebar")}function updateSidebarWidth(){const desktopSidebarWidth=getSettingValue("desktop-sidebar-width");if(desktopSidebarWidth&&desktopSidebarWidth!=="null"){document.documentElement.style.setProperty("--desktop-sidebar-width",desktopSidebarWidth+"px",)}const srcSidebarWidth=getSettingValue("src-sidebar-width");if(srcSidebarWidth&&srcSidebarWidth!=="null"){document.documentElement.style.setProperty("--src-sidebar-width",srcSidebarWidth+"px",)}}updateSidebarWidth();window.addEventListener("pageshow",ev=>{if(ev.persisted){setTimeout(updateTheme,0);setTimeout(updateSidebarWidth,0)}});class RustdocSearchElement extends HTMLElement{constructor(){super()}connectedCallback(){const rootPath=getVar("root-path");const currentCrate=getVar("current-crate");this.innerHTML=``}}window.customElements.define("rustdoc-search",RustdocSearchElement);class RustdocToolbarElement extends HTMLElement{constructor(){super()}connectedCallback(){if(this.firstElementChild){return}const rootPath=getVar("root-path");this.innerHTML=` +
    + Settings +
    +
    + Help +
    + `}}window.customElements.define("rustdoc-toolbar",RustdocToolbarElement) \ No newline at end of file diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js index 22ff3763d..73e76791b 100644 --- a/trait.impl/core/clone/trait.Clone.js +++ b/trait.impl/core/clone/trait.Clone.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Clone for Capability"],["impl Clone for RepeatInfo"],["impl Clone for PointerEventKind"],["impl Clone for KeyboardInteractivity"],["impl Clone for Layer"],["impl Clone for SurfaceKind"],["impl Clone for ConfigureKind"],["impl Clone for DecorationMode"],["impl Clone for WindowDecorations"],["impl Clone for RequestData"],["impl Clone for CompositorState"],["impl Clone for DragOffer"],["impl Clone for SelectionOffer"],["impl Clone for CopyPasteSource"],["impl Clone for DragSource"],["impl Clone for DmabufFeedbackTranche"],["impl Clone for DmabufFormat"],["impl Clone for ForeignToplevelInfo"],["impl Clone for Mode"],["impl Clone for OutputData"],["impl Clone for OutputInfo"],["impl Clone for PrimarySelectionOffer"],["impl Clone for KeyEvent"],["impl Clone for Modifiers"],["impl Clone for RawModifiers"],["impl Clone for AxisScroll"],["impl Clone for PointerEvent"],["impl Clone for SeatData"],["impl Clone for SeatInfo"],["impl Clone for SessionLock"],["impl Clone for SessionLockSurface"],["impl Clone for SessionLockSurfaceConfigure"],["impl Clone for Anchor"],["impl Clone for LayerSurface"],["impl Clone for LayerSurfaceConfigure"],["impl Clone for Popup"],["impl Clone for PopupConfigure"],["impl Clone for Window"],["impl Clone for WindowConfigure"],["impl Clone for WindowData"],["impl Clone for Slot"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Clone for Capability"],["impl Clone for RepeatInfo"],["impl Clone for PointerEventKind"],["impl Clone for KeyboardInteractivity"],["impl Clone for Layer"],["impl Clone for SurfaceKind"],["impl Clone for ConfigureKind"],["impl Clone for DecorationMode"],["impl Clone for WindowDecorations"],["impl Clone for RequestData"],["impl Clone for CompositorState"],["impl Clone for DragOffer"],["impl Clone for SelectionOffer"],["impl Clone for CopyPasteSource"],["impl Clone for DragSource"],["impl Clone for DmabufFeedbackTranche"],["impl Clone for DmabufFormat"],["impl Clone for ForeignToplevelInfo"],["impl Clone for Mode"],["impl Clone for OutputData"],["impl Clone for OutputInfo"],["impl Clone for PrimarySelectionOffer"],["impl Clone for KeyEvent"],["impl Clone for Modifiers"],["impl Clone for RawModifiers"],["impl Clone for AxisScroll"],["impl Clone for PointerEvent"],["impl Clone for SeatData"],["impl Clone for SeatInfo"],["impl Clone for SessionLock"],["impl Clone for SessionLockSurface"],["impl Clone for SessionLockSurfaceConfigure"],["impl Clone for Anchor"],["impl Clone for LayerSurface"],["impl Clone for LayerSurfaceConfigure"],["impl Clone for Popup"],["impl Clone for PopupConfigure"],["impl Clone for Window"],["impl Clone for WindowConfigure"],["impl Clone for WindowData"],["impl Clone for Slot"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Eq.js b/trait.impl/core/cmp/trait.Eq.js index f75c9cd8d..ba0437858 100644 --- a/trait.impl/core/cmp/trait.Eq.js +++ b/trait.impl/core/cmp/trait.Eq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Eq for Capability"],["impl Eq for KeyboardInteractivity"],["impl Eq for Layer"],["impl Eq for SurfaceKind"],["impl Eq for DecorationMode"],["impl Eq for WindowDecorations"],["impl Eq for DataDevice"],["impl Eq for CopyPasteSource"],["impl Eq for DragSource"],["impl Eq for PrimarySelectionOffer"],["impl Eq for PrimarySelectionSource"],["impl Eq for Anchor"],["impl Eq for Popup"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Eq for Capability"],["impl Eq for KeyboardInteractivity"],["impl Eq for Layer"],["impl Eq for SurfaceKind"],["impl Eq for DecorationMode"],["impl Eq for WindowDecorations"],["impl Eq for DataDevice"],["impl Eq for CopyPasteSource"],["impl Eq for DragSource"],["impl Eq for PrimarySelectionOffer"],["impl Eq for PrimarySelectionSource"],["impl Eq for Anchor"],["impl Eq for Popup"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.Ord.js b/trait.impl/core/cmp/trait.Ord.js index a6e1b6270..02325ba74 100644 --- a/trait.impl/core/cmp/trait.Ord.js +++ b/trait.impl/core/cmp/trait.Ord.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Ord for KeyboardInteractivity"],["impl Ord for Layer"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Ord for KeyboardInteractivity"],["impl Ord for Layer"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js index eb21b8fdb..6006c9cb5 100644 --- a/trait.impl/core/cmp/trait.PartialEq.js +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl PartialEq for Capability"],["impl PartialEq for KeyboardInteractivity"],["impl PartialEq for Layer"],["impl PartialEq for SurfaceKind"],["impl PartialEq for DecorationMode"],["impl PartialEq for WindowDecorations"],["impl PartialEq for DataDevice"],["impl PartialEq for DragOffer"],["impl PartialEq for SelectionOffer"],["impl PartialEq for CopyPasteSource"],["impl PartialEq for DragSource"],["impl PartialEq for PrimarySelectionOffer"],["impl PartialEq for PrimarySelectionSource"],["impl PartialEq for AxisScroll"],["impl PartialEq for Anchor"],["impl PartialEq for LayerSurface"],["impl PartialEq for Popup"],["impl PartialEq for Window"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl PartialEq for Capability"],["impl PartialEq for KeyboardInteractivity"],["impl PartialEq for Layer"],["impl PartialEq for SurfaceKind"],["impl PartialEq for DecorationMode"],["impl PartialEq for WindowDecorations"],["impl PartialEq for DataDevice"],["impl PartialEq for DragOffer"],["impl PartialEq for SelectionOffer"],["impl PartialEq for CopyPasteSource"],["impl PartialEq for DragSource"],["impl PartialEq for PrimarySelectionOffer"],["impl PartialEq for PrimarySelectionSource"],["impl PartialEq for AxisScroll"],["impl PartialEq for Anchor"],["impl PartialEq for LayerSurface"],["impl PartialEq for Popup"],["impl PartialEq for Window"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/cmp/trait.PartialOrd.js b/trait.impl/core/cmp/trait.PartialOrd.js index 29e134e3e..7e6214c62 100644 --- a/trait.impl/core/cmp/trait.PartialOrd.js +++ b/trait.impl/core/cmp/trait.PartialOrd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl PartialOrd for KeyboardInteractivity"],["impl PartialOrd for Layer"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl PartialOrd for KeyboardInteractivity"],["impl PartialOrd for Layer"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.From.js b/trait.impl/core/convert/trait.From.js index 63c2bcc4e..7a02d3610 100644 --- a/trait.impl/core/convert/trait.From.js +++ b/trait.impl/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl From<GlobalError> for CreatePoolError"],["impl From<SeatError> for KeyboardError"],["impl From<KeyboardInteractivity> for KeyboardInteractivity"],["impl From<Layer> for Layer"],["impl From<Error> for CreatePoolError"],["impl From<Error> for CreateBufferError"],["impl From<OwnedFd> for ReadPipe"],["impl From<OwnedFd> for WritePipe"],["impl From<ReadPipe> for OwnedFd"],["impl From<WritePipe> for OwnedFd"],["impl From<WlShm> for Shm"],["impl From<WlSurface> for Surface"],["impl<I> From<Result<I, BindError>> for GlobalProxy<I>"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl From<GlobalError> for CreatePoolError"],["impl From<SeatError> for KeyboardError"],["impl From<KeyboardInteractivity> for KeyboardInteractivity"],["impl From<Layer> for Layer"],["impl From<Error> for CreatePoolError"],["impl From<Error> for CreateBufferError"],["impl From<OwnedFd> for ReadPipe"],["impl From<OwnedFd> for WritePipe"],["impl From<ReadPipe> for OwnedFd"],["impl From<WritePipe> for OwnedFd"],["impl From<WlShm> for Shm"],["impl From<WlSurface> for Surface"],["impl<I> From<Result<I, BindError>> for GlobalProxy<I>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/convert/trait.TryFrom.js b/trait.impl/core/convert/trait.TryFrom.js index 0657b2e01..1bb940fe9 100644 --- a/trait.impl/core/convert/trait.TryFrom.js +++ b/trait.impl/core/convert/trait.TryFrom.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl TryFrom<Layer> for Layer"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl TryFrom<Layer> for Layer"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index 26e6c5dbd..fc70ac30d 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Default for KeyboardInteractivity"],["impl Default for SurfaceData"],["impl Default for DataDeviceOfferInner"],["impl Default for DataOfferData"],["impl Default for DataSourceData"],["impl Default for DmabufFeedback"],["impl Default for DmabufFeedbackTranche"],["impl Default for ForeignToplevelInfo"],["impl Default for PrimarySelectionOfferData"],["impl Default for Modifiers"],["impl Default for RawModifiers"],["impl Default for AxisScroll"],["impl Default for Unsupported"],["impl<'a> Default for ThemeSpec<'a>"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Default for KeyboardInteractivity"],["impl Default for SurfaceData"],["impl Default for DataDeviceOfferInner"],["impl Default for DataOfferData"],["impl Default for DataSourceData"],["impl Default for DmabufFeedback"],["impl Default for DmabufFeedbackTranche"],["impl Default for ForeignToplevelInfo"],["impl Default for PrimarySelectionOfferData"],["impl Default for Modifiers"],["impl Default for RawModifiers"],["impl Default for AxisScroll"],["impl Default for Unsupported"],["impl<'a> Default for ThemeSpec<'a>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/error/trait.Error.js b/trait.impl/core/error/trait.Error.js index 97f391628..52f9269f5 100644 --- a/trait.impl/core/error/trait.Error.js +++ b/trait.impl/core/error/trait.Error.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Error for DataOfferError"],["impl Error for GlobalError"],["impl Error for SeatError"],["impl Error for KeyboardError"],["impl Error for PointerThemeError"],["impl Error for CreatePoolError"],["impl Error for PoolError"],["impl Error for ActivateSlotError"],["impl Error for CreateBufferError"],["impl Error for UnknownLayer"],["impl<K> Error for BufferSlot<K>
    where\n Self: Debug + Display,
    "]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Error for DataOfferError"],["impl Error for GlobalError"],["impl Error for SeatError"],["impl Error for KeyboardError"],["impl Error for PointerThemeError"],["impl Error for CreatePoolError"],["impl Error for PoolError"],["impl Error for ActivateSlotError"],["impl Error for CreateBufferError"],["impl Error for UnknownLayer"],["impl<K> Error for BufferSlot<K>
    where\n Self: Debug + Display,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Binary.js b/trait.impl/core/fmt/trait.Binary.js index ffa366312..223ae9186 100644 --- a/trait.impl/core/fmt/trait.Binary.js +++ b/trait.impl/core/fmt/trait.Binary.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Binary for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Binary for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index 6ae7b0da9..8155f6849 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Debug for DataOfferError"],["impl Debug for GlobalError"],["impl Debug for Capability"],["impl Debug for SeatError"],["impl Debug for KeyboardError"],["impl Debug for RepeatInfo"],["impl Debug for PointerEventKind"],["impl Debug for PointerThemeError"],["impl Debug for KeyboardInteractivity"],["impl Debug for Layer"],["impl Debug for SurfaceKind"],["impl Debug for ConfigureKind"],["impl Debug for DecorationMode"],["impl Debug for WindowDecorations"],["impl Debug for CreatePoolError"],["impl Debug for PoolError"],["impl Debug for ActivateSlotError"],["impl Debug for CreateBufferError"],["impl Debug for ActivationState"],["impl Debug for RequestData"],["impl Debug for CompositorState"],["impl Debug for Region"],["impl Debug for Surface"],["impl Debug for SurfaceData"],["impl Debug for DataDevice"],["impl Debug for DataDeviceData"],["impl Debug for DataDeviceOfferInner"],["impl Debug for DataOfferData"],["impl Debug for DragOffer"],["impl Debug for SelectionOffer"],["impl Debug for CopyPasteSource"],["impl Debug for DataSourceData"],["impl Debug for DragSource"],["impl Debug for DataDeviceManagerState"],["impl Debug for ReadPipe"],["impl Debug for WritePipe"],["impl Debug for DmabufFeedback"],["impl Debug for DmabufFeedbackTranche"],["impl Debug for DmabufFormat"],["impl Debug for DmabufParams"],["impl Debug for DmabufState"],["impl Debug for ForeignToplevelInfo"],["impl Debug for ForeignToplevelList"],["impl Debug for GlobalData"],["impl Debug for Mode"],["impl Debug for OutputData"],["impl Debug for OutputInfo"],["impl Debug for OutputState"],["impl Debug for ScaleWatcherHandle"],["impl Debug for PresentTime"],["impl Debug for PresentationTimeState"],["impl Debug for PrimarySelectionDevice"],["impl Debug for PrimarySelectionDeviceData"],["impl Debug for PrimarySelectionOffer"],["impl Debug for PrimarySelectionOfferData"],["impl Debug for PrimarySelectionSource"],["impl Debug for PrimarySelectionManagerState"],["impl Debug for RegistryState"],["impl Debug for KeyEvent"],["impl Debug for Modifiers"],["impl Debug for RMLVO"],["impl Debug for RawModifiers"],["impl Debug for CursorShapeManager"],["impl Debug for AxisScroll"],["impl Debug for PointerData"],["impl Debug for PointerEvent"],["impl Debug for PointerConstraintsState"],["impl Debug for RelativeMotionEvent"],["impl Debug for RelativePointerState"],["impl Debug for SeatData"],["impl Debug for SeatInfo"],["impl Debug for SeatState"],["impl Debug for TouchData"],["impl Debug for SessionLock"],["impl Debug for SessionLockData"],["impl Debug for SessionLockInner"],["impl Debug for SessionLockState"],["impl Debug for SessionLockSurface"],["impl Debug for SessionLockSurfaceConfigure"],["impl Debug for SessionLockSurfaceData"],["impl Debug for Unsupported"],["impl Debug for Anchor"],["impl Debug for LayerShell"],["impl Debug for LayerSurface"],["impl Debug for LayerSurfaceConfigure"],["impl Debug for LayerSurfaceData"],["impl Debug for UnknownLayer"],["impl Debug for Popup"],["impl Debug for PopupConfigure"],["impl Debug for PopupData"],["impl Debug for XdgPositioner"],["impl Debug for XdgShell"],["impl Debug for XdgShellSurface"],["impl Debug for Window"],["impl Debug for WindowConfigure"],["impl Debug for WindowData"],["impl Debug for RawPool"],["impl Debug for Buffer"],["impl Debug for Slot"],["impl Debug for SlotPool"],["impl Debug for Shm"],["impl Debug for SubcompositorState"],["impl Debug for SubsurfaceData"],["impl<'a> Debug for ThemeSpec<'a>"],["impl<I: Debug> Debug for GlobalProxy<I>"],["impl<I: Debug, const MAX_VERSION: u32> Debug for SimpleGlobal<I, MAX_VERSION>"],["impl<K: Debug> Debug for BufferSlot<K>"],["impl<K: Debug> Debug for MultiPool<K>"],["impl<State: Debug> Debug for FallbackFrame<State>"],["impl<T> Debug for KeyboardData<T>"],["impl<U: Debug, S: Debug> Debug for ThemedPointer<U, S>"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Debug for DataOfferError"],["impl Debug for GlobalError"],["impl Debug for Capability"],["impl Debug for SeatError"],["impl Debug for KeyboardError"],["impl Debug for RepeatInfo"],["impl Debug for PointerEventKind"],["impl Debug for PointerThemeError"],["impl Debug for KeyboardInteractivity"],["impl Debug for Layer"],["impl Debug for SurfaceKind"],["impl Debug for ConfigureKind"],["impl Debug for DecorationMode"],["impl Debug for WindowDecorations"],["impl Debug for CreatePoolError"],["impl Debug for PoolError"],["impl Debug for ActivateSlotError"],["impl Debug for CreateBufferError"],["impl Debug for ActivationState"],["impl Debug for RequestData"],["impl Debug for CompositorState"],["impl Debug for Region"],["impl Debug for Surface"],["impl Debug for SurfaceData"],["impl Debug for DataDevice"],["impl Debug for DataDeviceData"],["impl Debug for DataDeviceOfferInner"],["impl Debug for DataOfferData"],["impl Debug for DragOffer"],["impl Debug for SelectionOffer"],["impl Debug for CopyPasteSource"],["impl Debug for DataSourceData"],["impl Debug for DragSource"],["impl Debug for DataDeviceManagerState"],["impl Debug for ReadPipe"],["impl Debug for WritePipe"],["impl Debug for DmabufFeedback"],["impl Debug for DmabufFeedbackTranche"],["impl Debug for DmabufFormat"],["impl Debug for DmabufParams"],["impl Debug for DmabufState"],["impl Debug for ForeignToplevelInfo"],["impl Debug for ForeignToplevelList"],["impl Debug for GlobalData"],["impl Debug for Mode"],["impl Debug for OutputData"],["impl Debug for OutputInfo"],["impl Debug for OutputState"],["impl Debug for ScaleWatcherHandle"],["impl Debug for PresentTime"],["impl Debug for PresentationTimeState"],["impl Debug for PrimarySelectionDevice"],["impl Debug for PrimarySelectionDeviceData"],["impl Debug for PrimarySelectionOffer"],["impl Debug for PrimarySelectionOfferData"],["impl Debug for PrimarySelectionSource"],["impl Debug for PrimarySelectionManagerState"],["impl Debug for RegistryState"],["impl Debug for KeyEvent"],["impl Debug for Modifiers"],["impl Debug for RMLVO"],["impl Debug for RawModifiers"],["impl Debug for CursorShapeManager"],["impl Debug for AxisScroll"],["impl Debug for PointerData"],["impl Debug for PointerEvent"],["impl Debug for PointerConstraintsState"],["impl Debug for RelativeMotionEvent"],["impl Debug for RelativePointerState"],["impl Debug for SeatData"],["impl Debug for SeatInfo"],["impl Debug for SeatState"],["impl Debug for TouchData"],["impl Debug for SessionLock"],["impl Debug for SessionLockData"],["impl Debug for SessionLockInner"],["impl Debug for SessionLockState"],["impl Debug for SessionLockSurface"],["impl Debug for SessionLockSurfaceConfigure"],["impl Debug for SessionLockSurfaceData"],["impl Debug for Unsupported"],["impl Debug for Anchor"],["impl Debug for LayerShell"],["impl Debug for LayerSurface"],["impl Debug for LayerSurfaceConfigure"],["impl Debug for LayerSurfaceData"],["impl Debug for UnknownLayer"],["impl Debug for Popup"],["impl Debug for PopupConfigure"],["impl Debug for PopupData"],["impl Debug for XdgPositioner"],["impl Debug for XdgShell"],["impl Debug for XdgShellSurface"],["impl Debug for Window"],["impl Debug for WindowConfigure"],["impl Debug for WindowData"],["impl Debug for RawPool"],["impl Debug for Buffer"],["impl Debug for Slot"],["impl Debug for SlotPool"],["impl Debug for Shm"],["impl Debug for SubcompositorState"],["impl Debug for SubsurfaceData"],["impl<'a> Debug for ThemeSpec<'a>"],["impl<I: Debug> Debug for GlobalProxy<I>"],["impl<I: Debug, const MAX_VERSION: u32> Debug for SimpleGlobal<I, MAX_VERSION>"],["impl<K: Debug> Debug for BufferSlot<K>"],["impl<K: Debug> Debug for MultiPool<K>"],["impl<State: Debug> Debug for FallbackFrame<State>"],["impl<T> Debug for KeyboardData<T>"],["impl<U: Debug, S: Debug> Debug for ThemedPointer<U, S>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Display.js b/trait.impl/core/fmt/trait.Display.js index efb953b27..6d671353b 100644 --- a/trait.impl/core/fmt/trait.Display.js +++ b/trait.impl/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Display for DataOfferError"],["impl Display for GlobalError"],["impl Display for Capability"],["impl Display for SeatError"],["impl Display for KeyboardError"],["impl Display for PointerThemeError"],["impl Display for CreatePoolError"],["impl Display for PoolError"],["impl Display for ActivateSlotError"],["impl Display for CreateBufferError"],["impl Display for Mode"],["impl Display for SeatInfo"],["impl Display for UnknownLayer"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Display for DataOfferError"],["impl Display for GlobalError"],["impl Display for Capability"],["impl Display for SeatError"],["impl Display for KeyboardError"],["impl Display for PointerThemeError"],["impl Display for CreatePoolError"],["impl Display for PoolError"],["impl Display for ActivateSlotError"],["impl Display for CreateBufferError"],["impl Display for Mode"],["impl Display for SeatInfo"],["impl Display for UnknownLayer"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.LowerHex.js b/trait.impl/core/fmt/trait.LowerHex.js index ec1dd3c07..f6845584a 100644 --- a/trait.impl/core/fmt/trait.LowerHex.js +++ b/trait.impl/core/fmt/trait.LowerHex.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl LowerHex for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl LowerHex for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.Octal.js b/trait.impl/core/fmt/trait.Octal.js index 663d1e26a..faa4bf524 100644 --- a/trait.impl/core/fmt/trait.Octal.js +++ b/trait.impl/core/fmt/trait.Octal.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Octal for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Octal for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/fmt/trait.UpperHex.js b/trait.impl/core/fmt/trait.UpperHex.js index 104fdad85..b94b701c2 100644 --- a/trait.impl/core/fmt/trait.UpperHex.js +++ b/trait.impl/core/fmt/trait.UpperHex.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl UpperHex for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl UpperHex for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/hash/trait.Hash.js b/trait.impl/core/hash/trait.Hash.js index d938750ae..9e0f4db13 100644 --- a/trait.impl/core/hash/trait.Hash.js +++ b/trait.impl/core/hash/trait.Hash.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Hash for KeyboardInteractivity"],["impl Hash for Layer"],["impl Hash for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Hash for KeyboardInteractivity"],["impl Hash for Layer"],["impl Hash for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.Extend.js b/trait.impl/core/iter/traits/collect/trait.Extend.js index be78e5e35..967b8afc3 100644 --- a/trait.impl/core/iter/traits/collect/trait.Extend.js +++ b/trait.impl/core/iter/traits/collect/trait.Extend.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Extend<Anchor> for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Extend<Anchor> for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.FromIterator.js b/trait.impl/core/iter/traits/collect/trait.FromIterator.js index 7a7c011cc..83b3558d7 100644 --- a/trait.impl/core/iter/traits/collect/trait.FromIterator.js +++ b/trait.impl/core/iter/traits/collect/trait.FromIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl FromIterator<Anchor> for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl FromIterator<Anchor> for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/iter/traits/collect/trait.IntoIterator.js b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js index 370c38b7a..e865846b0 100644 --- a/trait.impl/core/iter/traits/collect/trait.IntoIterator.js +++ b/trait.impl/core/iter/traits/collect/trait.IntoIterator.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl IntoIterator for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl IntoIterator for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Copy.js b/trait.impl/core/marker/trait.Copy.js index 636292a85..ae213892b 100644 --- a/trait.impl/core/marker/trait.Copy.js +++ b/trait.impl/core/marker/trait.Copy.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Copy for Capability"],["impl Copy for RepeatInfo"],["impl Copy for KeyboardInteractivity"],["impl Copy for Layer"],["impl Copy for DecorationMode"],["impl Copy for WindowDecorations"],["impl Copy for DmabufFormat"],["impl Copy for Modifiers"],["impl Copy for RawModifiers"],["impl Copy for AxisScroll"],["impl Copy for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Copy for Capability"],["impl Copy for RepeatInfo"],["impl Copy for KeyboardInteractivity"],["impl Copy for Layer"],["impl Copy for DecorationMode"],["impl Copy for WindowDecorations"],["impl Copy for DmabufFormat"],["impl Copy for Modifiers"],["impl Copy for RawModifiers"],["impl Copy for AxisScroll"],["impl Copy for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index 4af13530b..ec9452f23 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !Freeze for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !Freeze for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl !Freeze for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !Freeze for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !Freeze for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Freeze for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Freeze for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Freeze for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Freeze for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Freeze for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Freeze for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Freeze for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Freeze for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Freeze for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Freeze for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Freeze for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Freeze for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Freeze for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Freeze for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Freeze for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Freeze for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Freeze for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Freeze for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Freeze for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Freeze for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Freeze for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Freeze for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Freeze for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Freeze for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Freeze for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Freeze for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Freeze for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Freeze for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Freeze for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Freeze for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Freeze for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Freeze for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Freeze for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Freeze for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Freeze for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Freeze for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Freeze for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Freeze for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Freeze for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Freeze for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Freeze for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Freeze for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Freeze for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Freeze for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Freeze for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Freeze for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Freeze for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Freeze for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Freeze for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Freeze for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Freeze for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Freeze for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Freeze for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Freeze for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Freeze for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Freeze for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Freeze for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Freeze for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Freeze for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Freeze for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Freeze for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Freeze for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Freeze for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Freeze for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Freeze for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Freeze for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Freeze for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Freeze for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Freeze for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Freeze for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Freeze for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Freeze for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Freeze for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Freeze for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Freeze for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Freeze for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Freeze for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Freeze for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Freeze for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Freeze for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Freeze for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Freeze for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Freeze for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Freeze for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Freeze for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Freeze for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Freeze for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Freeze for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Freeze for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Freeze for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Freeze for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Freeze for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Freeze for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Freeze for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Freeze for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Freeze for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Freeze for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Freeze for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> Freeze for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> Freeze for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> Freeze for GlobalProxy<I>
    where\n I: Freeze,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Freeze for SimpleGlobal<I, MAX_VERSION>
    where\n I: Freeze,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Freeze for BufferSlot<K>
    where\n K: Freeze,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Freeze for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Freeze for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !Freeze for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U, S> Freeze for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !Freeze for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !Freeze for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl !Freeze for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !Freeze for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !Freeze for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Freeze for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Freeze for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Freeze for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Freeze for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Freeze for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Freeze for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Freeze for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Freeze for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Freeze for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Freeze for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Freeze for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Freeze for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Freeze for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Freeze for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Freeze for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Freeze for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Freeze for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Freeze for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Freeze for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Freeze for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Freeze for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Freeze for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Freeze for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Freeze for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Freeze for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Freeze for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Freeze for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Freeze for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Freeze for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Freeze for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Freeze for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Freeze for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Freeze for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Freeze for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Freeze for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Freeze for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Freeze for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Freeze for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Freeze for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Freeze for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Freeze for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Freeze for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Freeze for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Freeze for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Freeze for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Freeze for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Freeze for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Freeze for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Freeze for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Freeze for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Freeze for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Freeze for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Freeze for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Freeze for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Freeze for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Freeze for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Freeze for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Freeze for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Freeze for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Freeze for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Freeze for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Freeze for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Freeze for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Freeze for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Freeze for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Freeze for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Freeze for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Freeze for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Freeze for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Freeze for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Freeze for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Freeze for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Freeze for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Freeze for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Freeze for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Freeze for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Freeze for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Freeze for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Freeze for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Freeze for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Freeze for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Freeze for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Freeze for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Freeze for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Freeze for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Freeze for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Freeze for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Freeze for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Freeze for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Freeze for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Freeze for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Freeze for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Freeze for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Freeze for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Freeze for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Freeze for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Freeze for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Freeze for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> Freeze for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> Freeze for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> Freeze for GlobalProxy<I>
    where\n I: Freeze,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Freeze for SimpleGlobal<I, MAX_VERSION>
    where\n I: Freeze,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Freeze for BufferSlot<K>
    where\n K: Freeze,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Freeze for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Freeze for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !Freeze for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U, S> Freeze for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index f445b40bf..a6fd7f70b 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Send for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Send for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Send for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Send for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Send for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Send for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Send for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Send for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Send for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Send for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Send for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Send for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Send for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Send for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Send for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Send for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Send for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Send for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Send for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Send for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Send for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Send for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Send for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Send for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Send for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Send for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Send for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Send for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Send for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Send for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Send for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Send for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Send for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Send for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Send for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Send for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Send for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Send for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Send for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Send for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Send for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Send for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Send for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Send for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Send for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Send for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Send for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Send for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Send for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Send for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Send for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Send for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Send for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Send for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Send for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Send for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Send for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Send for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Send for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Send for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Send for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Send for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Send for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Send for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Send for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Send for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Send for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Send for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Send for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Send for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Send for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Send for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Send for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Send for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Send for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Send for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Send for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Send for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Send for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Send for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Send for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Send for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Send for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Send for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Send for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Send for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Send for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Send for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Send for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Send for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Send for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Send for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Send for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Send for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Send for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Send for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Send for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Send for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Send for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Send for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Send for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Send for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Send for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> !Send for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<'a> Send for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<I> Send for GlobalProxy<I>
    where\n I: Send,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Send for SimpleGlobal<I, MAX_VERSION>
    where\n I: Send,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Send for BufferSlot<K>
    where\n K: Send,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Send for MultiPool<K>
    where\n K: Send,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Send for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Send for KeyboardData<T>"],["impl<U, S> Send for ThemedPointer<U, S>
    where\n U: Send,\n S: Send,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Send for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Send for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Send for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Send for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Send for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Send for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Send for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Send for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Send for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Send for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Send for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Send for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Send for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Send for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Send for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Send for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Send for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Send for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Send for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Send for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Send for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Send for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Send for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Send for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Send for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Send for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Send for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Send for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Send for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Send for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Send for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Send for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Send for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Send for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Send for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Send for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Send for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Send for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Send for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Send for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Send for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Send for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Send for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Send for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Send for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Send for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Send for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Send for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Send for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Send for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Send for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Send for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Send for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Send for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Send for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Send for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Send for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Send for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Send for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Send for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Send for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Send for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Send for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Send for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Send for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Send for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Send for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Send for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Send for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Send for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Send for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Send for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Send for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Send for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Send for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Send for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Send for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Send for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Send for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Send for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Send for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Send for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Send for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Send for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Send for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Send for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Send for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Send for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Send for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Send for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Send for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Send for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Send for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Send for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Send for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Send for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Send for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Send for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Send for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Send for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Send for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Send for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Send for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> !Send for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<'a> Send for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<I> Send for GlobalProxy<I>
    where\n I: Send,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Send for SimpleGlobal<I, MAX_VERSION>
    where\n I: Send,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Send for BufferSlot<K>
    where\n K: Send,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Send for MultiPool<K>
    where\n K: Send,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Send for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Send for KeyboardData<T>"],["impl<U, S> Send for ThemedPointer<U, S>
    where\n U: Send,\n S: Send,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js index 64b6f2ad9..c0199d052 100644 --- a/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl StructuralPartialEq for Capability"],["impl StructuralPartialEq for KeyboardInteractivity"],["impl StructuralPartialEq for Layer"],["impl StructuralPartialEq for SurfaceKind"],["impl StructuralPartialEq for DecorationMode"],["impl StructuralPartialEq for WindowDecorations"],["impl StructuralPartialEq for DataDevice"],["impl StructuralPartialEq for CopyPasteSource"],["impl StructuralPartialEq for DragSource"],["impl StructuralPartialEq for PrimarySelectionOffer"],["impl StructuralPartialEq for PrimarySelectionSource"],["impl StructuralPartialEq for AxisScroll"],["impl StructuralPartialEq for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl StructuralPartialEq for Capability"],["impl StructuralPartialEq for KeyboardInteractivity"],["impl StructuralPartialEq for Layer"],["impl StructuralPartialEq for SurfaceKind"],["impl StructuralPartialEq for DecorationMode"],["impl StructuralPartialEq for WindowDecorations"],["impl StructuralPartialEq for DataDevice"],["impl StructuralPartialEq for CopyPasteSource"],["impl StructuralPartialEq for DragSource"],["impl StructuralPartialEq for PrimarySelectionOffer"],["impl StructuralPartialEq for PrimarySelectionSource"],["impl StructuralPartialEq for AxisScroll"],["impl StructuralPartialEq for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index f0205a275..8ed65bdab 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Sync for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Sync for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Sync for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Sync for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Sync for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Sync for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Sync for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Sync for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Sync for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Sync for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Sync for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Sync for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Sync for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Sync for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Sync for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Sync for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Sync for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Sync for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Sync for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Sync for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Sync for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Sync for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Sync for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Sync for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Sync for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Sync for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Sync for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Sync for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Sync for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Sync for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Sync for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Sync for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Sync for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Sync for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Sync for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Sync for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Sync for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Sync for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Sync for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Sync for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Sync for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Sync for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Sync for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Sync for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Sync for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Sync for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Sync for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Sync for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Sync for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Sync for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Sync for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Sync for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Sync for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Sync for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Sync for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Sync for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Sync for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Sync for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Sync for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Sync for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Sync for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Sync for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Sync for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Sync for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Sync for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Sync for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Sync for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Sync for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Sync for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Sync for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Sync for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Sync for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Sync for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Sync for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Sync for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Sync for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Sync for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Sync for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Sync for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Sync for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Sync for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Sync for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Sync for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Sync for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Sync for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Sync for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Sync for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Sync for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Sync for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Sync for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Sync for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Sync for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Sync for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Sync for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Sync for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Sync for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Sync for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Sync for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Sync for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Sync for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Sync for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Sync for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Sync for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> !Sync for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<'a> Sync for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<I> Sync for GlobalProxy<I>
    where\n I: Sync,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Sync for SimpleGlobal<I, MAX_VERSION>
    where\n I: Sync,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Sync for BufferSlot<K>
    where\n K: Sync,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Sync for MultiPool<K>
    where\n K: Sync,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Sync for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Sync for KeyboardData<T>"],["impl<U, S> Sync for ThemedPointer<U, S>
    where\n U: Sync,\n S: Sync,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Sync for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Sync for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Sync for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Sync for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Sync for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Sync for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Sync for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Sync for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Sync for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Sync for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Sync for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Sync for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Sync for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Sync for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Sync for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Sync for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Sync for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Sync for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Sync for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Sync for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Sync for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Sync for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Sync for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Sync for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Sync for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Sync for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Sync for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Sync for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Sync for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Sync for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Sync for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Sync for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Sync for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Sync for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Sync for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Sync for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Sync for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Sync for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Sync for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Sync for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Sync for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Sync for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Sync for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Sync for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Sync for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Sync for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Sync for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Sync for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Sync for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Sync for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Sync for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Sync for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Sync for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Sync for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Sync for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Sync for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Sync for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Sync for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Sync for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Sync for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Sync for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Sync for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Sync for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Sync for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Sync for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Sync for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Sync for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Sync for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Sync for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Sync for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Sync for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Sync for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Sync for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Sync for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Sync for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Sync for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Sync for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Sync for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Sync for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Sync for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Sync for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Sync for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Sync for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Sync for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Sync for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Sync for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Sync for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Sync for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Sync for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Sync for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Sync for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Sync for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Sync for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Sync for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Sync for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Sync for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Sync for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Sync for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Sync for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Sync for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Sync for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Sync for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Sync for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> !Sync for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<'a> Sync for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<I> Sync for GlobalProxy<I>
    where\n I: Sync,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Sync for SimpleGlobal<I, MAX_VERSION>
    where\n I: Sync,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Sync for BufferSlot<K>
    where\n K: Sync,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Sync for MultiPool<K>
    where\n K: Sync,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Sync for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Sync for KeyboardData<T>"],["impl<U, S> Sync for ThemedPointer<U, S>
    where\n U: Sync,\n S: Sync,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js index 654f5d3d6..e2881a073 100644 --- a/trait.impl/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Unpin for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Unpin for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Unpin for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Unpin for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Unpin for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Unpin for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Unpin for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Unpin for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Unpin for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Unpin for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Unpin for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Unpin for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Unpin for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Unpin for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Unpin for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Unpin for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Unpin for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Unpin for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Unpin for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Unpin for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Unpin for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Unpin for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Unpin for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Unpin for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Unpin for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Unpin for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Unpin for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Unpin for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Unpin for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Unpin for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Unpin for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Unpin for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Unpin for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Unpin for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Unpin for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Unpin for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Unpin for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Unpin for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Unpin for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Unpin for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Unpin for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Unpin for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Unpin for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Unpin for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Unpin for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Unpin for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Unpin for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Unpin for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Unpin for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Unpin for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Unpin for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Unpin for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Unpin for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Unpin for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Unpin for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Unpin for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Unpin for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Unpin for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Unpin for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Unpin for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Unpin for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Unpin for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Unpin for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Unpin for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Unpin for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Unpin for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Unpin for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Unpin for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Unpin for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Unpin for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Unpin for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Unpin for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Unpin for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Unpin for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Unpin for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Unpin for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Unpin for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Unpin for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Unpin for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Unpin for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Unpin for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Unpin for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Unpin for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Unpin for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Unpin for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Unpin for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Unpin for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Unpin for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Unpin for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Unpin for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Unpin for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Unpin for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Unpin for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Unpin for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Unpin for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Unpin for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Unpin for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Unpin for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Unpin for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Unpin for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Unpin for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Unpin for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Unpin for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> Unpin for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> Unpin for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> Unpin for GlobalProxy<I>
    where\n I: Unpin,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Unpin for SimpleGlobal<I, MAX_VERSION>
    where\n I: Unpin,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Unpin for BufferSlot<K>
    where\n K: Unpin,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Unpin for MultiPool<K>
    where\n K: Unpin,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Unpin for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Unpin for KeyboardData<T>
    where\n T: Unpin,
    ",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U, S> Unpin for ThemedPointer<U, S>
    where\n U: Unpin,\n S: Unpin,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Unpin for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl Unpin for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl Unpin for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl Unpin for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl Unpin for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl Unpin for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl Unpin for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl Unpin for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl Unpin for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl Unpin for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl Unpin for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl Unpin for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl Unpin for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl Unpin for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl Unpin for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl Unpin for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl Unpin for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl Unpin for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl Unpin for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl Unpin for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl Unpin for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl Unpin for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl Unpin for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl Unpin for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl Unpin for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl Unpin for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl Unpin for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl Unpin for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl Unpin for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl Unpin for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl Unpin for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl Unpin for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl Unpin for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl Unpin for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl Unpin for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl Unpin for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl Unpin for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl Unpin for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl Unpin for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl Unpin for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl Unpin for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl Unpin for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl Unpin for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl Unpin for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl Unpin for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl Unpin for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl Unpin for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl Unpin for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl Unpin for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl Unpin for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl Unpin for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl Unpin for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl Unpin for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl Unpin for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl Unpin for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl Unpin for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl Unpin for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl Unpin for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl Unpin for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl Unpin for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl Unpin for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl Unpin for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl Unpin for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl Unpin for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl Unpin for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl Unpin for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl Unpin for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl Unpin for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl Unpin for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl Unpin for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl Unpin for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl Unpin for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl Unpin for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl Unpin for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl Unpin for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl Unpin for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl Unpin for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl Unpin for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl Unpin for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl Unpin for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl Unpin for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl Unpin for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl Unpin for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl Unpin for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl Unpin for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl Unpin for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl Unpin for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl Unpin for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl Unpin for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl Unpin for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl Unpin for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl Unpin for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl Unpin for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl Unpin for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl Unpin for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl Unpin for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl Unpin for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl Unpin for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl Unpin for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl Unpin for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl Unpin for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl Unpin for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl Unpin for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl<'a> Unpin for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> Unpin for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> Unpin for GlobalProxy<I>
    where\n I: Unpin,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> Unpin for SimpleGlobal<I, MAX_VERSION>
    where\n I: Unpin,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> Unpin for BufferSlot<K>
    where\n K: Unpin,
    ",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> Unpin for MultiPool<K>
    where\n K: Unpin,
    ",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> Unpin for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> Unpin for KeyboardData<T>
    where\n T: Unpin,
    ",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U, S> Unpin for ThemedPointer<U, S>
    where\n U: Unpin,\n S: Unpin,
    ",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/arith/trait.Sub.js b/trait.impl/core/ops/arith/trait.Sub.js index 70cc22d05..ca758172b 100644 --- a/trait.impl/core/ops/arith/trait.Sub.js +++ b/trait.impl/core/ops/arith/trait.Sub.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Sub for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Sub for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/arith/trait.SubAssign.js b/trait.impl/core/ops/arith/trait.SubAssign.js index ed059dbac..a53768a8b 100644 --- a/trait.impl/core/ops/arith/trait.SubAssign.js +++ b/trait.impl/core/ops/arith/trait.SubAssign.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl SubAssign for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl SubAssign for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitAnd.js b/trait.impl/core/ops/bit/trait.BitAnd.js index 754b6024f..02ac95184 100644 --- a/trait.impl/core/ops/bit/trait.BitAnd.js +++ b/trait.impl/core/ops/bit/trait.BitAnd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitAnd for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitAnd for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitAndAssign.js b/trait.impl/core/ops/bit/trait.BitAndAssign.js index aefadb8df..bcabba456 100644 --- a/trait.impl/core/ops/bit/trait.BitAndAssign.js +++ b/trait.impl/core/ops/bit/trait.BitAndAssign.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitAndAssign for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitAndAssign for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitOr.js b/trait.impl/core/ops/bit/trait.BitOr.js index e76e01907..3062676bf 100644 --- a/trait.impl/core/ops/bit/trait.BitOr.js +++ b/trait.impl/core/ops/bit/trait.BitOr.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitOr for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitOr for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitOrAssign.js b/trait.impl/core/ops/bit/trait.BitOrAssign.js index 9e13ef1df..ff55c4940 100644 --- a/trait.impl/core/ops/bit/trait.BitOrAssign.js +++ b/trait.impl/core/ops/bit/trait.BitOrAssign.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitOrAssign for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitOrAssign for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitXor.js b/trait.impl/core/ops/bit/trait.BitXor.js index fd9891bf1..5f8c37da3 100644 --- a/trait.impl/core/ops/bit/trait.BitXor.js +++ b/trait.impl/core/ops/bit/trait.BitXor.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitXor for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitXor for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.BitXorAssign.js b/trait.impl/core/ops/bit/trait.BitXorAssign.js index 1bd3e3cc4..2fe54c76a 100644 --- a/trait.impl/core/ops/bit/trait.BitXorAssign.js +++ b/trait.impl/core/ops/bit/trait.BitXorAssign.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitXorAssign for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl BitXorAssign for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/bit/trait.Not.js b/trait.impl/core/ops/bit/trait.Not.js index 5a4558446..4c70b9d07 100644 --- a/trait.impl/core/ops/bit/trait.Not.js +++ b/trait.impl/core/ops/bit/trait.Not.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Not for Anchor"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Not for Anchor"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/deref/trait.Deref.js b/trait.impl/core/ops/deref/trait.Deref.js index ffb3feab6..de662d7e0 100644 --- a/trait.impl/core/ops/deref/trait.Deref.js +++ b/trait.impl/core/ops/deref/trait.Deref.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Deref for XdgPositioner"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Deref for XdgPositioner"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/ops/drop/trait.Drop.js b/trait.impl/core/ops/drop/trait.Drop.js index 14624edfc..996c7075c 100644 --- a/trait.impl/core/ops/drop/trait.Drop.js +++ b/trait.impl/core/ops/drop/trait.Drop.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Drop for Region"],["impl Drop for Surface"],["impl Drop for DataDevice"],["impl Drop for CopyPasteSource"],["impl Drop for DragSource"],["impl Drop for PrimarySelectionDevice"],["impl Drop for PrimarySelectionSource"],["impl Drop for PrimarySelectionManagerState"],["impl Drop for SessionLockInner"],["impl Drop for XdgPositioner"],["impl Drop for XdgShellSurface"],["impl Drop for RawPool"],["impl Drop for Buffer"],["impl Drop for Slot"],["impl<K> Drop for BufferSlot<K>"],["impl<U, S> Drop for ThemedPointer<U, S>"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Drop for Region"],["impl Drop for Surface"],["impl Drop for DataDevice"],["impl Drop for CopyPasteSource"],["impl Drop for DragSource"],["impl Drop for PrimarySelectionDevice"],["impl Drop for PrimarySelectionSource"],["impl Drop for PrimarySelectionManagerState"],["impl Drop for SessionLockInner"],["impl Drop for XdgPositioner"],["impl Drop for XdgShellSurface"],["impl Drop for RawPool"],["impl Drop for Buffer"],["impl Drop for Slot"],["impl<K> Drop for BufferSlot<K>"],["impl<U, S> Drop for ThemedPointer<U, S>"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 3fb80270c..203ab16b1 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !RefUnwindSafe for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl !RefUnwindSafe for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl !RefUnwindSafe for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl !RefUnwindSafe for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl !RefUnwindSafe for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl !RefUnwindSafe for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl !RefUnwindSafe for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl !RefUnwindSafe for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl !RefUnwindSafe for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl !RefUnwindSafe for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !RefUnwindSafe for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl !RefUnwindSafe for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl !RefUnwindSafe for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl !RefUnwindSafe for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl !RefUnwindSafe for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl !RefUnwindSafe for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl !RefUnwindSafe for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl !RefUnwindSafe for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl !RefUnwindSafe for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl !RefUnwindSafe for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl !RefUnwindSafe for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl !RefUnwindSafe for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl !RefUnwindSafe for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl !RefUnwindSafe for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl !RefUnwindSafe for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl !RefUnwindSafe for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl !RefUnwindSafe for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl !RefUnwindSafe for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl !RefUnwindSafe for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl !RefUnwindSafe for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl !RefUnwindSafe for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl !RefUnwindSafe for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !RefUnwindSafe for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl !RefUnwindSafe for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl !RefUnwindSafe for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl !RefUnwindSafe for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl !RefUnwindSafe for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !RefUnwindSafe for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl !RefUnwindSafe for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl !RefUnwindSafe for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl !RefUnwindSafe for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl !RefUnwindSafe for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl !RefUnwindSafe for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl !RefUnwindSafe for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl !RefUnwindSafe for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl !RefUnwindSafe for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl !RefUnwindSafe for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl !RefUnwindSafe for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl !RefUnwindSafe for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl !RefUnwindSafe for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl !RefUnwindSafe for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl !RefUnwindSafe for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl !RefUnwindSafe for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl !RefUnwindSafe for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl !RefUnwindSafe for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl !RefUnwindSafe for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl !RefUnwindSafe for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl !RefUnwindSafe for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl !RefUnwindSafe for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl RefUnwindSafe for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl RefUnwindSafe for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl RefUnwindSafe for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl RefUnwindSafe for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl RefUnwindSafe for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl RefUnwindSafe for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl RefUnwindSafe for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl RefUnwindSafe for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl RefUnwindSafe for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl RefUnwindSafe for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl RefUnwindSafe for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl RefUnwindSafe for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl RefUnwindSafe for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl RefUnwindSafe for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl RefUnwindSafe for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl RefUnwindSafe for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl RefUnwindSafe for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl RefUnwindSafe for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl RefUnwindSafe for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl RefUnwindSafe for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl RefUnwindSafe for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl RefUnwindSafe for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl RefUnwindSafe for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl RefUnwindSafe for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl RefUnwindSafe for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl RefUnwindSafe for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl RefUnwindSafe for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl RefUnwindSafe for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl RefUnwindSafe for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl RefUnwindSafe for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl RefUnwindSafe for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl RefUnwindSafe for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl RefUnwindSafe for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl RefUnwindSafe for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl RefUnwindSafe for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl RefUnwindSafe for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl RefUnwindSafe for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl RefUnwindSafe for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl RefUnwindSafe for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl RefUnwindSafe for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl RefUnwindSafe for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl RefUnwindSafe for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl RefUnwindSafe for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl RefUnwindSafe for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl<'a> RefUnwindSafe for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> RefUnwindSafe for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> RefUnwindSafe for GlobalProxy<I>
    where\n I: RefUnwindSafe,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> RefUnwindSafe for SimpleGlobal<I, MAX_VERSION>
    where\n I: RefUnwindSafe,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> !RefUnwindSafe for BufferSlot<K>",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> !RefUnwindSafe for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> !RefUnwindSafe for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !RefUnwindSafe for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U = PointerData, S = SurfaceData> !RefUnwindSafe for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !RefUnwindSafe for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl !RefUnwindSafe for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl !RefUnwindSafe for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl !RefUnwindSafe for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl !RefUnwindSafe for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl !RefUnwindSafe for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl !RefUnwindSafe for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl !RefUnwindSafe for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl !RefUnwindSafe for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl !RefUnwindSafe for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !RefUnwindSafe for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl !RefUnwindSafe for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl !RefUnwindSafe for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl !RefUnwindSafe for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl !RefUnwindSafe for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl !RefUnwindSafe for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl !RefUnwindSafe for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl !RefUnwindSafe for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl !RefUnwindSafe for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl !RefUnwindSafe for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl !RefUnwindSafe for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl !RefUnwindSafe for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl !RefUnwindSafe for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl !RefUnwindSafe for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl !RefUnwindSafe for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl !RefUnwindSafe for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl !RefUnwindSafe for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl !RefUnwindSafe for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl !RefUnwindSafe for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl !RefUnwindSafe for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl !RefUnwindSafe for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl !RefUnwindSafe for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !RefUnwindSafe for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl !RefUnwindSafe for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl !RefUnwindSafe for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl !RefUnwindSafe for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl !RefUnwindSafe for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !RefUnwindSafe for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl !RefUnwindSafe for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl !RefUnwindSafe for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl !RefUnwindSafe for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl !RefUnwindSafe for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl !RefUnwindSafe for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl !RefUnwindSafe for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl !RefUnwindSafe for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl !RefUnwindSafe for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl !RefUnwindSafe for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl !RefUnwindSafe for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl !RefUnwindSafe for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl !RefUnwindSafe for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl !RefUnwindSafe for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl !RefUnwindSafe for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl !RefUnwindSafe for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl !RefUnwindSafe for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl !RefUnwindSafe for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl !RefUnwindSafe for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl !RefUnwindSafe for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl !RefUnwindSafe for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl !RefUnwindSafe for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl RefUnwindSafe for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl RefUnwindSafe for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl RefUnwindSafe for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl RefUnwindSafe for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl RefUnwindSafe for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl RefUnwindSafe for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl RefUnwindSafe for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl RefUnwindSafe for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl RefUnwindSafe for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl RefUnwindSafe for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl RefUnwindSafe for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl RefUnwindSafe for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl RefUnwindSafe for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl RefUnwindSafe for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl RefUnwindSafe for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl RefUnwindSafe for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl RefUnwindSafe for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl RefUnwindSafe for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl RefUnwindSafe for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl RefUnwindSafe for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl RefUnwindSafe for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl RefUnwindSafe for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl RefUnwindSafe for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl RefUnwindSafe for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl RefUnwindSafe for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl RefUnwindSafe for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl RefUnwindSafe for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl RefUnwindSafe for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl RefUnwindSafe for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl RefUnwindSafe for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl RefUnwindSafe for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl RefUnwindSafe for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl RefUnwindSafe for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl RefUnwindSafe for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl RefUnwindSafe for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl RefUnwindSafe for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl RefUnwindSafe for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl RefUnwindSafe for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl RefUnwindSafe for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl RefUnwindSafe for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl RefUnwindSafe for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl RefUnwindSafe for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl RefUnwindSafe for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl RefUnwindSafe for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl<'a> RefUnwindSafe for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> RefUnwindSafe for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> RefUnwindSafe for GlobalProxy<I>
    where\n I: RefUnwindSafe,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> RefUnwindSafe for SimpleGlobal<I, MAX_VERSION>
    where\n I: RefUnwindSafe,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> !RefUnwindSafe for BufferSlot<K>",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> !RefUnwindSafe for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> !RefUnwindSafe for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !RefUnwindSafe for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U = PointerData, S = SurfaceData> !RefUnwindSafe for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index f30af6c53..884e10798 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !UnwindSafe for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl !UnwindSafe for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl !UnwindSafe for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl !UnwindSafe for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl !UnwindSafe for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl !UnwindSafe for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl !UnwindSafe for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl !UnwindSafe for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl !UnwindSafe for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl !UnwindSafe for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !UnwindSafe for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl !UnwindSafe for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl !UnwindSafe for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl !UnwindSafe for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl !UnwindSafe for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl !UnwindSafe for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl !UnwindSafe for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl !UnwindSafe for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl !UnwindSafe for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl !UnwindSafe for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl !UnwindSafe for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl !UnwindSafe for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl !UnwindSafe for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl !UnwindSafe for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl !UnwindSafe for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl !UnwindSafe for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl !UnwindSafe for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl !UnwindSafe for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl !UnwindSafe for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl !UnwindSafe for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl !UnwindSafe for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl !UnwindSafe for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !UnwindSafe for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl !UnwindSafe for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl !UnwindSafe for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl !UnwindSafe for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl !UnwindSafe for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !UnwindSafe for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl !UnwindSafe for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl !UnwindSafe for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl !UnwindSafe for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl !UnwindSafe for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl !UnwindSafe for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl !UnwindSafe for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl !UnwindSafe for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl !UnwindSafe for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl !UnwindSafe for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl !UnwindSafe for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl !UnwindSafe for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl !UnwindSafe for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl !UnwindSafe for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl !UnwindSafe for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl !UnwindSafe for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl !UnwindSafe for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl !UnwindSafe for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl !UnwindSafe for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl !UnwindSafe for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl !UnwindSafe for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl !UnwindSafe for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl UnwindSafe for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl UnwindSafe for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl UnwindSafe for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl UnwindSafe for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl UnwindSafe for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl UnwindSafe for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl UnwindSafe for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl UnwindSafe for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl UnwindSafe for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl UnwindSafe for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl UnwindSafe for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl UnwindSafe for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl UnwindSafe for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl UnwindSafe for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl UnwindSafe for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl UnwindSafe for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl UnwindSafe for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl UnwindSafe for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl UnwindSafe for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl UnwindSafe for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl UnwindSafe for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl UnwindSafe for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl UnwindSafe for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl UnwindSafe for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl UnwindSafe for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl UnwindSafe for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl UnwindSafe for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl UnwindSafe for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl UnwindSafe for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl UnwindSafe for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl UnwindSafe for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl UnwindSafe for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl UnwindSafe for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl UnwindSafe for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl UnwindSafe for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl UnwindSafe for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl UnwindSafe for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl UnwindSafe for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl UnwindSafe for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl UnwindSafe for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl UnwindSafe for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl UnwindSafe for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl UnwindSafe for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl UnwindSafe for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl<'a> UnwindSafe for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> UnwindSafe for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> UnwindSafe for GlobalProxy<I>
    where\n I: UnwindSafe,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> UnwindSafe for SimpleGlobal<I, MAX_VERSION>
    where\n I: UnwindSafe,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> !UnwindSafe for BufferSlot<K>",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> !UnwindSafe for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> !UnwindSafe for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !UnwindSafe for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U = PointerData, S = SurfaceData> !UnwindSafe for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl !UnwindSafe for DataOfferError",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferError"]],["impl !UnwindSafe for SurfaceKind",1,["smithay_client_toolkit::shell::wlr_layer::SurfaceKind"]],["impl !UnwindSafe for CreatePoolError",1,["smithay_client_toolkit::shm::CreatePoolError"]],["impl !UnwindSafe for CreateBufferError",1,["smithay_client_toolkit::shm::slot::CreateBufferError"]],["impl !UnwindSafe for ActivationState",1,["smithay_client_toolkit::activation::ActivationState"]],["impl !UnwindSafe for RequestData",1,["smithay_client_toolkit::activation::RequestData"]],["impl !UnwindSafe for CompositorState",1,["smithay_client_toolkit::compositor::CompositorState"]],["impl !UnwindSafe for Region",1,["smithay_client_toolkit::compositor::Region"]],["impl !UnwindSafe for Surface",1,["smithay_client_toolkit::compositor::Surface"]],["impl !UnwindSafe for SurfaceData",1,["smithay_client_toolkit::compositor::SurfaceData"]],["impl !UnwindSafe for DataDevice",1,["smithay_client_toolkit::data_device_manager::data_device::DataDevice"]],["impl !UnwindSafe for DataDeviceData",1,["smithay_client_toolkit::data_device_manager::data_device::DataDeviceData"]],["impl !UnwindSafe for DataDeviceOfferInner",1,["smithay_client_toolkit::data_device_manager::data_offer::DataDeviceOfferInner"]],["impl !UnwindSafe for DragOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::DragOffer"]],["impl !UnwindSafe for SelectionOffer",1,["smithay_client_toolkit::data_device_manager::data_offer::SelectionOffer"]],["impl !UnwindSafe for CopyPasteSource",1,["smithay_client_toolkit::data_device_manager::data_source::CopyPasteSource"]],["impl !UnwindSafe for DragSource",1,["smithay_client_toolkit::data_device_manager::data_source::DragSource"]],["impl !UnwindSafe for DataDeviceManagerState",1,["smithay_client_toolkit::data_device_manager::DataDeviceManagerState"]],["impl !UnwindSafe for DmabufParams",1,["smithay_client_toolkit::dmabuf::DmabufParams"]],["impl !UnwindSafe for DmabufState",1,["smithay_client_toolkit::dmabuf::DmabufState"]],["impl !UnwindSafe for ForeignToplevelList",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelList"]],["impl !UnwindSafe for OutputState",1,["smithay_client_toolkit::output::OutputState"]],["impl !UnwindSafe for ScaleWatcherHandle",1,["smithay_client_toolkit::output::ScaleWatcherHandle"]],["impl !UnwindSafe for PresentationTimeState",1,["smithay_client_toolkit::presentation_time::PresentationTimeState"]],["impl !UnwindSafe for PrimarySelectionDevice",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDevice"]],["impl !UnwindSafe for PrimarySelectionDeviceData",1,["smithay_client_toolkit::primary_selection::device::PrimarySelectionDeviceData"]],["impl !UnwindSafe for PrimarySelectionOffer",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOffer"]],["impl !UnwindSafe for PrimarySelectionSource",1,["smithay_client_toolkit::primary_selection::selection::PrimarySelectionSource"]],["impl !UnwindSafe for PrimarySelectionManagerState",1,["smithay_client_toolkit::primary_selection::PrimarySelectionManagerState"]],["impl !UnwindSafe for RegistryState",1,["smithay_client_toolkit::registry::RegistryState"]],["impl !UnwindSafe for CursorShapeManager",1,["smithay_client_toolkit::seat::pointer::cursor_shape::CursorShapeManager"]],["impl !UnwindSafe for PointerData",1,["smithay_client_toolkit::seat::pointer::PointerData"]],["impl !UnwindSafe for PointerEvent",1,["smithay_client_toolkit::seat::pointer::PointerEvent"]],["impl !UnwindSafe for PointerConstraintsState",1,["smithay_client_toolkit::seat::pointer_constraints::PointerConstraintsState"]],["impl !UnwindSafe for RelativePointerState",1,["smithay_client_toolkit::seat::relative_pointer::RelativePointerState"]],["impl !UnwindSafe for SeatState",1,["smithay_client_toolkit::seat::SeatState"]],["impl !UnwindSafe for TouchData",1,["smithay_client_toolkit::seat::touch::TouchData"]],["impl !UnwindSafe for SessionLock",1,["smithay_client_toolkit::session_lock::SessionLock"]],["impl !UnwindSafe for SessionLockData",1,["smithay_client_toolkit::session_lock::SessionLockData"]],["impl !UnwindSafe for SessionLockInner",1,["smithay_client_toolkit::session_lock::SessionLockInner"]],["impl !UnwindSafe for SessionLockState",1,["smithay_client_toolkit::session_lock::SessionLockState"]],["impl !UnwindSafe for SessionLockSurface",1,["smithay_client_toolkit::session_lock::SessionLockSurface"]],["impl !UnwindSafe for SessionLockSurfaceData",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceData"]],["impl !UnwindSafe for LayerShell",1,["smithay_client_toolkit::shell::wlr_layer::LayerShell"]],["impl !UnwindSafe for LayerSurface",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurface"]],["impl !UnwindSafe for LayerSurfaceData",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceData"]],["impl !UnwindSafe for Popup",1,["smithay_client_toolkit::shell::xdg::popup::Popup"]],["impl !UnwindSafe for PopupData",1,["smithay_client_toolkit::shell::xdg::popup::PopupData"]],["impl !UnwindSafe for XdgPositioner",1,["smithay_client_toolkit::shell::xdg::XdgPositioner"]],["impl !UnwindSafe for XdgShell",1,["smithay_client_toolkit::shell::xdg::XdgShell"]],["impl !UnwindSafe for XdgShellSurface",1,["smithay_client_toolkit::shell::xdg::XdgShellSurface"]],["impl !UnwindSafe for Window",1,["smithay_client_toolkit::shell::xdg::window::Window"]],["impl !UnwindSafe for WindowData",1,["smithay_client_toolkit::shell::xdg::window::WindowData"]],["impl !UnwindSafe for RawPool",1,["smithay_client_toolkit::shm::raw::RawPool"]],["impl !UnwindSafe for Buffer",1,["smithay_client_toolkit::shm::slot::Buffer"]],["impl !UnwindSafe for SlotPool",1,["smithay_client_toolkit::shm::slot::SlotPool"]],["impl !UnwindSafe for Shm",1,["smithay_client_toolkit::shm::Shm"]],["impl !UnwindSafe for SubcompositorState",1,["smithay_client_toolkit::subcompositor::SubcompositorState"]],["impl !UnwindSafe for SubsurfaceData",1,["smithay_client_toolkit::subcompositor::SubsurfaceData"]],["impl UnwindSafe for GlobalError",1,["smithay_client_toolkit::error::GlobalError"]],["impl UnwindSafe for Capability",1,["smithay_client_toolkit::seat::Capability"]],["impl UnwindSafe for SeatError",1,["smithay_client_toolkit::seat::SeatError"]],["impl UnwindSafe for KeyboardError",1,["smithay_client_toolkit::seat::keyboard::KeyboardError"]],["impl UnwindSafe for RepeatInfo",1,["smithay_client_toolkit::seat::keyboard::RepeatInfo"]],["impl UnwindSafe for PointerEventKind",1,["smithay_client_toolkit::seat::pointer::PointerEventKind"]],["impl UnwindSafe for PointerThemeError",1,["smithay_client_toolkit::seat::pointer::PointerThemeError"]],["impl UnwindSafe for KeyboardInteractivity",1,["smithay_client_toolkit::shell::wlr_layer::KeyboardInteractivity"]],["impl UnwindSafe for Layer",1,["smithay_client_toolkit::shell::wlr_layer::Layer"]],["impl UnwindSafe for ConfigureKind",1,["smithay_client_toolkit::shell::xdg::popup::ConfigureKind"]],["impl UnwindSafe for DecorationMode",1,["smithay_client_toolkit::shell::xdg::window::DecorationMode"]],["impl UnwindSafe for WindowDecorations",1,["smithay_client_toolkit::shell::xdg::window::WindowDecorations"]],["impl UnwindSafe for PoolError",1,["smithay_client_toolkit::shm::multi::PoolError"]],["impl UnwindSafe for ActivateSlotError",1,["smithay_client_toolkit::shm::slot::ActivateSlotError"]],["impl UnwindSafe for DataOfferData",1,["smithay_client_toolkit::data_device_manager::data_offer::DataOfferData"]],["impl UnwindSafe for DataSourceData",1,["smithay_client_toolkit::data_device_manager::data_source::DataSourceData"]],["impl UnwindSafe for ReadPipe",1,["smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe"]],["impl UnwindSafe for WritePipe",1,["smithay_client_toolkit::data_device_manager::write_pipe::WritePipe"]],["impl UnwindSafe for DmabufFeedback",1,["smithay_client_toolkit::dmabuf::DmabufFeedback"]],["impl UnwindSafe for DmabufFeedbackTranche",1,["smithay_client_toolkit::dmabuf::DmabufFeedbackTranche"]],["impl UnwindSafe for DmabufFormat",1,["smithay_client_toolkit::dmabuf::DmabufFormat"]],["impl UnwindSafe for ForeignToplevelInfo",1,["smithay_client_toolkit::foreign_toplevel_list::ForeignToplevelInfo"]],["impl UnwindSafe for GlobalData",1,["smithay_client_toolkit::globals::GlobalData"]],["impl UnwindSafe for Mode",1,["smithay_client_toolkit::output::Mode"]],["impl UnwindSafe for OutputData",1,["smithay_client_toolkit::output::OutputData"]],["impl UnwindSafe for OutputInfo",1,["smithay_client_toolkit::output::OutputInfo"]],["impl UnwindSafe for PresentTime",1,["smithay_client_toolkit::presentation_time::PresentTime"]],["impl UnwindSafe for PrimarySelectionOfferData",1,["smithay_client_toolkit::primary_selection::offer::PrimarySelectionOfferData"]],["impl UnwindSafe for KeyEvent",1,["smithay_client_toolkit::seat::keyboard::KeyEvent"]],["impl UnwindSafe for Modifiers",1,["smithay_client_toolkit::seat::keyboard::Modifiers"]],["impl UnwindSafe for RMLVO",1,["smithay_client_toolkit::seat::keyboard::RMLVO"]],["impl UnwindSafe for RawModifiers",1,["smithay_client_toolkit::seat::keyboard::RawModifiers"]],["impl UnwindSafe for AxisScroll",1,["smithay_client_toolkit::seat::pointer::AxisScroll"]],["impl UnwindSafe for RelativeMotionEvent",1,["smithay_client_toolkit::seat::relative_pointer::RelativeMotionEvent"]],["impl UnwindSafe for SeatData",1,["smithay_client_toolkit::seat::SeatData"]],["impl UnwindSafe for SeatInfo",1,["smithay_client_toolkit::seat::SeatInfo"]],["impl UnwindSafe for SessionLockSurfaceConfigure",1,["smithay_client_toolkit::session_lock::SessionLockSurfaceConfigure"]],["impl UnwindSafe for Unsupported",1,["smithay_client_toolkit::shell::Unsupported"]],["impl UnwindSafe for Anchor",1,["smithay_client_toolkit::shell::wlr_layer::Anchor"]],["impl UnwindSafe for LayerSurfaceConfigure",1,["smithay_client_toolkit::shell::wlr_layer::LayerSurfaceConfigure"]],["impl UnwindSafe for UnknownLayer",1,["smithay_client_toolkit::shell::wlr_layer::UnknownLayer"]],["impl UnwindSafe for PopupConfigure",1,["smithay_client_toolkit::shell::xdg::popup::PopupConfigure"]],["impl UnwindSafe for WindowConfigure",1,["smithay_client_toolkit::shell::xdg::window::WindowConfigure"]],["impl UnwindSafe for Slot",1,["smithay_client_toolkit::shm::slot::Slot"]],["impl<'a> UnwindSafe for ThemeSpec<'a>",1,["smithay_client_toolkit::seat::pointer::ThemeSpec"]],["impl<'a> UnwindSafe for Keymap<'a>",1,["smithay_client_toolkit::seat::keyboard::Keymap"]],["impl<I> UnwindSafe for GlobalProxy<I>
    where\n I: UnwindSafe,
    ",1,["smithay_client_toolkit::registry::GlobalProxy"]],["impl<I, const MAX_VERSION: u32> UnwindSafe for SimpleGlobal<I, MAX_VERSION>
    where\n I: UnwindSafe,
    ",1,["smithay_client_toolkit::registry::SimpleGlobal"]],["impl<K> !UnwindSafe for BufferSlot<K>",1,["smithay_client_toolkit::shm::multi::BufferSlot"]],["impl<K> !UnwindSafe for MultiPool<K>",1,["smithay_client_toolkit::shm::multi::MultiPool"]],["impl<State> !UnwindSafe for FallbackFrame<State>",1,["smithay_client_toolkit::shell::xdg::fallback_frame::FallbackFrame"]],["impl<T> !UnwindSafe for KeyboardData<T>",1,["smithay_client_toolkit::seat::keyboard::KeyboardData"]],["impl<U = PointerData, S = SurfaceData> !UnwindSafe for ThemedPointer<U, S>",1,["smithay_client_toolkit::seat::pointer::ThemedPointer"]]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/io/trait.Read.js b/trait.impl/std/io/trait.Read.js index f3c3bb3be..f0f595dfb 100644 --- a/trait.impl/std/io/trait.Read.js +++ b/trait.impl/std/io/trait.Read.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Read for ReadPipe"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Read for ReadPipe"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/io/trait.Seek.js b/trait.impl/std/io/trait.Seek.js index 23dbac1c0..e87233d47 100644 --- a/trait.impl/std/io/trait.Seek.js +++ b/trait.impl/std/io/trait.Seek.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Seek for RawPool"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Seek for RawPool"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/io/trait.Write.js b/trait.impl/std/io/trait.Write.js index a3048efad..f349dc13c 100644 --- a/trait.impl/std/io/trait.Write.js +++ b/trait.impl/std/io/trait.Write.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Write for WritePipe"],["impl Write for RawPool"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Write for WritePipe"],["impl Write for RawPool"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/os/fd/owned/trait.AsFd.js b/trait.impl/std/os/fd/owned/trait.AsFd.js index 9bb960d12..b3d5bd267 100644 --- a/trait.impl/std/os/fd/owned/trait.AsFd.js +++ b/trait.impl/std/os/fd/owned/trait.AsFd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl AsFd for ReadPipe"],["impl AsFd for WritePipe"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl AsFd for ReadPipe"],["impl AsFd for WritePipe"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/os/fd/raw/trait.AsRawFd.js b/trait.impl/std/os/fd/raw/trait.AsRawFd.js index d341078eb..f203ded96 100644 --- a/trait.impl/std/os/fd/raw/trait.AsRawFd.js +++ b/trait.impl/std/os/fd/raw/trait.AsRawFd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl AsRawFd for ReadPipe"],["impl AsRawFd for WritePipe"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl AsRawFd for ReadPipe"],["impl AsRawFd for WritePipe"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/os/fd/raw/trait.FromRawFd.js b/trait.impl/std/os/fd/raw/trait.FromRawFd.js index c99e8b4dc..408d872b0 100644 --- a/trait.impl/std/os/fd/raw/trait.FromRawFd.js +++ b/trait.impl/std/os/fd/raw/trait.FromRawFd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl FromRawFd for ReadPipe"],["impl FromRawFd for WritePipe"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl FromRawFd for ReadPipe"],["impl FromRawFd for WritePipe"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/std/os/fd/raw/trait.IntoRawFd.js b/trait.impl/std/os/fd/raw/trait.IntoRawFd.js index 268f0b7f8..dec426a10 100644 --- a/trait.impl/std/os/fd/raw/trait.IntoRawFd.js +++ b/trait.impl/std/os/fd/raw/trait.IntoRawFd.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl IntoRawFd for ReadPipe"],["impl IntoRawFd for WritePipe"]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl IntoRawFd for ReadPipe"],["impl IntoRawFd for WritePipe"]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/trait.impl/wayland_client/event_queue/trait.Dispatch.js b/trait.impl/wayland_client/event_queue/trait.Dispatch.js index 13b0b4e24..e028d491e 100644 --- a/trait.impl/wayland_client/event_queue/trait.Dispatch.js +++ b/trait.impl/wayland_client/event_queue/trait.Dispatch.js @@ -1,5 +1,5 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
    where\n D: Dispatch<ExtForeignToplevelListV1, GlobalData> + Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,
    "],["impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockManagerV1, GlobalData>,
    "],["impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + SessionLockHandler,
    "],["impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockV1, SessionLockData> + SessionLockHandler,
    "],["impl<D> Dispatch<WlCallback, WlSurface, D> for CompositorState
    where\n D: Dispatch<WlCallback, WlSurface> + CompositorHandler,
    "],["impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
    where\n D: Dispatch<WlCompositor, GlobalData> + CompositorHandler,
    "],["impl<D> Dispatch<WlDataDevice, DataDeviceData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataDevice, DataDeviceData> + Dispatch<WlDataOffer, DataOfferData> + DataDeviceHandler + DataOfferHandler + 'static,
    "],["impl<D> Dispatch<WlDataDeviceManager, GlobalData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataDeviceManager, GlobalData>,
    "],["impl<D> Dispatch<WlDataOffer, DataOfferData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataOffer, DataOfferData> + DataOfferHandler,
    "],["impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
    where\n D: Dispatch<WlOutput, OutputData> + OutputHandler + 'static,
    "],["impl<D> Dispatch<WlRegistry, GlobalListContents, D> for RegistryState
    where\n D: Dispatch<WlRegistry, GlobalListContents> + ProvidesRegistryState,
    "],["impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where\n D: Dispatch<WlSeat, SeatData> + SeatHandler,
    "],["impl<D> Dispatch<WlShm, GlobalData, D> for Shm
    where\n D: Dispatch<WlShm, GlobalData> + ShmHandler,
    "],["impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
    where\n D: Dispatch<WlSubcompositor, GlobalData>,
    "],["impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where\n D: Dispatch<WlSubsurface, SubsurfaceData>,
    "],["impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
    where\n D: Dispatch<WpPresentation, GlobalData> + PresentationTimeHandler,
    "],["impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
    where\n D: Dispatch<XdgActivationV1, GlobalData> + ActivationHandler,
    "],["impl<D> Dispatch<XdgPopup, PopupData, D> for PopupData
    where\n D: Dispatch<XdgPopup, PopupData> + PopupHandler,
    "],["impl<D> Dispatch<XdgSurface, PopupData, D> for PopupData
    where\n D: Dispatch<XdgSurface, PopupData> + PopupHandler,
    "],["impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where\n D: Dispatch<XdgSurface, WindowData> + WindowHandler,
    "],["impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where\n D: Dispatch<XdgToplevel, WindowData> + WindowHandler,
    "],["impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
    where\n D: Dispatch<XdgWmBase, GlobalData>,
    "],["impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
    where\n D: Dispatch<ZwlrLayerShellV1, GlobalData> + LayerShellHandler + 'static,
    "],["impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where\n D: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + LayerShellHandler + 'static,
    "],["impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
    where\n D: Dispatch<ZwpLinuxBufferParamsV1, GlobalData> + Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,
    "],["impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
    where\n D: Dispatch<ZwpLinuxDmabufV1, GlobalData> + DmabufHandler,
    "],["impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
    where\n D: Dispatch<ZwpPointerConstraintsV1, GlobalData> + PointerConstraintsHandler,
    "],["impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
    where\n D: Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData>,
    "],["impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
    where\n D: Dispatch<ZwpRelativePointerManagerV1, GlobalData> + RelativePointerHandler,
    "],["impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
    where\n D: Dispatch<ZxdgDecorationManagerV1, GlobalData> + WindowHandler,
    "],["impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
    where\n D: Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler,
    "],["impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
    where\n D: Dispatch<ZxdgOutputV1, OutputData> + OutputHandler,
    "],["impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where\n D: Dispatch<ZxdgToplevelDecorationV1, WindowData> + WindowHandler,
    "],["impl<D, I, const MAX_VERSION: u32> Dispatch<I, (), D> for SimpleGlobal<I, MAX_VERSION>
    where\n D: Dispatch<I, ()>,\n I: Proxy,
    "],["impl<D, R> Dispatch<XdgActivationTokenV1, R, D> for ActivationState
    where\n D: Dispatch<XdgActivationTokenV1, R> + ActivationHandler<RequestData = R>,\n R: RequestDataExt,
    "],["impl<D, U> Dispatch<WlDataSource, U, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataSource, U> + DataSourceHandler,\n U: DataSourceDataExt,
    "],["impl<D, U> Dispatch<WlKeyboard, U, D> for SeatState
    where\n D: Dispatch<WlKeyboard, U> + KeyboardHandler,\n U: KeyboardDataExt,
    "],["impl<D, U> Dispatch<WlPointer, U, D> for SeatState
    where\n D: Dispatch<WlPointer, U> + PointerHandler,\n U: PointerDataExt,
    "],["impl<D, U> Dispatch<WlSurface, U, D> for CompositorState
    where\n D: Dispatch<WlSurface, U> + CompositorHandler + OutputHandler + 'static,\n U: SurfaceDataExt + 'static,
    "],["impl<D, U> Dispatch<WlTouch, U, D> for SeatState
    where\n D: Dispatch<WlTouch, U> + TouchHandler,\n U: TouchDataExt,
    "],["impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
    where\n State: Dispatch<WpCursorShapeDeviceV1, GlobalData>,
    "],["impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
    where\n State: Dispatch<WpCursorShapeManagerV1, GlobalData>,
    "],["impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData> + Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData> + PrimarySelectionDeviceHandler + 'static,
    "],["impl<State> Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData>,
    "],["impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionSourceV1, GlobalData> + PrimarySelectionSourceHandler,
    "]]]]); + var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl<D> Dispatch<ExtForeignToplevelListV1, GlobalData, D> for ForeignToplevelList
    where\n D: Dispatch<ExtForeignToplevelListV1, GlobalData> + Dispatch<ExtForeignToplevelHandleV1, ForeignToplevelData> + ForeignToplevelListHandler + 'static,
    "],["impl<D> Dispatch<ExtSessionLockManagerV1, GlobalData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockManagerV1, GlobalData>,
    "],["impl<D> Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockSurfaceV1, SessionLockSurfaceData> + SessionLockHandler,
    "],["impl<D> Dispatch<ExtSessionLockV1, SessionLockData, D> for SessionLockState
    where\n D: Dispatch<ExtSessionLockV1, SessionLockData> + SessionLockHandler,
    "],["impl<D> Dispatch<WlCallback, WlSurface, D> for CompositorState
    where\n D: Dispatch<WlCallback, WlSurface> + CompositorHandler,
    "],["impl<D> Dispatch<WlCompositor, GlobalData, D> for CompositorState
    where\n D: Dispatch<WlCompositor, GlobalData> + CompositorHandler,
    "],["impl<D> Dispatch<WlDataDevice, DataDeviceData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataDevice, DataDeviceData> + Dispatch<WlDataOffer, DataOfferData> + DataDeviceHandler + DataOfferHandler + 'static,
    "],["impl<D> Dispatch<WlDataDeviceManager, GlobalData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataDeviceManager, GlobalData>,
    "],["impl<D> Dispatch<WlDataOffer, DataOfferData, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataOffer, DataOfferData> + DataOfferHandler,
    "],["impl<D> Dispatch<WlOutput, OutputData, D> for OutputState
    where\n D: Dispatch<WlOutput, OutputData> + OutputHandler + 'static,
    "],["impl<D> Dispatch<WlRegistry, GlobalListContents, D> for RegistryState
    where\n D: Dispatch<WlRegistry, GlobalListContents> + ProvidesRegistryState,
    "],["impl<D> Dispatch<WlSeat, SeatData, D> for SeatState
    where\n D: Dispatch<WlSeat, SeatData> + SeatHandler,
    "],["impl<D> Dispatch<WlShm, GlobalData, D> for Shm
    where\n D: Dispatch<WlShm, GlobalData> + ShmHandler,
    "],["impl<D> Dispatch<WlSubcompositor, GlobalData, D> for SubcompositorState
    where\n D: Dispatch<WlSubcompositor, GlobalData>,
    "],["impl<D> Dispatch<WlSubsurface, SubsurfaceData, D> for SubcompositorState
    where\n D: Dispatch<WlSubsurface, SubsurfaceData>,
    "],["impl<D> Dispatch<WpPresentation, GlobalData, D> for PresentationTimeState
    where\n D: Dispatch<WpPresentation, GlobalData> + PresentationTimeHandler,
    "],["impl<D> Dispatch<XdgActivationV1, GlobalData, D> for ActivationState
    where\n D: Dispatch<XdgActivationV1, GlobalData> + ActivationHandler,
    "],["impl<D> Dispatch<XdgPopup, PopupData, D> for PopupData
    where\n D: Dispatch<XdgPopup, PopupData> + PopupHandler,
    "],["impl<D> Dispatch<XdgSurface, PopupData, D> for PopupData
    where\n D: Dispatch<XdgSurface, PopupData> + PopupHandler,
    "],["impl<D> Dispatch<XdgSurface, WindowData, D> for XdgShell
    where\n D: Dispatch<XdgSurface, WindowData> + WindowHandler,
    "],["impl<D> Dispatch<XdgToplevel, WindowData, D> for XdgShell
    where\n D: Dispatch<XdgToplevel, WindowData> + WindowHandler,
    "],["impl<D> Dispatch<XdgWmBase, GlobalData, D> for XdgShell
    where\n D: Dispatch<XdgWmBase, GlobalData>,
    "],["impl<D> Dispatch<ZwlrLayerShellV1, GlobalData, D> for LayerShell
    where\n D: Dispatch<ZwlrLayerShellV1, GlobalData> + LayerShellHandler + 'static,
    "],["impl<D> Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData, D> for LayerShell
    where\n D: Dispatch<ZwlrLayerSurfaceV1, LayerSurfaceData> + LayerShellHandler + 'static,
    "],["impl<D> Dispatch<ZwpLinuxBufferParamsV1, GlobalData, D> for DmabufState
    where\n D: Dispatch<ZwpLinuxBufferParamsV1, GlobalData> + Dispatch<WlBuffer, DmaBufferData> + DmabufHandler + 'static,
    "],["impl<D> Dispatch<ZwpLinuxDmabufV1, GlobalData, D> for DmabufState
    where\n D: Dispatch<ZwpLinuxDmabufV1, GlobalData> + DmabufHandler,
    "],["impl<D> Dispatch<ZwpPointerConstraintsV1, GlobalData, D> for PointerConstraintsState
    where\n D: Dispatch<ZwpPointerConstraintsV1, GlobalData> + PointerConstraintsHandler,
    "],["impl<D> Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData, D> for PrimarySelectionManagerState
    where\n D: Dispatch<ZwpPrimarySelectionDeviceManagerV1, GlobalData>,
    "],["impl<D> Dispatch<ZwpRelativePointerManagerV1, GlobalData, D> for RelativePointerState
    where\n D: Dispatch<ZwpRelativePointerManagerV1, GlobalData> + RelativePointerHandler,
    "],["impl<D> Dispatch<ZxdgDecorationManagerV1, GlobalData, D> for XdgShell
    where\n D: Dispatch<ZxdgDecorationManagerV1, GlobalData> + WindowHandler,
    "],["impl<D> Dispatch<ZxdgOutputManagerV1, GlobalData, D> for OutputState
    where\n D: Dispatch<ZxdgOutputManagerV1, GlobalData> + OutputHandler,
    "],["impl<D> Dispatch<ZxdgOutputV1, OutputData, D> for OutputState
    where\n D: Dispatch<ZxdgOutputV1, OutputData> + OutputHandler,
    "],["impl<D> Dispatch<ZxdgToplevelDecorationV1, WindowData, D> for XdgShell
    where\n D: Dispatch<ZxdgToplevelDecorationV1, WindowData> + WindowHandler,
    "],["impl<D, I, const MAX_VERSION: u32> Dispatch<I, (), D> for SimpleGlobal<I, MAX_VERSION>
    where\n D: Dispatch<I, ()>,\n I: Proxy,
    "],["impl<D, R> Dispatch<XdgActivationTokenV1, R, D> for ActivationState
    where\n D: Dispatch<XdgActivationTokenV1, R> + ActivationHandler<RequestData = R>,\n R: RequestDataExt,
    "],["impl<D, U> Dispatch<WlDataSource, U, D> for DataDeviceManagerState
    where\n D: Dispatch<WlDataSource, U> + DataSourceHandler,\n U: DataSourceDataExt,
    "],["impl<D, U> Dispatch<WlKeyboard, U, D> for SeatState
    where\n D: Dispatch<WlKeyboard, U> + KeyboardHandler,\n U: KeyboardDataExt,
    "],["impl<D, U> Dispatch<WlPointer, U, D> for SeatState
    where\n D: Dispatch<WlPointer, U> + PointerHandler,\n U: PointerDataExt,
    "],["impl<D, U> Dispatch<WlSurface, U, D> for CompositorState
    where\n D: Dispatch<WlSurface, U> + CompositorHandler + OutputHandler + 'static,\n U: SurfaceDataExt + 'static,
    "],["impl<D, U> Dispatch<WlTouch, U, D> for SeatState
    where\n D: Dispatch<WlTouch, U> + TouchHandler,\n U: TouchDataExt,
    "],["impl<State> Dispatch<WpCursorShapeDeviceV1, GlobalData, State> for CursorShapeManager
    where\n State: Dispatch<WpCursorShapeDeviceV1, GlobalData>,
    "],["impl<State> Dispatch<WpCursorShapeManagerV1, GlobalData, State> for CursorShapeManager
    where\n State: Dispatch<WpCursorShapeManagerV1, GlobalData>,
    "],["impl<State> Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionDeviceV1, PrimarySelectionDeviceData> + Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData> + PrimarySelectionDeviceHandler + 'static,
    "],["impl<State> Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionOfferV1, PrimarySelectionOfferData>,
    "],["impl<State> Dispatch<ZwpPrimarySelectionSourceV1, GlobalData, State> for PrimarySelectionManagerState
    where\n State: Dispatch<ZwpPrimarySelectionSourceV1, GlobalData> + PrimarySelectionSourceHandler,
    "]]]]); if (window.register_implementors) { window.register_implementors(implementors); } else { diff --git a/type.impl/alloc/boxed/struct.Box.js b/type.impl/alloc/boxed/struct.Box.js index 9fab7aebd..7e9c78ede 100644 --- a/type.impl/alloc/boxed/struct.Box.js +++ b/type.impl/alloc/boxed/struct.Box.js @@ -1,9 +1,9 @@ (function() { - var type_impls = Object.fromEntries([["smithay_client_toolkit",[["
    1.64.0 · source§

    impl<T> AsFd for Box<T>
    where\n T: AsFd + ?Sized,

    source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    ","AsFd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.5.0 · source§

    impl<T, A> AsMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn as_mut(&mut self) -> &mut T

    Converts this type into a mutable reference of the (usually inferred) input type.
    ","AsMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.63.0 · source§

    impl<T> AsRawFd for Box<T>
    where\n T: AsRawFd,

    source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    ","AsRawFd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.5.0 · source§

    impl<T, A> AsRef<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn async_call(\n &self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFn, returning a future which may borrow from the called closure.
    ","AsyncFn","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnMut<Args> + ?Sized,\n A: Allocator,

    source§

    type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>\nwhere\n Box<F, A>: 'a

    🔬This is a nightly-only experimental API. (async_fn_traits)
    source§

    extern "rust-call" fn async_call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnMut, returning a future which may borrow from the called closure.
    ","AsyncFnMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as AsyncFnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Output type of the called closure’s future.
    source§

    type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Future returned by AsyncFnOnce::async_call_once.
    source§

    extern "rust-call" fn async_call_once(\n self,\n args: Args,\n) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnOnce, returning a future which may move out of the called closure.
    ","AsyncFnOnce","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<S> AsyncIterator for Box<S>
    where\n S: AsyncIterator + Unpin + ?Sized,

    source§

    type Item = <S as AsyncIterator>::Item

    🔬This is a nightly-only experimental API. (async_iterator)
    The type of items yielded by the async iterator.
    source§

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>

    🔬This is a nightly-only experimental API. (async_iterator)
    Attempts to pull out the next value of this async iterator, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the async iterator is exhausted. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    🔬This is a nightly-only experimental API. (async_iterator)
    Returns the bounds on the remaining length of the async iterator. Read more
    ","AsyncIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.1.0 · source§

    impl<T, A> Borrow<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    ","Borrow","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.1.0 · source§

    impl<T, A> BorrowMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    ","BorrowMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T> Box<T>

    1.0.0 · source

    pub fn new(x: T) -> Box<T>

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    \n
    1.82.0 · source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(new_zeroed_alloc)]\n\nlet zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    1.33.0 · source

    pub fn pin(x: T) -> Pin<Box<T>>

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

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

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    \n
    source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

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

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source

    pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

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

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    \n
    1.4.0 · source

    pub fn into_raw(b: Box<T, A>) -> *mut T

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    \n
    source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

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

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    \n
    source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

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

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    \n
    source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

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

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    \n
    source

    pub const fn allocator(b: &Box<T, A>) -> &A

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

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    \n
    1.63.0 (const: unstable) · source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

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

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    \n
    source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

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

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    \n
    source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

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

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

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

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

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

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

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

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    source

    pub fn into_inner(boxed: Box<T, A>) -> T

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

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<B> BufRead for Box<B>
    where\n B: BufRead + ?Sized,

    source§

    fn fill_buf(&mut self) -> Result<&[u8], Error>

    Returns the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    source§

    fn consume(&mut self, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to read. Read more
    source§

    fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
    source§

    fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
    source§

    fn has_data_left(&mut self) -> Result<bool, Error>

    🔬This is a nightly-only experimental API. (buf_read_has_data_left)
    Checks if the underlying Read has any data left to be read. Read more
    source§

    fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

    🔬This is a nightly-only experimental API. (bufread_skip_until)
    Skips all bytes until the delimiter byte or EOF is reached. Read more
    1.0.0 · source§

    fn split(self, byte: u8) -> Split<Self>
    where\n Self: Sized,

    Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
    1.0.0 · source§

    fn lines(self) -> Lines<Self>
    where\n Self: Sized,

    Returns an iterator over the lines of this reader. Read more
    ","BufRead","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Clone for Box<T, A>
    where\n T: Clone,\n A: Allocator + Clone,

    source§

    fn clone(&self) -> Box<T, A>

    Returns a new box with a clone() of this box’s contents.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet y = x.clone();\n\n// The value is the same\nassert_eq!(x, y);\n\n// But they are unique objects\nassert_ne!(&*x as *const i32, &*y as *const i32);
    \n
    source§

    fn clone_from(&mut self, source: &Box<T, A>)

    Copies source’s contents into self without creating a new allocation.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet mut y = Box::new(10);\nlet yp: *const i32 = &*y;\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no allocation occurred\nassert_eq!(yp, &*y);
    \n
    ","Clone","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<G, R, A> Coroutine<R> for Box<G, A>
    where\n G: Coroutine<R> + Unpin + ?Sized,\n A: Allocator,

    source§

    type Yield = <G as Coroutine<R>>::Yield

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine yields. Read more
    source§

    type Return = <G as Coroutine<R>>::Return

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine returns. Read more
    source§

    fn resume(\n self: Pin<&mut Box<G, A>>,\n arg: R,\n) -> CoroutineState<<Box<G, A> as Coroutine<R>>::Yield, <Box<G, A> as Coroutine<R>>::Return>

    🔬This is a nightly-only experimental API. (coroutine_trait)
    Resumes the execution of this coroutine. Read more
    ","Coroutine","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Debug for Box<T, A>
    where\n T: Debug + ?Sized,\n A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T> Default for Box<T>
    where\n T: Default,

    source§

    fn default() -> Box<T>

    Creates a Box<T>, with the Default value for T.

    \n
    ","Default","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    ","Deref","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> DerefMut for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn deref_mut(&mut self) -> &mut T

    Mutably dereferences the value.
    ","DerefMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Display for Box<T, A>
    where\n T: Display + ?Sized,\n A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> DoubleEndedIterator for Box<I, A>
    where\n I: DoubleEndedIterator + ?Sized,\n A: Allocator,

    source§

    fn next_back(&mut self) -> Option<<I as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes\nelements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single,\nfinal value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    ","DoubleEndedIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Drop for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.8.0 · source§

    impl<T> Error for Box<T>
    where\n T: Error,

    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    source§

    fn provide<'b>(&'b self, request: &mut Request<'b>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    ","Error","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<T> EventSource for Box<T>
    where\n T: EventSource,

    Blanket implementation for boxed event sources. [EventSource] is not an\nobject safe trait, so this does not include trait objects.

    \n
    §

    type Event = <T as EventSource>::Event

    The type of events generated by your source.
    §

    type Metadata = <T as EventSource>::Metadata

    Some metadata of your event source Read more
    §

    type Ret = <T as EventSource>::Ret

    The return type of the user callback Read more
    §

    type Error = <T as EventSource>::Error

    The error type returned from\nprocess_events() (not the user callback!).
    §

    fn process_events<F>(\n &mut self,\n readiness: Readiness,\n token: Token,\n callback: F,\n) -> Result<PostAction, <Box<T> as EventSource>::Error>
    where\n F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,

    Process any relevant events Read more
    §

    fn register(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Register yourself to this poll instance Read more
    §

    fn reregister(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Re-register your file descriptors Read more
    §

    fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>

    Unregister your file descriptors Read more
    §

    const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS

    Whether this source needs to be sent the [EventSource::before_sleep]\nand [EventSource::before_handle_events] notifications. These are opt-in because\nthey require more expensive checks, and almost all sources will not need these notifications
    §

    fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

    Notification that a single poll is about to begin Read more
    §

    fn before_handle_events(&mut self, events: EventIterator<'_>)

    Notification that polling is complete, and [EventSource::process_events] will\nbe called with the given events for this source. The iterator may be empty,\nwhich indicates that no events were generated for this source Read more
    ","EventSource","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> ExactSizeIterator for Box<I, A>
    where\n I: ExactSizeIterator + ?Sized,\n A: Allocator,

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    ","ExactSizeIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> Fn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: Fn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call(\n &self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","Fn","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> FnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnMut<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> FnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as FnOnce<Args>>::Output

    The returned type after the call operator is used.
    source§

    extern "rust-call" fn call_once(\n self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnOnce","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.6.0 · source§

    impl<T> From<T> for Box<T>

    source§

    fn from(t: T) -> Box<T>

    Converts a T into a Box<T>

    \n

    The conversion allocates on the heap and moves t\nfrom the stack into it.

    \n
    §Examples
    \n
    let x = 5;\nlet boxed = Box::new(5);\n\nassert_eq!(Box::from(x), boxed);
    \n
    ","From","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.36.0 · source§

    impl<F, A> Future for Box<F, A>
    where\n F: Future + Unpin + ?Sized,\n A: Allocator,

    source§

    type Output = <F as Future>::Output

    The type of value produced on completion.
    source§

    fn poll(\n self: Pin<&mut Box<F, A>>,\n cx: &mut Context<'_>,\n) -> Poll<<Box<F, A> as Future>::Output>

    Attempts to resolve the future to a final value, registering\nthe current task for wakeup if the value is not yet available. Read more
    ","Future","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Hash for Box<T, A>
    where\n T: Hash + ?Sized,\n A: Allocator,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.22.0 · source§

    impl<T, A> Hasher for Box<T, A>
    where\n T: Hasher + ?Sized,\n A: Allocator,

    source§

    fn finish(&self) -> u64

    Returns the hash value for the values written so far. Read more
    source§

    fn write(&mut self, bytes: &[u8])

    Writes some data into this Hasher. Read more
    source§

    fn write_u8(&mut self, i: u8)

    Writes a single u8 into this hasher.
    source§

    fn write_u16(&mut self, i: u16)

    Writes a single u16 into this hasher.
    source§

    fn write_u32(&mut self, i: u32)

    Writes a single u32 into this hasher.
    source§

    fn write_u64(&mut self, i: u64)

    Writes a single u64 into this hasher.
    source§

    fn write_u128(&mut self, i: u128)

    Writes a single u128 into this hasher.
    source§

    fn write_usize(&mut self, i: usize)

    Writes a single usize into this hasher.
    source§

    fn write_i8(&mut self, i: i8)

    Writes a single i8 into this hasher.
    source§

    fn write_i16(&mut self, i: i16)

    Writes a single i16 into this hasher.
    source§

    fn write_i32(&mut self, i: i32)

    Writes a single i32 into this hasher.
    source§

    fn write_i64(&mut self, i: i64)

    Writes a single i64 into this hasher.
    source§

    fn write_i128(&mut self, i: i128)

    Writes a single i128 into this hasher.
    source§

    fn write_isize(&mut self, i: isize)

    Writes a single isize into this hasher.
    source§

    fn write_length_prefix(&mut self, len: usize)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a length prefix into this hasher, as part of being prefix-free. Read more
    source§

    fn write_str(&mut self, s: &str)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a single str into this hasher. Read more
    ","Hasher","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> Iterator for Box<I, A>
    where\n I: Iterator + ?Sized,\n A: Allocator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<<I as Iterator>::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element of the iterator. Read more
    source§

    fn last(self) -> Option<<I as Iterator>::Item>

    Consumes the iterator, returning the last element. Read more
    source§

    fn next_chunk<const N: usize>(\n &mut self,\n) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where\n Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where\n Self: Sized,

    Creates an iterator starting at the same point, but stepping by\nthe given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where\n Self: Sized,\n G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator\nbetween adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each\nelement. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where\n Self: Sized,\n F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element\nshould be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where\n Self: Sized,

    Creates an iterator which gives the current iteration count as well as\nthe next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where\n Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods\nto look at the next element of the iterator without consuming it. See\ntheir documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where\n Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an iterator that yields the first n elements, or fewer\nif the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where\n Self: Sized,\n F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but\nunlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where\n Self: Sized,\n U: IntoIterator,\n F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where\n Self: Sized,\n F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over\nself and returns an iterator over the outputs of f. Like slice::windows(),\nthe windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where\n Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where\n Self: Sized,\n F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where\n B: FromIterator<Self::Item>,\n Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where\n E: Extend<Self::Item>,\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where\n Self: Sized,\n B: Default + Extend<Self::Item>,\n F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate,\nsuch that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    An iterator method that applies a function as long as it returns\nsuccessfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where\n Self: Sized,\n F: FnMut(Self::Item) -> R,\n R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the\niterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation,\nreturning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing\noperation. Read more
    source§

    fn try_reduce<R>(\n &mut self,\n f: impl FnMut(Self::Item, Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where\n Self: Sized,\n R: Try<Output = Self::Item>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the\nclosure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns\nthe first non-none result. Read more
    source§

    fn try_find<R>(\n &mut self,\n f: impl FnMut(&Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where\n Self: Sized,\n R: Try<Output = bool>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns\nthe first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the\nspecified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the\nspecified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the\nspecified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the\nspecified comparison function. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where\n FromA: Default + Extend<A>,\n FromB: Default + Extend<B>,\n Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where\n T: 'a + Copy,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where\n T: 'a + Clone,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where\n Self: Sized,\n S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where\n Self: Sized,\n P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Lexicographically compares the PartialOrd elements of\nthis Iterator with those of another. The comparison works like short-circuit\nevaluation, returning a result without comparing the remaining elements.\nAs soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are equal to those of\nanother. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of\nanother with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are not equal to those of\nanother. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> K,\n K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction\nfunction. Read more
    ","Iterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Ord for Box<T, A>
    where\n T: Ord + ?Sized,\n A: Allocator,

    source§

    fn cmp(&self, other: &Box<T, A>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    ","Ord","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> PartialEq for Box<T, A>
    where\n T: PartialEq + ?Sized,\n A: Allocator,

    source§

    fn eq(&self, other: &Box<T, A>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &Box<T, A>) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> PartialOrd for Box<T, A>
    where\n T: PartialOrd + ?Sized,\n A: Allocator,

    source§

    fn partial_cmp(&self, other: &Box<T, A>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    source§

    fn lt(&self, other: &Box<T, A>) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    source§

    fn le(&self, other: &Box<T, A>) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    source§

    fn ge(&self, other: &Box<T, A>) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    source§

    fn gt(&self, other: &Box<T, A>) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    ","PartialOrd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Pointer for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Pointer","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<R> Read for Box<R>
    where\n R: Read + ?Sized,

    source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

    Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
    source§

    fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored\nimplementation. Read more
    source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes until EOF in this source, placing them into buf. Read more
    source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until EOF in this source, appending them to buf. Read more
    source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Reads the exact number of bytes required to fill buf. Read more
    source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Reads the exact number of bytes required to fill cursor. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adaptor for this instance of Read. Read more
    1.0.0 · source§

    fn bytes(self) -> Bytes<Self>
    where\n Self: Sized,

    Transforms this Read instance to an Iterator over its bytes. Read more
    1.0.0 · source§

    fn chain<R>(self, next: R) -> Chain<Self, R>
    where\n R: Read,\n Self: Sized,

    Creates an adapter which will chain this stream with another. Read more
    1.0.0 · source§

    fn take(self, limit: u64) -> Take<Self>
    where\n Self: Sized,

    Creates an adapter which will read at most limit bytes from it. Read more
    ","Read","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<S> Seek for Box<S>
    where\n S: Seek + ?Sized,

    source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>

    Seek to an offset, in bytes, in a stream. Read more
    source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    1.55.0 · source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    1.80.0 · source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    ","Seek","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<S> Subscriber for Box<S>
    where\n S: Subscriber + ?Sized,

    §

    fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest

    Registers a new callsite with this subscriber, returning whether or not\nthe subscriber is interested in being notified about the callsite. Read more
    §

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Returns true if a span or event with the specified metadata would be\nrecorded. Read more
    §

    fn max_level_hint(&self) -> Option<LevelFilter>

    Returns the highest verbosity level that this Subscriber will\nenable, or None, if the subscriber does not implement level-based\nfiltering or chooses not to implement this method. Read more
    §

    fn new_span(&self, span: &Attributes<'_>) -> Id

    Visit the construction of a new span, returning a new span ID for the\nspan being constructed. Read more
    §

    fn record(&self, span: &Id, values: &Record<'_>)

    Record a set of values on a span. Read more
    §

    fn record_follows_from(&self, span: &Id, follows: &Id)

    Adds an indication that span follows from the span with the id\nfollows. Read more
    §

    fn event_enabled(&self, event: &Event<'_>) -> bool

    Determine if an [Event] should be recorded. Read more
    §

    fn event(&self, event: &Event<'_>)

    Records that an Event has occurred. Read more
    §

    fn enter(&self, span: &Id)

    Records that a span has been entered. Read more
    §

    fn exit(&self, span: &Id)

    Records that a span has been exited. Read more
    §

    fn clone_span(&self, id: &Id) -> Id

    Notifies the subscriber that a span ID has been cloned. Read more
    §

    fn try_close(&self, id: Id) -> bool

    Notifies the subscriber that a span ID has been dropped, and returns\ntrue if there are now 0 IDs that refer to that span. Read more
    §

    fn drop_span(&self, id: Id)

    👎Deprecated since 0.1.2: use Subscriber::try_close instead
    This method is deprecated. Read more
    §

    fn current_span(&self) -> Current

    Returns a type representing this subscriber’s view of the current span. Read more
    §

    unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>

    If self is the same type as the provided TypeId, returns an untyped\n*const pointer to that type. Otherwise, returns None. Read more
    §

    fn on_register_dispatch(&self, subscriber: &Dispatch)

    Invoked when this subscriber becomes a [Dispatch]. Read more
    ","Subscriber","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<T> Value for Box<T>
    where\n T: Value + ?Sized,

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<W> Write for Box<W>
    where\n W: Write + ?Sized,

    source§

    fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored\nimplementation. Read more
    source§

    fn flush(&mut self) -> Result<(), Error>

    Flushes this output stream, ensuring that all intermediately buffered\ncontents reach their destination. Read more
    source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error\nencountered. Read more
    source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more
    ","Write","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, U, A> CoerceUnsized<Box<U, A>> for Box<T, A>
    where\n T: Unsize<U> + ?Sized,\n A: Allocator,\n U: ?Sized,

    ","CoerceUnsized>","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> DerefPure for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","DerefPure","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, U> DispatchFromDyn<Box<U>> for Box<T>
    where\n T: Unsize<U> + ?Sized,\n U: ?Sized,

    ","DispatchFromDyn>","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Eq for Box<T, A>
    where\n T: Eq + ?Sized,\n A: Allocator,

    ","Eq","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.26.0 · source§

    impl<I, A> FusedIterator for Box<I, A>
    where\n I: FusedIterator + ?Sized,\n A: Allocator,

    ","FusedIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> PinCoerceUnsized for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","PinCoerceUnsized","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.33.0 · source§

    impl<T, A> Unpin for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","Unpin","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"]]]]); + var type_impls = Object.fromEntries([["smithay_client_toolkit",[["
    1.64.0 · source§

    impl<T> AsFd for Box<T>
    where\n T: AsFd + ?Sized,

    source§

    fn as_fd(&self) -> BorrowedFd<'_>

    Borrows the file descriptor. Read more
    ","AsFd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.5.0 · source§

    impl<T, A> AsMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn as_mut(&mut self) -> &mut T

    Converts this type into a mutable reference of the (usually inferred) input type.
    ","AsMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.63.0 · source§

    impl<T> AsRawFd for Box<T>
    where\n T: AsRawFd,

    source§

    fn as_raw_fd(&self) -> i32

    Extracts the raw file descriptor. Read more
    ","AsRawFd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.5.0 · source§

    impl<T, A> AsRef<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn as_ref(&self) -> &T

    Converts this type into a shared reference of the (usually inferred) input type.
    ","AsRef","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn async_call(\n &self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFn, returning a future which may borrow from the called closure.
    ","AsyncFn","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnMut<Args> + ?Sized,\n A: Allocator,

    source§

    type CallRefFuture<'a> = <F as AsyncFnMut<Args>>::CallRefFuture<'a>\nwhere\n Box<F, A>: 'a

    🔬This is a nightly-only experimental API. (async_fn_traits)
    source§

    extern "rust-call" fn async_call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as AsyncFnMut<Args>>::CallRefFuture<'_>

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnMut, returning a future which may borrow from the called closure.
    ","AsyncFnMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<Args, F, A> AsyncFnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: AsyncFnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as AsyncFnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Output type of the called closure’s future.
    source§

    type CallOnceFuture = <F as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Future returned by AsyncFnOnce::async_call_once.
    source§

    extern "rust-call" fn async_call_once(\n self,\n args: Args,\n) -> <Box<F, A> as AsyncFnOnce<Args>>::CallOnceFuture

    🔬This is a nightly-only experimental API. (async_fn_traits)
    Call the AsyncFnOnce, returning a future which may move out of the called closure.
    ","AsyncFnOnce","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<S> AsyncIterator for Box<S>
    where\n S: AsyncIterator + Unpin + ?Sized,

    source§

    type Item = <S as AsyncIterator>::Item

    🔬This is a nightly-only experimental API. (async_iterator)
    The type of items yielded by the async iterator.
    source§

    fn poll_next(\n self: Pin<&mut Box<S>>,\n cx: &mut Context<'_>,\n) -> Poll<Option<<Box<S> as AsyncIterator>::Item>>

    🔬This is a nightly-only experimental API. (async_iterator)
    Attempts to pull out the next value of this async iterator, registering the\ncurrent task for wakeup if the value is not yet available, and returning\nNone if the async iterator is exhausted. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    🔬This is a nightly-only experimental API. (async_iterator)
    Returns the bounds on the remaining length of the async iterator. Read more
    ","AsyncIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.1.0 · source§

    impl<T, A> Borrow<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    ","Borrow","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.1.0 · source§

    impl<T, A> BorrowMut<T> for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    ","BorrowMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T> Box<T>
    where\n T: ?Sized,

    1.4.0 · source

    pub unsafe fn from_raw(raw: *mut T) -> Box<T>

    Constructs a box from a raw pointer.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw:

    \n\n
    let x = Box::new(5);\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    use std::alloc::{alloc, Layout};\n\nunsafe {\n    let ptr = alloc(Layout::new::<i32>()) as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw(ptr);\n}
    \n
    source

    pub unsafe fn from_non_null(ptr: NonNull<T>) -> Box<T>

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

    Constructs a box from a NonNull pointer.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same NonNull pointer.

    \n

    The safety conditions are described in the memory layout section.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull\npointer using Box::into_non_null:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(5);\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manually create a Box from scratch by using the global allocator:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{alloc, Layout};\nuse std::ptr::NonNull;\n\nunsafe {\n    let non_null = NonNull::new(alloc(Layout::new::<i32>()).cast::<i32>())\n        .expect(\"allocation failed\");\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null(non_null);\n}
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T> Box<T>

    1.0.0 · source

    pub fn new(x: T) -> Box<T>

    Allocates memory on the heap and then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    let five = Box::new(5);
    \n
    1.82.0 · source

    pub fn new_uninit() -> Box<MaybeUninit<T>>

    Constructs a new box with uninitialized contents.

    \n
    §Examples
    \n
    let mut five = Box::<u32>::new_uninit();\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn new_zeroed() -> Box<MaybeUninit<T>>

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(new_zeroed_alloc)]\n\nlet zero = Box::<u32>::new_zeroed();\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    1.33.0 · source

    pub fn pin(x: T) -> Pin<Box<T>>

    Constructs a new Pin<Box<T>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin(x)\ndoes the same as Box::into_pin(Box::new(x)). Consider using\ninto_pin if you already have a Box<T>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new.

    \n
    source

    pub fn try_new(x: T) -> Result<Box<T>, AllocError>

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

    Allocates memory on the heap then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet five = Box::try_new(5)?;
    \n
    source

    pub fn try_new_uninit() -> Result<Box<MaybeUninit<T>>, AllocError>

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

    Constructs a new box with uninitialized contents on the heap,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet mut five = Box::<u32>::try_new_uninit()?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn try_new_zeroed() -> Result<Box<MaybeUninit<T>>, AllocError>

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes on the heap

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nlet zero = Box::<u32>::try_new_zeroed()?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source

    pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Box<T, A>

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

    Constructs a box from a raw pointer in the given allocator.

    \n

    After calling this function, the raw pointer is owned by the\nresulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a raw pointer\nusing Box::into_raw_with_allocator:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let ptr = System.allocate(Layout::new::<i32>())?.as_mut_ptr() as *mut i32;\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `ptr`, though for this\n    // simple example `*ptr = 5` would have worked as well.\n    ptr.write(5);\n    let x = Box::from_raw_in(ptr, System);\n}
    \n
    source

    pub const unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Box<T, A>

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

    Constructs a box from a NonNull pointer in the given allocator.

    \n

    After calling this function, the NonNull pointer is owned by\nthe resulting Box. Specifically, the Box destructor will call\nthe destructor of T and free the allocated memory. For this\nto be safe, the memory must have been allocated in accordance\nwith the memory layout used by Box .

    \n
    §Safety
    \n

    This function is unsafe because improper use may lead to\nmemory problems. For example, a double-free may occur if the\nfunction is called twice on the same raw pointer.

    \n
    §Examples
    \n

    Recreate a Box which was previously converted to a NonNull pointer\nusing Box::into_non_null_with_allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(5, System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manually create a Box from scratch by using the system allocator:

    \n\n
    #![feature(allocator_api, box_vec_non_null, slice_ptr_get)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nunsafe {\n    let non_null = System.allocate(Layout::new::<i32>())?.cast::<i32>();\n    // In general .write is required to avoid attempting to destruct\n    // the (uninitialized) previous contents of `non_null`.\n    non_null.write(5);\n    let x = Box::from_non_null_in(non_null, System);\n}
    \n
    1.4.0 · source

    pub fn into_raw(b: Box<T, A>) -> *mut T

    Consumes the Box, returning a wrapped raw pointer.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw(b) instead of b.into_raw(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw\nfor automatic cleanup:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nlet x = unsafe { Box::from_raw(ptr) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    use std::alloc::{dealloc, Layout};\nuse std::ptr;\n\nlet x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    dealloc(ptr as *mut u8, Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    let x = Box::new(String::from(\"Hello\"));\nlet ptr = Box::into_raw(x);\nunsafe {\n    drop(Box::from_raw(ptr));\n}
    \n
    source

    pub fn into_non_null(b: Box<T, A>) -> NonNull<T>

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

    Consumes the Box, returning a wrapped NonNull pointer.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null(b) instead of b.into_non_null().\nThis is so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with Box::from_non_null\nfor automatic cleanup:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nlet x = unsafe { Box::from_non_null(non_null) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(box_vec_non_null)]\n\nuse std::alloc::{dealloc, Layout};\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    non_null.drop_in_place();\n    dealloc(non_null.as_ptr().cast::<u8>(), Layout::new::<String>());\n}
    \n

    Note: This is equivalent to the following:

    \n\n
    #![feature(box_vec_non_null)]\n\nlet x = Box::new(String::from(\"Hello\"));\nlet non_null = Box::into_non_null(x);\nunsafe {\n    drop(Box::from_non_null(non_null));\n}
    \n
    source

    pub fn into_raw_with_allocator(b: Box<T, A>) -> (*mut T, A)

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

    Consumes the Box, returning a wrapped raw pointer and the allocator.

    \n

    The pointer will be properly aligned and non-null.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the raw pointer back into a Box with the\nBox::from_raw_in function, allowing the Box destructor to perform\nthe cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_raw_with_allocator(b) instead of b.into_raw_with_allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the raw pointer back into a Box with Box::from_raw_in\nfor automatic cleanup:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nlet x = unsafe { Box::from_raw_in(ptr, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api)]\n\nuse std::alloc::{Allocator, Layout, System};\nuse std::ptr::{self, NonNull};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (ptr, alloc) = Box::into_raw_with_allocator(x);\nunsafe {\n    ptr::drop_in_place(ptr);\n    let non_null = NonNull::new_unchecked(ptr);\n    alloc.deallocate(non_null.cast(), Layout::new::<String>());\n}
    \n
    source

    pub fn into_non_null_with_allocator(b: Box<T, A>) -> (NonNull<T>, A)

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

    Consumes the Box, returning a wrapped NonNull pointer and the allocator.

    \n

    The pointer will be properly aligned.

    \n

    After calling this function, the caller is responsible for the\nmemory previously managed by the Box. In particular, the\ncaller should properly destroy T and release the memory, taking\ninto account the memory layout used by Box. The easiest way to\ndo this is to convert the NonNull pointer back into a Box with the\nBox::from_non_null_in function, allowing the Box destructor to\nperform the cleanup.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::into_non_null_with_allocator(b) instead of\nb.into_non_null_with_allocator(). This is so that there is no\nconflict with a method on the inner type.

    \n
    §Examples
    \n

    Converting the NonNull pointer back into a Box with\nBox::from_non_null_in for automatic cleanup:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::System;\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nlet x = unsafe { Box::from_non_null_in(non_null, alloc) };
    \n

    Manual cleanup by explicitly running the destructor and deallocating\nthe memory:

    \n\n
    #![feature(allocator_api, box_vec_non_null)]\n\nuse std::alloc::{Allocator, Layout, System};\n\nlet x = Box::new_in(String::from(\"Hello\"), System);\nlet (non_null, alloc) = Box::into_non_null_with_allocator(x);\nunsafe {\n    non_null.drop_in_place();\n    alloc.deallocate(non_null.cast::<u8>(), Layout::new::<String>());\n}
    \n
    source

    pub fn as_mut_ptr(b: &mut Box<T, A>) -> *mut T

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

    Returns a raw mutable pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize references to the memory\nmay still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut b = Box::new(0);\n    let ptr1 = Box::as_mut_ptr(&mut b);\n    ptr1.write(1);\n    let ptr2 = Box::as_mut_ptr(&mut b);\n    ptr2.write(2);\n    // Notably, the write to `ptr2` did *not* invalidate `ptr1`:\n    ptr1.write(3);\n}
    \n
    source

    pub fn as_ptr(b: &Box<T, A>) -> *const T

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

    Returns a raw pointer to the Box’s contents.

    \n

    The caller must ensure that the Box outlives the pointer this\nfunction returns, or else it will end up dangling.

    \n

    The caller must also ensure that the memory the pointer (non-transitively) points to\nis never written to (except inside an UnsafeCell) using this pointer or any pointer\nderived from it. If you need to mutate the contents of the Box, use as_mut_ptr.

    \n

    This method guarantees that for the purpose of the aliasing model, this method\ndoes not materialize a reference to the underlying memory, and thus the returned pointer\nwill remain valid when mixed with other calls to as_ptr and as_mut_ptr.\nNote that calling other methods that materialize mutable references to the memory,\nas well as writing to this memory, may still invalidate this pointer.\nSee the example below for how this guarantee can be used.

    \n
    §Examples
    \n

    Due to the aliasing guarantee, the following code is legal:

    \n\n
    #![feature(box_as_ptr)]\n\nunsafe {\n    let mut v = Box::new(0);\n    let ptr1 = Box::as_ptr(&v);\n    let ptr2 = Box::as_mut_ptr(&mut v);\n    let _val = ptr2.read();\n    // No write to this memory has happened yet, so `ptr1` is still valid.\n    let _val = ptr1.read();\n    // However, once we do a write...\n    ptr2.write(1);\n    // ... `ptr1` is no longer valid.\n    // This would be UB: let _val = ptr1.read();\n}
    \n
    source

    pub const fn allocator(b: &Box<T, A>) -> &A

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

    Returns a reference to the underlying allocator.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::allocator(&b) instead of b.allocator(). This\nis so that there is no conflict with a method on the inner type.

    \n
    1.26.0 · source

    pub fn leak<'a>(b: Box<T, A>) -> &'a mut T
    where\n A: 'a,

    Consumes and leaks the Box, returning a mutable reference,\n&'a mut T.

    \n

    Note that the type T must outlive the chosen lifetime 'a. If the type\nhas only static references, or none at all, then this may be chosen to be\n'static.

    \n

    This function is mainly useful for data that lives for the remainder of\nthe program’s life. Dropping the returned reference will cause a memory\nleak. If this is not acceptable, the reference should first be wrapped\nwith the Box::from_raw function producing a Box. This Box can\nthen be dropped which will properly destroy T and release the\nallocated memory.

    \n

    Note: this is an associated function, which means that you have\nto call it as Box::leak(b) instead of b.leak(). This\nis so that there is no conflict with a method on the inner type.

    \n
    §Examples
    \n

    Simple usage:

    \n\n
    let x = Box::new(41);\nlet static_ref: &'static mut usize = Box::leak(x);\n*static_ref += 1;\nassert_eq!(*static_ref, 42);
    \n

    Unsized data:

    \n\n
    let x = vec![1, 2, 3].into_boxed_slice();\nlet static_ref = Box::leak(x);\nstatic_ref[0] = 4;\nassert_eq!(*static_ref, [4, 2, 3]);
    \n
    1.63.0 (const: unstable) · source

    pub fn into_pin(boxed: Box<T, A>) -> Pin<Box<T, A>>
    where\n A: 'static,

    Converts a Box<T> into a Pin<Box<T>>. If T does not implement Unpin, then\n*boxed will be pinned in memory and unable to be moved.

    \n

    This conversion does not allocate on the heap and happens in place.

    \n

    This is also available via From.

    \n

    Constructing and pinning a Box with Box::into_pin(Box::new(x))\ncan also be written more concisely using Box::pin(x).\nThis into_pin method is useful if you already have a Box<T>, or you are\nconstructing a (pinned) Box in a different way than with Box::new.

    \n
    §Notes
    \n

    It’s not recommended that crates add an impl like From<Box<T>> for Pin<T>,\nas it’ll introduce an ambiguity when calling Pin::from.\nA demonstration of such a poor impl is shown below.

    \n\n
    struct Foo; // A type defined in this crate.\nimpl From<Box<()>> for Pin<Foo> {\n    fn from(_: Box<()>) -> Pin<Foo> {\n        Pin::new(Foo)\n    }\n}\n\nlet foo = Box::new(());\nlet bar = Pin::from(foo);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> Box<T, A>
    where\n A: Allocator,

    source

    pub fn new_in(x: T, alloc: A) -> Box<T, A>
    where\n A: Allocator,

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

    Allocates memory in the given allocator then places x into it.

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::new_in(5, System);
    \n
    source

    pub fn try_new_in(x: T, alloc: A) -> Result<Box<T, A>, AllocError>
    where\n A: Allocator,

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

    Allocates memory in the given allocator then places x into it,\nreturning an error if the allocation fails

    \n

    This doesn’t actually allocate if T is zero-sized.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet five = Box::try_new_in(5, System)?;
    \n
    source

    pub fn new_uninit_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

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

    Constructs a new box with uninitialized contents in the provided allocator.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::new_uninit_in(System);\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5)
    \n
    source

    pub fn try_new_uninit_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

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

    Constructs a new box with uninitialized contents in the provided allocator,\nreturning an error if the allocation fails

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet mut five = Box::<u32, _>::try_new_uninit_in(System)?;\n\nlet five = unsafe {\n    // Deferred initialization:\n    five.as_mut_ptr().write(5);\n\n    five.assume_init()\n};\n\nassert_eq!(*five, 5);
    \n
    source

    pub fn new_zeroed_in(alloc: A) -> Box<MaybeUninit<T>, A>
    where\n A: Allocator,

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator.

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::new_zeroed_in(System);\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0)
    \n
    source

    pub fn try_new_zeroed_in(alloc: A) -> Result<Box<MaybeUninit<T>, A>, AllocError>
    where\n A: Allocator,

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

    Constructs a new Box with uninitialized contents, with the memory\nbeing filled with 0 bytes in the provided allocator,\nreturning an error if the allocation fails,

    \n

    See MaybeUninit::zeroed for examples of correct and incorrect usage\nof this method.

    \n
    §Examples
    \n
    #![feature(allocator_api)]\n\nuse std::alloc::System;\n\nlet zero = Box::<u32, _>::try_new_zeroed_in(System)?;\nlet zero = unsafe { zero.assume_init() };\n\nassert_eq!(*zero, 0);
    \n
    source

    pub fn pin_in(x: T, alloc: A) -> Pin<Box<T, A>>
    where\n A: 'static + Allocator,

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

    Constructs a new Pin<Box<T, A>>. If T does not implement Unpin, then\nx will be pinned in memory and unable to be moved.

    \n

    Constructing and pinning of the Box can also be done in two steps: Box::pin_in(x, alloc)\ndoes the same as Box::into_pin(Box::new_in(x, alloc)). Consider using\ninto_pin if you already have a Box<T, A>, or if you want to\nconstruct a (pinned) Box in a different way than with Box::new_in.

    \n
    source

    pub fn into_boxed_slice(boxed: Box<T, A>) -> Box<[T], A>

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

    Converts a Box<T> into a Box<[T]>

    \n

    This conversion does not allocate on the heap and happens in place.

    \n
    source

    pub fn into_inner(boxed: Box<T, A>) -> T

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

    Consumes the Box, returning the wrapped value.

    \n
    §Examples
    \n
    #![feature(box_into_inner)]\n\nlet c = Box::new(5);\n\nassert_eq!(Box::into_inner(c), 5);
    \n
    ",0,"smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<B> BufRead for Box<B>
    where\n B: BufRead + ?Sized,

    source§

    fn fill_buf(&mut self) -> Result<&[u8], Error>

    Returns the contents of the internal buffer, filling it with more data\nfrom the inner reader if it is empty. Read more
    source§

    fn consume(&mut self, amt: usize)

    Tells this buffer that amt bytes have been consumed from the buffer,\nso they should no longer be returned in calls to read. Read more
    source§

    fn read_until(&mut self, byte: u8, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes into buf until the delimiter byte or EOF is reached. Read more
    source§

    fn read_line(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until a newline (the 0xA byte) is reached, and append\nthem to the provided String buffer. Read more
    source§

    fn has_data_left(&mut self) -> Result<bool, Error>

    🔬This is a nightly-only experimental API. (buf_read_has_data_left)
    Checks if the underlying Read has any data left to be read. Read more
    1.83.0 · source§

    fn skip_until(&mut self, byte: u8) -> Result<usize, Error>

    Skips all bytes until the delimiter byte or EOF is reached. Read more
    1.0.0 · source§

    fn split(self, byte: u8) -> Split<Self>
    where\n Self: Sized,

    Returns an iterator over the contents of this reader split on the byte\nbyte. Read more
    1.0.0 · source§

    fn lines(self) -> Lines<Self>
    where\n Self: Sized,

    Returns an iterator over the lines of this reader. Read more
    ","BufRead","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Clone for Box<T, A>
    where\n T: Clone,\n A: Allocator + Clone,

    source§

    fn clone(&self) -> Box<T, A>

    Returns a new box with a clone() of this box’s contents.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet y = x.clone();\n\n// The value is the same\nassert_eq!(x, y);\n\n// But they are unique objects\nassert_ne!(&*x as *const i32, &*y as *const i32);
    \n
    source§

    fn clone_from(&mut self, source: &Box<T, A>)

    Copies source’s contents into self without creating a new allocation.

    \n
    §Examples
    \n
    let x = Box::new(5);\nlet mut y = Box::new(10);\nlet yp: *const i32 = &*y;\n\ny.clone_from(&x);\n\n// The value is the same\nassert_eq!(x, y);\n\n// And no allocation occurred\nassert_eq!(yp, &*y);
    \n
    ","Clone","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<G, R, A> Coroutine<R> for Box<G, A>
    where\n G: Coroutine<R> + Unpin + ?Sized,\n A: Allocator,

    source§

    type Yield = <G as Coroutine<R>>::Yield

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine yields. Read more
    source§

    type Return = <G as Coroutine<R>>::Return

    🔬This is a nightly-only experimental API. (coroutine_trait)
    The type of value this coroutine returns. Read more
    source§

    fn resume(\n self: Pin<&mut Box<G, A>>,\n arg: R,\n) -> CoroutineState<<Box<G, A> as Coroutine<R>>::Yield, <Box<G, A> as Coroutine<R>>::Return>

    🔬This is a nightly-only experimental API. (coroutine_trait)
    Resumes the execution of this coroutine. Read more
    ","Coroutine","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Debug for Box<T, A>
    where\n T: Debug + ?Sized,\n A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Debug","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T> Default for Box<T>
    where\n T: Default,

    source§

    fn default() -> Box<T>

    Creates a Box<T>, with the Default value for T.

    \n
    ","Default","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Deref for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    type Target = T

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &T

    Dereferences the value.
    ","Deref","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> DerefMut for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn deref_mut(&mut self) -> &mut T

    Mutably dereferences the value.
    ","DerefMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Display for Box<T, A>
    where\n T: Display + ?Sized,\n A: Allocator,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Display","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> DoubleEndedIterator for Box<I, A>
    where\n I: DoubleEndedIterator + ?Sized,\n A: Allocator,

    source§

    fn next_back(&mut self) -> Option<<I as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn nth_back(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    This is the reverse version of Iterator::try_fold(): it takes\nelements starting from the back of the iterator. Read more
    1.27.0 · source§

    fn rfold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    An iterator method that reduces the iterator’s elements to a single,\nfinal value, starting from the back. Read more
    1.27.0 · source§

    fn rfind<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator from the back that satisfies a predicate. Read more
    ","DoubleEndedIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Drop for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    ","Drop","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.8.0 · source§

    impl<T> Error for Box<T>
    where\n T: Error,

    source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    Returns the lower-level source of this error, if any. Read more
    source§

    fn provide<'b>(&'b self, request: &mut Request<'b>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type-based access to context intended for error reports. Read more
    ","Error","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<T> EventSource for Box<T>
    where\n T: EventSource,

    Blanket implementation for boxed event sources. [EventSource] is not an\nobject safe trait, so this does not include trait objects.

    \n
    §

    const NEEDS_EXTRA_LIFECYCLE_EVENTS: bool = T::NEEDS_EXTRA_LIFECYCLE_EVENTS

    Whether this source needs to be sent the [EventSource::before_sleep]\nand [EventSource::before_handle_events] notifications. These are opt-in because\nthey require more expensive checks, and almost all sources will not need these notifications
    §

    type Event = <T as EventSource>::Event

    The type of events generated by your source.
    §

    type Metadata = <T as EventSource>::Metadata

    Some metadata of your event source Read more
    §

    type Ret = <T as EventSource>::Ret

    The return type of the user callback Read more
    §

    type Error = <T as EventSource>::Error

    The error type returned from\nprocess_events() (not the user callback!).
    §

    fn process_events<F>(\n &mut self,\n readiness: Readiness,\n token: Token,\n callback: F,\n) -> Result<PostAction, <Box<T> as EventSource>::Error>
    where\n F: FnMut(<Box<T> as EventSource>::Event, &mut <Box<T> as EventSource>::Metadata) -> <Box<T> as EventSource>::Ret,

    Process any relevant events Read more
    §

    fn register(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Register yourself to this poll instance Read more
    §

    fn reregister(\n &mut self,\n poll: &mut Poll,\n token_factory: &mut TokenFactory,\n) -> Result<(), Error>

    Re-register your file descriptors Read more
    §

    fn unregister(&mut self, poll: &mut Poll) -> Result<(), Error>

    Unregister your file descriptors Read more
    §

    fn before_sleep(&mut self) -> Result<Option<(Readiness, Token)>, Error>

    Notification that a single poll is about to begin Read more
    §

    fn before_handle_events(&mut self, events: EventIterator<'_>)

    Notification that polling is complete, and [EventSource::process_events] will\nbe called with the given events for this source. The iterator may be empty,\nwhich indicates that no events were generated for this source Read more
    ","EventSource","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> ExactSizeIterator for Box<I, A>
    where\n I: ExactSizeIterator + ?Sized,\n A: Allocator,

    source§

    fn len(&self) -> usize

    Returns the exact remaining length of the iterator. Read more
    source§

    fn is_empty(&self) -> bool

    🔬This is a nightly-only experimental API. (exact_size_is_empty)
    Returns true if the iterator is empty. Read more
    ","ExactSizeIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> Fn<Args> for Box<F, A>
    where\n Args: Tuple,\n F: Fn<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call(\n &self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","Fn","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> FnMut<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnMut<Args> + ?Sized,\n A: Allocator,

    source§

    extern "rust-call" fn call_mut(\n &mut self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnMut","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.35.0 · source§

    impl<Args, F, A> FnOnce<Args> for Box<F, A>
    where\n Args: Tuple,\n F: FnOnce<Args> + ?Sized,\n A: Allocator,

    source§

    type Output = <F as FnOnce<Args>>::Output

    The returned type after the call operator is used.
    source§

    extern "rust-call" fn call_once(\n self,\n args: Args,\n) -> <Box<F, A> as FnOnce<Args>>::Output

    🔬This is a nightly-only experimental API. (fn_traits)
    Performs the call operation.
    ","FnOnce","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.6.0 · source§

    impl<T> From<T> for Box<T>

    source§

    fn from(t: T) -> Box<T>

    Converts a T into a Box<T>

    \n

    The conversion allocates on the heap and moves t\nfrom the stack into it.

    \n
    §Examples
    \n
    let x = 5;\nlet boxed = Box::new(5);\n\nassert_eq!(Box::from(x), boxed);
    \n
    ","From","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.36.0 · source§

    impl<F, A> Future for Box<F, A>
    where\n F: Future + Unpin + ?Sized,\n A: Allocator,

    source§

    type Output = <F as Future>::Output

    The type of value produced on completion.
    source§

    fn poll(\n self: Pin<&mut Box<F, A>>,\n cx: &mut Context<'_>,\n) -> Poll<<Box<F, A> as Future>::Output>

    Attempts to resolve the future to a final value, registering\nthe current task for wakeup if the value is not yet available. Read more
    ","Future","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Hash for Box<T, A>
    where\n T: Hash + ?Sized,\n A: Allocator,

    source§

    fn hash<H>(&self, state: &mut H)
    where\n H: Hasher,

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where\n H: Hasher,\n Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    ","Hash","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.22.0 · source§

    impl<T, A> Hasher for Box<T, A>
    where\n T: Hasher + ?Sized,\n A: Allocator,

    source§

    fn finish(&self) -> u64

    Returns the hash value for the values written so far. Read more
    source§

    fn write(&mut self, bytes: &[u8])

    Writes some data into this Hasher. Read more
    source§

    fn write_u8(&mut self, i: u8)

    Writes a single u8 into this hasher.
    source§

    fn write_u16(&mut self, i: u16)

    Writes a single u16 into this hasher.
    source§

    fn write_u32(&mut self, i: u32)

    Writes a single u32 into this hasher.
    source§

    fn write_u64(&mut self, i: u64)

    Writes a single u64 into this hasher.
    source§

    fn write_u128(&mut self, i: u128)

    Writes a single u128 into this hasher.
    source§

    fn write_usize(&mut self, i: usize)

    Writes a single usize into this hasher.
    source§

    fn write_i8(&mut self, i: i8)

    Writes a single i8 into this hasher.
    source§

    fn write_i16(&mut self, i: i16)

    Writes a single i16 into this hasher.
    source§

    fn write_i32(&mut self, i: i32)

    Writes a single i32 into this hasher.
    source§

    fn write_i64(&mut self, i: i64)

    Writes a single i64 into this hasher.
    source§

    fn write_i128(&mut self, i: i128)

    Writes a single i128 into this hasher.
    source§

    fn write_isize(&mut self, i: isize)

    Writes a single isize into this hasher.
    source§

    fn write_length_prefix(&mut self, len: usize)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a length prefix into this hasher, as part of being prefix-free. Read more
    source§

    fn write_str(&mut self, s: &str)

    🔬This is a nightly-only experimental API. (hasher_prefixfree_extras)
    Writes a single str into this hasher. Read more
    ","Hasher","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<I, A> Iterator for Box<I, A>
    where\n I: Iterator + ?Sized,\n A: Allocator,

    source§

    type Item = <I as Iterator>::Item

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<<I as Iterator>::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    source§

    fn nth(&mut self, n: usize) -> Option<<I as Iterator>::Item>

    Returns the nth element of the iterator. Read more
    source§

    fn last(self) -> Option<<I as Iterator>::Item>

    Consumes the iterator, returning the last element. Read more
    source§

    fn next_chunk<const N: usize>(\n &mut self,\n) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where\n Self: Sized,

    Consumes the iterator, counting the number of iterations and returning it. Read more
    source§

    fn advance_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    1.28.0 · source§

    fn step_by(self, step: usize) -> StepBy<Self>
    where\n Self: Sized,

    Creates an iterator starting at the same point, but stepping by\nthe given amount at each iteration. Read more
    1.0.0 · source§

    fn chain<U>(self, other: U) -> Chain<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator<Item = Self::Item>,

    Takes two iterators and creates a new iterator over both in sequence. Read more
    1.0.0 · source§

    fn zip<U>(self, other: U) -> Zip<Self, <U as IntoIterator>::IntoIter>
    where\n Self: Sized,\n U: IntoIterator,

    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    source§

    fn intersperse_with<G>(self, separator: G) -> IntersperseWith<Self, G>
    where\n Self: Sized,\n G: FnMut() -> Self::Item,

    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator\nbetween adjacent items of the original iterator. Read more
    1.0.0 · source§

    fn map<B, F>(self, f: F) -> Map<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> B,

    Takes a closure and creates an iterator which calls that closure on each\nelement. Read more
    1.21.0 · source§

    fn for_each<F>(self, f: F)
    where\n Self: Sized,\n F: FnMut(Self::Item),

    Calls a closure on each element of an iterator. Read more
    1.0.0 · source§

    fn filter<P>(self, predicate: P) -> Filter<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator which uses a closure to determine if an element\nshould be yielded. Read more
    1.0.0 · source§

    fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both filters and maps. Read more
    1.0.0 · source§

    fn enumerate(self) -> Enumerate<Self>
    where\n Self: Sized,

    Creates an iterator which gives the current iteration count as well as\nthe next value. Read more
    1.0.0 · source§

    fn peekable(self) -> Peekable<Self>
    where\n Self: Sized,

    Creates an iterator which can use the peek and peek_mut methods\nto look at the next element of the iterator without consuming it. See\ntheir documentation for more information. Read more
    1.0.0 · source§

    fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that skips elements based on a predicate. Read more
    1.0.0 · source§

    fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Creates an iterator that yields elements based on a predicate. Read more
    1.57.0 · source§

    fn map_while<B, P>(self, predicate: P) -> MapWhile<Self, P>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> Option<B>,

    Creates an iterator that both yields elements based on a predicate and maps. Read more
    1.0.0 · source§

    fn skip(self, n: usize) -> Skip<Self>
    where\n Self: Sized,

    Creates an iterator that skips the first n elements. Read more
    1.0.0 · source§

    fn take(self, n: usize) -> Take<Self>
    where\n Self: Sized,

    Creates an iterator that yields the first n elements, or fewer\nif the underlying iterator ends sooner. Read more
    1.0.0 · source§

    fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F>
    where\n Self: Sized,\n F: FnMut(&mut St, Self::Item) -> Option<B>,

    An iterator adapter which, like fold, holds internal state, but\nunlike fold, produces a new iterator. Read more
    1.0.0 · source§

    fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F>
    where\n Self: Sized,\n U: IntoIterator,\n F: FnMut(Self::Item) -> U,

    Creates an iterator that works like map, but flattens nested structure. Read more
    source§

    fn map_windows<F, R, const N: usize>(self, f: F) -> MapWindows<Self, F, N>
    where\n Self: Sized,\n F: FnMut(&[Self::Item; N]) -> R,

    🔬This is a nightly-only experimental API. (iter_map_windows)
    Calls the given function f for each contiguous window of size N over\nself and returns an iterator over the outputs of f. Like slice::windows(),\nthe windows during mapping overlap as well. Read more
    1.0.0 · source§

    fn fuse(self) -> Fuse<Self>
    where\n Self: Sized,

    Creates an iterator which ends after the first None. Read more
    1.0.0 · source§

    fn inspect<F>(self, f: F) -> Inspect<Self, F>
    where\n Self: Sized,\n F: FnMut(&Self::Item),

    Does something with each element of an iterator, passing the value on. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Borrows an iterator, rather than consuming it. Read more
    1.0.0 · source§

    fn collect<B>(self) -> B
    where\n B: FromIterator<Self::Item>,\n Self: Sized,

    Transforms an iterator into a collection. Read more
    source§

    fn collect_into<E>(self, collection: &mut E) -> &mut E
    where\n E: Extend<Self::Item>,\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_collect_into)
    Collects all the items from an iterator into a collection. Read more
    1.0.0 · source§

    fn partition<B, F>(self, f: F) -> (B, B)
    where\n Self: Sized,\n B: Default + Extend<Self::Item>,\n F: FnMut(&Self::Item) -> bool,

    Consumes an iterator, creating two collections from it. Read more
    source§

    fn is_partitioned<P>(self, predicate: P) -> bool
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_is_partitioned)
    Checks if the elements of this iterator are partitioned according to the given predicate,\nsuch that all those that return true precede all those that return false. Read more
    1.27.0 · source§

    fn try_fold<B, F, R>(&mut self, init: B, f: F) -> R
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> R,\n R: Try<Output = B>,

    An iterator method that applies a function as long as it returns\nsuccessfully, producing a single, final value. Read more
    1.27.0 · source§

    fn try_for_each<F, R>(&mut self, f: F) -> R
    where\n Self: Sized,\n F: FnMut(Self::Item) -> R,\n R: Try<Output = ()>,

    An iterator method that applies a fallible function to each item in the\niterator, stopping at the first error and returning that error. Read more
    1.0.0 · source§

    fn fold<B, F>(self, init: B, f: F) -> B
    where\n Self: Sized,\n F: FnMut(B, Self::Item) -> B,

    Folds every element into an accumulator by applying an operation,\nreturning the final result. Read more
    1.51.0 · source§

    fn reduce<F>(self, f: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(Self::Item, Self::Item) -> Self::Item,

    Reduces the elements to a single one, by repeatedly applying a reducing\noperation. Read more
    source§

    fn try_reduce<R>(\n &mut self,\n f: impl FnMut(Self::Item, Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<<R as Try>::Output>>>::TryType
    where\n Self: Sized,\n R: Try<Output = Self::Item>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (iterator_try_reduce)
    Reduces the elements to a single one by repeatedly applying a reducing operation. If the\nclosure returns a failure, the failure is propagated back to the caller immediately. Read more
    1.0.0 · source§

    fn all<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if every element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn any<F>(&mut self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> bool,

    Tests if any element of the iterator matches a predicate. Read more
    1.0.0 · source§

    fn find<P>(&mut self, predicate: P) -> Option<Self::Item>
    where\n Self: Sized,\n P: FnMut(&Self::Item) -> bool,

    Searches for an element of an iterator that satisfies a predicate. Read more
    1.30.0 · source§

    fn find_map<B, F>(&mut self, f: F) -> Option<B>
    where\n Self: Sized,\n F: FnMut(Self::Item) -> Option<B>,

    Applies function to the elements of iterator and returns\nthe first non-none result. Read more
    source§

    fn try_find<R>(\n &mut self,\n f: impl FnMut(&Self::Item) -> R,\n) -> <<R as Try>::Residual as Residual<Option<Self::Item>>>::TryType
    where\n Self: Sized,\n R: Try<Output = bool>,\n <R as Try>::Residual: Residual<Option<Self::Item>>,

    🔬This is a nightly-only experimental API. (try_find)
    Applies function to the elements of iterator and returns\nthe first true result or the first error. Read more
    1.0.0 · source§

    fn position<P>(&mut self, predicate: P) -> Option<usize>
    where\n Self: Sized,\n P: FnMut(Self::Item) -> bool,

    Searches for an element in an iterator, returning its index. Read more
    1.6.0 · source§

    fn max_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the maximum value from the\nspecified function. Read more
    1.15.0 · source§

    fn max_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the maximum value with respect to the\nspecified comparison function. Read more
    1.6.0 · source§

    fn min_by_key<B, F>(self, f: F) -> Option<Self::Item>
    where\n B: Ord,\n Self: Sized,\n F: FnMut(&Self::Item) -> B,

    Returns the element that gives the minimum value from the\nspecified function. Read more
    1.15.0 · source§

    fn min_by<F>(self, compare: F) -> Option<Self::Item>
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> Ordering,

    Returns the element that gives the minimum value with respect to the\nspecified comparison function. Read more
    1.0.0 · source§

    fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB)
    where\n FromA: Default + Extend<A>,\n FromB: Default + Extend<B>,\n Self: Sized + Iterator<Item = (A, B)>,

    Converts an iterator of pairs into a pair of containers. Read more
    1.36.0 · source§

    fn copied<'a, T>(self) -> Copied<Self>
    where\n T: 'a + Copy,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which copies all of its elements. Read more
    1.0.0 · source§

    fn cloned<'a, T>(self) -> Cloned<Self>
    where\n T: 'a + Clone,\n Self: Sized + Iterator<Item = &'a T>,

    Creates an iterator which clones all of its elements. Read more
    source§

    fn array_chunks<const N: usize>(self) -> ArrayChunks<Self, N>
    where\n Self: Sized,

    🔬This is a nightly-only experimental API. (iter_array_chunks)
    Returns an iterator over N elements of the iterator at a time. Read more
    1.11.0 · source§

    fn sum<S>(self) -> S
    where\n Self: Sized,\n S: Sum<Self::Item>,

    Sums the elements of an iterator. Read more
    1.11.0 · source§

    fn product<P>(self) -> P
    where\n Self: Sized,\n P: Product<Self::Item>,

    Iterates over the entire iterator, multiplying all the elements Read more
    source§

    fn cmp_by<I, F>(self, other: I, cmp: F) -> Ordering
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Ordering,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn partial_cmp<I>(self, other: I) -> Option<Ordering>
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Lexicographically compares the PartialOrd elements of\nthis Iterator with those of another. The comparison works like short-circuit\nevaluation, returning a result without comparing the remaining elements.\nAs soon as an order can be determined, the evaluation stops and a result is returned. Read more
    source§

    fn partial_cmp_by<I, F>(self, other: I, partial_cmp: F) -> Option<Ordering>
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> Option<Ordering>,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Lexicographically compares the elements of this Iterator with those\nof another with respect to the specified comparison function. Read more
    1.5.0 · source§

    fn eq<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are equal to those of\nanother. Read more
    source§

    fn eq_by<I, F>(self, other: I, eq: F) -> bool
    where\n Self: Sized,\n I: IntoIterator,\n F: FnMut(Self::Item, <I as IntoIterator>::Item) -> bool,

    🔬This is a nightly-only experimental API. (iter_order_by)
    Determines if the elements of this Iterator are equal to those of\nanother with respect to the specified equality function. Read more
    1.5.0 · source§

    fn ne<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialEq<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are not equal to those of\nanother. Read more
    1.5.0 · source§

    fn lt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless than those of another. Read more
    1.5.0 · source§

    fn le<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\nless or equal to those of another. Read more
    1.5.0 · source§

    fn gt<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than those of another. Read more
    1.5.0 · source§

    fn ge<I>(self, other: I) -> bool
    where\n I: IntoIterator,\n Self::Item: PartialOrd<<I as IntoIterator>::Item>,\n Self: Sized,

    Determines if the elements of this Iterator are lexicographically\ngreater than or equal to those of another. Read more
    1.82.0 · source§

    fn is_sorted_by<F>(self, compare: F) -> bool
    where\n Self: Sized,\n F: FnMut(&Self::Item, &Self::Item) -> bool,

    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    1.82.0 · source§

    fn is_sorted_by_key<F, K>(self, f: F) -> bool
    where\n Self: Sized,\n F: FnMut(Self::Item) -> K,\n K: PartialOrd,

    Checks if the elements of this iterator are sorted using the given key extraction\nfunction. Read more
    ","Iterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Ord for Box<T, A>
    where\n T: Ord + ?Sized,\n A: Allocator,

    source§

    fn cmp(&self, other: &Box<T, A>) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where\n Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where\n Self: Sized,

    Restrict a value to a certain interval. Read more
    ","Ord","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> PartialEq for Box<T, A>
    where\n T: PartialEq + ?Sized,\n A: Allocator,

    source§

    fn eq(&self, other: &Box<T, A>) -> bool

    Tests for self and other values to be equal, and is used by ==.
    source§

    fn ne(&self, other: &Box<T, A>) -> bool

    Tests for !=. The default implementation is almost always sufficient,\nand should not be overridden without very good reason.
    ","PartialEq","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> PartialOrd for Box<T, A>
    where\n T: PartialOrd + ?Sized,\n A: Allocator,

    source§

    fn partial_cmp(&self, other: &Box<T, A>) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    source§

    fn lt(&self, other: &Box<T, A>) -> bool

    Tests less than (for self and other) and is used by the < operator. Read more
    source§

    fn le(&self, other: &Box<T, A>) -> bool

    Tests less than or equal to (for self and other) and is used by the\n<= operator. Read more
    source§

    fn ge(&self, other: &Box<T, A>) -> bool

    Tests greater than or equal to (for self and other) and is used by\nthe >= operator. Read more
    source§

    fn gt(&self, other: &Box<T, A>) -> bool

    Tests greater than (for self and other) and is used by the >\noperator. Read more
    ","PartialOrd","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Pointer for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    ","Pointer","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<R> Read for Box<R>
    where\n R: Read + ?Sized,

    source§

    fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>

    Pull some bytes from this source into the specified buffer, returning\nhow many bytes were read. Read more
    source§

    fn read_buf(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Pull some bytes from this source into the specified buffer. Read more
    source§

    fn read_vectored(&mut self, bufs: &mut [IoSliceMut<'_>]) -> Result<usize, Error>

    Like read, except that it reads into a slice of buffers. Read more
    source§

    fn is_read_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Reader has an efficient read_vectored\nimplementation. Read more
    source§

    fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>

    Reads all bytes until EOF in this source, placing them into buf. Read more
    source§

    fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>

    Reads all bytes until EOF in this source, appending them to buf. Read more
    source§

    fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>

    Reads the exact number of bytes required to fill buf. Read more
    source§

    fn read_buf_exact(&mut self, cursor: BorrowedCursor<'_>) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (read_buf)
    Reads the exact number of bytes required to fill cursor. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adaptor for this instance of Read. Read more
    1.0.0 · source§

    fn bytes(self) -> Bytes<Self>
    where\n Self: Sized,

    Transforms this Read instance to an Iterator over its bytes. Read more
    1.0.0 · source§

    fn chain<R>(self, next: R) -> Chain<Self, R>
    where\n R: Read,\n Self: Sized,

    Creates an adapter which will chain this stream with another. Read more
    1.0.0 · source§

    fn take(self, limit: u64) -> Take<Self>
    where\n Self: Sized,

    Creates an adapter which will read at most limit bytes from it. Read more
    ","Read","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<S> Seek for Box<S>
    where\n S: Seek + ?Sized,

    source§

    fn seek(&mut self, pos: SeekFrom) -> Result<u64, Error>

    Seek to an offset, in bytes, in a stream. Read more
    source§

    fn stream_position(&mut self) -> Result<u64, Error>

    Returns the current seek position from the start of the stream. Read more
    1.55.0 · source§

    fn rewind(&mut self) -> Result<(), Error>

    Rewind to the beginning of a stream. Read more
    source§

    fn stream_len(&mut self) -> Result<u64, Error>

    🔬This is a nightly-only experimental API. (seek_stream_len)
    Returns the length of this stream (in bytes). Read more
    1.80.0 · source§

    fn seek_relative(&mut self, offset: i64) -> Result<(), Error>

    Seeks relative to the current position. Read more
    ","Seek","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<S> Subscriber for Box<S>
    where\n S: Subscriber + ?Sized,

    §

    fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest

    Registers a new callsite with this subscriber, returning whether or not\nthe subscriber is interested in being notified about the callsite. Read more
    §

    fn enabled(&self, metadata: &Metadata<'_>) -> bool

    Returns true if a span or event with the specified metadata would be\nrecorded. Read more
    §

    fn max_level_hint(&self) -> Option<LevelFilter>

    Returns the highest verbosity level that this Subscriber will\nenable, or None, if the subscriber does not implement level-based\nfiltering or chooses not to implement this method. Read more
    §

    fn new_span(&self, span: &Attributes<'_>) -> Id

    Visit the construction of a new span, returning a new span ID for the\nspan being constructed. Read more
    §

    fn record(&self, span: &Id, values: &Record<'_>)

    Record a set of values on a span. Read more
    §

    fn record_follows_from(&self, span: &Id, follows: &Id)

    Adds an indication that span follows from the span with the id\nfollows. Read more
    §

    fn event_enabled(&self, event: &Event<'_>) -> bool

    Determine if an [Event] should be recorded. Read more
    §

    fn event(&self, event: &Event<'_>)

    Records that an Event has occurred. Read more
    §

    fn enter(&self, span: &Id)

    Records that a span has been entered. Read more
    §

    fn exit(&self, span: &Id)

    Records that a span has been exited. Read more
    §

    fn clone_span(&self, id: &Id) -> Id

    Notifies the subscriber that a span ID has been cloned. Read more
    §

    fn try_close(&self, id: Id) -> bool

    Notifies the subscriber that a span ID has been dropped, and returns\ntrue if there are now 0 IDs that refer to that span. Read more
    §

    fn drop_span(&self, id: Id)

    👎Deprecated since 0.1.2: use Subscriber::try_close instead
    This method is deprecated. Read more
    §

    fn current_span(&self) -> Current

    Returns a type representing this subscriber’s view of the current span. Read more
    §

    unsafe fn downcast_raw(&self, id: TypeId) -> Option<*const ()>

    If self is the same type as the provided TypeId, returns an untyped\n*const pointer to that type. Otherwise, returns None. Read more
    §

    fn on_register_dispatch(&self, subscriber: &Dispatch)

    Invoked when this subscriber becomes a [Dispatch]. Read more
    ","Subscriber","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    §

    impl<T> Value for Box<T>
    where\n T: Value + ?Sized,

    §

    fn record(&self, key: &Field, visitor: &mut dyn Visit)

    Visits this value with the given Visitor.
    ","Value","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<W> Write for Box<W>
    where\n W: Write + ?Sized,

    source§

    fn write(&mut self, buf: &[u8]) -> Result<usize, Error>

    Writes a buffer into this writer, returning how many bytes were written. Read more
    source§

    fn write_vectored(&mut self, bufs: &[IoSlice<'_>]) -> Result<usize, Error>

    Like write, except that it writes from a slice of buffers. Read more
    source§

    fn is_write_vectored(&self) -> bool

    🔬This is a nightly-only experimental API. (can_vector)
    Determines if this Writer has an efficient write_vectored\nimplementation. Read more
    source§

    fn flush(&mut self) -> Result<(), Error>

    Flushes this output stream, ensuring that all intermediately buffered\ncontents reach their destination. Read more
    source§

    fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>

    Attempts to write an entire buffer into this writer. Read more
    source§

    fn write_fmt(&mut self, fmt: Arguments<'_>) -> Result<(), Error>

    Writes a formatted string into this writer, returning any error\nencountered. Read more
    source§

    fn write_all_vectored(&mut self, bufs: &mut [IoSlice<'_>]) -> Result<(), Error>

    🔬This is a nightly-only experimental API. (write_all_vectored)
    Attempts to write multiple buffers into this writer. Read more
    1.0.0 · source§

    fn by_ref(&mut self) -> &mut Self
    where\n Self: Sized,

    Creates a “by reference” adapter for this instance of Write. Read more
    ","Write","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, U, A> CoerceUnsized<Box<U, A>> for Box<T, A>
    where\n T: Unsize<U> + ?Sized,\n A: Allocator,\n U: ?Sized,

    ","CoerceUnsized>","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> DerefPure for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","DerefPure","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, U> DispatchFromDyn<Box<U>> for Box<T>
    where\n T: Unsize<U> + ?Sized,\n U: ?Sized,

    ","DispatchFromDyn>","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.0.0 · source§

    impl<T, A> Eq for Box<T, A>
    where\n T: Eq + ?Sized,\n A: Allocator,

    ","Eq","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.26.0 · source§

    impl<I, A> FusedIterator for Box<I, A>
    where\n I: FusedIterator + ?Sized,\n A: Allocator,

    ","FusedIterator","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    source§

    impl<T, A> PinCoerceUnsized for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","PinCoerceUnsized","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"],["
    1.33.0 · source§

    impl<T, A> Unpin for Box<T, A>
    where\n A: Allocator,\n T: ?Sized,

    ","Unpin","smithay_client_toolkit::seat::keyboard::repeat::RepeatCallback"]]]]); if (window.register_type_impls) { window.register_type_impls(type_impls); } else { window.pending_type_impls = type_impls; } })() -//{"start":55,"fragment_lengths":[378442]} \ No newline at end of file +//{"start":55,"fragment_lengths":[393226]} \ No newline at end of file