Struct shipyard::UniqueViewMut[][src]

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

Exclusive view over a unique component storage.

Implementations

impl<T> UniqueViewMut<'_, T>[src]

pub fn is_modified(unique: &Self) -> bool[src]

Returns true is the component was modified since the last clear_modified call.

pub fn clear_modified(unique: &mut Self)[src]

Removes the modified flag on this component.

Trait Implementations

impl<T> AsMut<T> for UniqueViewMut<'_, T>[src]

impl<T> AsRef<T> for UniqueViewMut<'_, T>[src]

impl<'a, T: 'static + Send + Sync> BorrowInfo for UniqueViewMut<'a, T>[src]

impl<T> Deref for UniqueViewMut<'_, T>[src]

type Target = T

The resulting type after dereferencing.

impl<T> DerefMut for UniqueViewMut<'_, T>[src]

impl<T: 'static + Send + Sync> IntoBorrow for UniqueViewMut<'_, T>[src]

type Borrow = UniqueViewMutBorrower<T>

Helper type almost allowing GAT on stable.

Auto Trait Implementations

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

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

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

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

impl<'a, T> !UnwindSafe for UniqueViewMut<'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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.