[][src]Struct bevy_ecs::Local

pub struct Local<'a, T: Resource + FromResources> { /* fields omitted */ }

Local resources are unique per-system. Two instances of the same system will each have their own resource. Local resources are automatically initialized using the FromResources trait.

Trait Implementations

impl<'a, T: Resource + FromResources> Deref for Local<'a, T>[src]

type Target = T

The resulting type after dereferencing.

impl<'a, T: Resource + FromResources> DerefMut for Local<'a, T>[src]

impl<'a, T: Resource + FromResources> ResourceQuery for Local<'a, T>[src]

impl<'a, T: Resource + FromResources> UnsafeClone for Local<'a, T>[src]

Auto Trait Implementations

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

impl<'a, T> !Send for Local<'a, T>

impl<'a, T> !Sync for Local<'a, T>

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

impl<'a, T> UnwindSafe for Local<'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> Downcast for T where
    T: Any
[src]

impl<T> From<T> 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>,