Struct bevy_interact_2d::drag::Dragged[][src]

pub struct Dragged {
    pub group: Group,
    pub translation: Vec2,
    pub origin: Vec2,
    pub just_dropped: bool,
    pub just_dragged: bool,
}

Fields

group: Grouptranslation: Vec2origin: Vec2just_dropped: booljust_dragged: bool

Implementations

impl Dragged[src]

pub fn just_dropped(&self) -> bool[src]

pub fn just_dragged(&self) -> bool[src]

Auto Trait Implementations

impl RefUnwindSafe for Dragged

impl Send for Dragged

impl Sync for Dragged

impl Unpin for Dragged

impl UnwindSafe for Dragged

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any

impl<T> Downcast<T> for T

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,