Struct shipyard::UniqueView[][src]

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

Shared view over a unique component storage.

Implementations

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

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

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

Trait Implementations

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

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

impl<T> Clone for UniqueView<'_, T>[src]

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

type Target = T

The resulting type after dereferencing.

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

type Borrow = UniqueViewBorrower<T>

Helper type almost allowing GAT on stable.

Auto Trait Implementations

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

impl<'a, T> Send for UniqueView<'a, T> where
    T: Sync

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

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

impl<'a, T> UnwindSafe for UniqueView<'a, T> where
    T: RefUnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.