Enum gtk_layer_shell::Edge
source · #[non_exhaustive]
pub enum Edge {
Left,
Right,
Top,
Bottom,
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.
Left
The left edge of the screen.
Right
The right edge of the screen.
Top
The top edge of the screen.
Bottom
The bottom edge of the screen.
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 Edge
impl Ord for Edge
source§impl PartialEq<Edge> for Edge
impl PartialEq<Edge> for Edge
source§impl PartialOrd<Edge> for Edge
impl PartialOrd<Edge> for Edge
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