pub enum SwipeEdge {
Left,
Right,
}Expand description
The edge a back gesture started from.
The platform reports it so a view can move with the finger instead of guessing a direction: a left-edge gesture travels right, a right-edge one travels left.
Variants§
Trait Implementations§
impl Copy for SwipeEdge
impl Eq for SwipeEdge
impl StructuralPartialEq for SwipeEdge
Auto Trait Implementations§
impl Forget for SwipeEdge
impl Freeze for SwipeEdge
impl Move for SwipeEdge
impl RefUnwindSafe for SwipeEdge
impl Send for SwipeEdge
impl Sync for SwipeEdge
impl Unpin for SwipeEdge
impl UnsafeUnpin for SwipeEdge
impl UnwindSafe for SwipeEdge
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