pub enum GrabMode {
Grab,
PanFull,
PanScale,
PanRotate,
PanOnly,
}Expand description
Controls the types of events delivered by EventMgr::grab_press
Variants§
Grab
Deliver Event::PressMove and Event::PressEnd for each grabbed press
PanFull
Deliver Event::Pan events, with scaling and rotation
PanScale
Deliver Event::Pan events, with scaling
PanRotate
Deliver Event::Pan events, with rotation
PanOnly
Deliver Event::Pan events, without scaling or rotation
Trait Implementations§
source§impl PartialEq<GrabMode> for GrabMode
impl PartialEq<GrabMode> for GrabMode
impl Copy for GrabMode
impl Eq for GrabMode
impl StructuralEq for GrabMode
impl StructuralPartialEq for GrabMode
Auto Trait Implementations§
impl RefUnwindSafe for GrabMode
impl Send for GrabMode
impl Sync for GrabMode
impl Unpin for GrabMode
impl UnwindSafe for GrabMode
Blanket Implementations§
source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.