pub struct LayerDisplay {
pub levels: HashMap<String, Vec<LayerClient>>,
}Expand description
This struct holds all the layer surfaces for a display
Fields§
§levels: HashMap<String, Vec<LayerClient>>The different levels of layers
Implementations§
Source§impl LayerDisplay
impl LayerDisplay
Sourcepub fn iter(&self) -> Iter<'_, String, Vec<LayerClient>>
pub fn iter(&self) -> Iter<'_, String, Vec<LayerClient>>
Creates the iterator of map by references of LayerDisplay
Sourcepub fn iter_mut(&mut self) -> IterMut<'_, String, Vec<LayerClient>>
pub fn iter_mut(&mut self) -> IterMut<'_, String, Vec<LayerClient>>
Creates the iterator of map by mutable references of LayerDisplay.
Sourcepub fn into_keys(self) -> IntoKeys<String, Vec<LayerClient>>
pub fn into_keys(self) -> IntoKeys<String, Vec<LayerClient>>
Creates the consuming iterator by keys with type String of LayerDisplay.
Sourcepub fn into_values(self) -> IntoValues<String, Vec<LayerClient>>
pub fn into_values(self) -> IntoValues<String, Vec<LayerClient>>
Creates the consuming iterator by values of LayerDisplay.
Trait Implementations§
Source§impl Clone for LayerDisplay
impl Clone for LayerDisplay
Source§fn clone(&self) -> LayerDisplay
fn clone(&self) -> LayerDisplay
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayerDisplay
impl Debug for LayerDisplay
Source§impl<'de> Deserialize<'de> for LayerDisplay
impl<'de> Deserialize<'de> for LayerDisplay
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LayerDisplay
Source§impl IntoIterator for LayerDisplay
impl IntoIterator for LayerDisplay
Source§impl<'a> IntoIterator for &'a LayerDisplay
impl<'a> IntoIterator for &'a LayerDisplay
Source§impl<'a> IntoIterator for &'a mut LayerDisplay
impl<'a> IntoIterator for &'a mut LayerDisplay
Source§impl PartialEq for LayerDisplay
impl PartialEq for LayerDisplay
Source§fn eq(&self, other: &LayerDisplay) -> bool
fn eq(&self, other: &LayerDisplay) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayerDisplay
impl Serialize for LayerDisplay
impl StructuralPartialEq for LayerDisplay
Auto Trait Implementations§
impl Freeze for LayerDisplay
impl RefUnwindSafe for LayerDisplay
impl Send for LayerDisplay
impl Sync for LayerDisplay
impl Unpin for LayerDisplay
impl UnsafeUnpin for LayerDisplay
impl UnwindSafe for LayerDisplay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more