Enum gtk_layer_shell::Layer
source · #[non_exhaustive]
pub enum Layer {
Background,
Bottom,
Top,
Overlay,
EntryNumber,
}
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
The background layer.
Bottom
The bottom layer.
Top
The top layer.
Overlay
The overlay layer.
EntryNumber
Should not be used except to get the number of entries. (NOTE: may change in future releases as more entries are added)
Trait Implementations§
source§impl Ord for Layer
impl Ord for Layer
source§impl PartialEq<Layer> for Layer
impl PartialEq<Layer> for Layer
source§impl PartialOrd<Layer> for Layer
impl PartialOrd<Layer> for Layer
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more