pub enum EventOrigin {
TopLeft = 0,
Centre = 1,
CentreLeft = 2,
TopRight = 3,
BottomCentre = 4,
TopCentre = 5,
Custom = 6,
CentreRight = 7,
BottomLeft = 8,
BottomRight = 9,
}
Variants§
TopLeft = 0
Centre = 1
CentreLeft = 2
TopRight = 3
BottomCentre = 4
TopCentre = 5
Custom = 6
CentreRight = 7
BottomLeft = 8
BottomRight = 9
Trait Implementations§
Source§impl Clone for EventOrigin
impl Clone for EventOrigin
Source§fn clone(&self) -> EventOrigin
fn clone(&self) -> EventOrigin
Returns a copy of the value. Read more
1.0.0 · 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 EventOrigin
impl Debug for EventOrigin
Source§impl Display for EventOrigin
impl Display for EventOrigin
Source§impl FromStr for EventOrigin
impl FromStr for EventOrigin
Source§impl Hash for EventOrigin
impl Hash for EventOrigin
Source§impl PartialEq for EventOrigin
impl PartialEq for EventOrigin
Source§impl TryFrom<i32> for EventOrigin
impl TryFrom<i32> for EventOrigin
impl Copy for EventOrigin
impl Eq for EventOrigin
impl StructuralPartialEq for EventOrigin
Auto Trait Implementations§
impl Freeze for EventOrigin
impl RefUnwindSafe for EventOrigin
impl Send for EventOrigin
impl Sync for EventOrigin
impl Unpin for EventOrigin
impl UnwindSafe for EventOrigin
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