#[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 PartialOrd for Edge
impl PartialOrd for Edge
impl Copy for Edge
impl Eq for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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