Struct bevy_ecs::world::Mut[][src]

pub struct Mut<'a, T> { /* fields omitted */ }

Unique borrow of an entity’s component

Implementations

impl<'w, T> Mut<'w, T>[src]

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

Returns true if (and only if) this component been added since the last execution of this system.

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

Returns true if (and only if) this component been changed since the last execution of this system.

Trait Implementations

impl<'a, T: Debug> Debug for Mut<'a, T>[src]

impl<'a, T> Deref for Mut<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T> DerefMut for Mut<'a, T>[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for Mut<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for Mut<'a, T> where
    T: Send

impl<'a, T> Sync for Mut<'a, T> where
    T: Sync

impl<'a, T> Unpin for Mut<'a, T>

impl<'a, T> !UnwindSafe for Mut<'a, T>

Blanket Implementations

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

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
[src]

impl<T> Downcast for T where
    T: Any
[src]

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

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<V, T> VZip<V> for T where
    V: MultiLane<T>,