diff --git a/smithay_client_toolkit/registry/struct.RegistryState.html b/smithay_client_toolkit/registry/struct.RegistryState.html index 5b9db4a12..ca90b90c3 100644 --- a/smithay_client_toolkit/registry/struct.RegistryState.html +++ b/smithay_client_toolkit/registry/struct.RegistryState.html @@ -9,7 +9,7 @@
source

pub fn globals_by_interface<'a>( &'a self, interface: &'a str, -) -> impl Iterator<Item = &'a Global> + 'a

Returns an iterator over all globals implementing the given interface.

+) -> 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, diff --git a/smithay_client_toolkit/seat/keyboard/struct.Keymap.html b/smithay_client_toolkit/seat/keyboard/struct.Keymap.html index 4b05cda1f..e9879de18 100644 --- a/smithay_client_toolkit/seat/keyboard/struct.Keymap.html +++ b/smithay_client_toolkit/seat/keyboard/struct.Keymap.html @@ -1,5 +1,5 @@ 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 Keymap<'_>

source

pub fn as_string(&self) -> String

Get keymap as string in text format. The keymap should always be valid.

+

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 diff --git a/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html b/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html index dee32ece1..3649ba36a 100644 --- a/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html +++ b/smithay_client_toolkit/seat/pointer/enum.ThemeSpec.html @@ -1,4 +1,4 @@ -ThemeSpec in smithay_client_toolkit::seat::pointer - Rust
smithay_client_toolkit::seat::pointer

Enum 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,
@@ -14,7 +14,7 @@
 

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 Default for ThemeSpec<'_>

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 +

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 diff --git a/src/smithay_client_toolkit/registry.rs.html b/src/smithay_client_toolkit/registry.rs.html index 05cf02bae..d79ffadbb 100644 --- a/src/smithay_client_toolkit/registry.rs.html +++ b/src/smithay_client_toolkit/registry.rs.html @@ -735,7 +735,7 @@ pub fn globals_by_interface<'a>( &'a self, interface: &'a str, - ) -> impl Iterator<Item = &'a Global> + 'a { + ) -> impl Iterator<Item = &Global> + 'a { self.globals.iter().filter(move |g| g.interface == interface) } diff --git a/src/smithay_client_toolkit/seat/keyboard/mod.rs.html b/src/smithay_client_toolkit/seat/keyboard/mod.rs.html index 0d7e2537a..6b4391fb1 100644 --- a/src/smithay_client_toolkit/seat/keyboard/mod.rs.html +++ b/src/smithay_client_toolkit/seat/keyboard/mod.rs.html @@ -986,7 +986,7 @@ #[allow(missing_debug_implementations)] pub struct Keymap<'a>(&'a xkb::Keymap); -impl Keymap<'_> { +impl<'a> Keymap<'a> { /// Get keymap as string in text format. The keymap should always be valid. pub fn as_string(&self) -> String { self.0.get_as_string(xkb::KEYMAP_FORMAT_TEXT_V1) diff --git a/src/smithay_client_toolkit/seat/pointer/mod.rs.html b/src/smithay_client_toolkit/seat/pointer/mod.rs.html index cfeb540b8..fc27ac339 100644 --- a/src/smithay_client_toolkit/seat/pointer/mod.rs.html +++ b/src/smithay_client_toolkit/seat/pointer/mod.rs.html @@ -1191,7 +1191,7 @@ System, } -impl Default for ThemeSpec<'_> { +impl<'a> Default for ThemeSpec<'a> { fn default() -> Self { Self::System } diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index 0d7a76990..fc70ac30d 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -1,9 +1,9 @@ (function() { - var implementors = Object.fromEntries([["smithay_client_toolkit",[["impl Default for ThemeSpec<'_>"],["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"]]]]); + 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 { window.pending_implementors = implementors; } })() -//{"start":57,"fragment_lengths":[4924]} \ No newline at end of file +//{"start":57,"fragment_lengths":[4934]} \ No newline at end of file