[][src]Enum specs::AccessorCow

pub enum AccessorCow<'a, 'b, T> where
    'a: 'b,
    T: System<'a> + ?Sized,
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: 'b,
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: 'b, 
{ Ref(&'b <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor), Owned(<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor), }

Either an Accessor of the system T or a reference to it.

Variants

Ref(&'b <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor)

A reference to an accessor.

Owned(<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor)

An owned accessor.

Trait Implementations

impl<'a, 'b, T> Deref for AccessorCow<'a, 'b, T> where
    'a: 'b,
    T: System<'a> + 'b + ?Sized,
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: 'b, 
[src]

type Target = <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, 'b, T: ?Sized> Unpin for AccessorCow<'a, 'b, T> where
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: Unpin,
    <T as System<'a>>::SystemData: DynamicSystemData<'a>, 

impl<'a, 'b, T: ?Sized> Sync for AccessorCow<'a, 'b, T> where
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: Sync,
    <T as System<'a>>::SystemData: DynamicSystemData<'a>, 

impl<'a, 'b, T: ?Sized> Send for AccessorCow<'a, 'b, T> where
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: Send + Sync,
    <T as System<'a>>::SystemData: DynamicSystemData<'a>, 

impl<'a, 'b, T: ?Sized> UnwindSafe for AccessorCow<'a, 'b, T> where
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: RefUnwindSafe + UnwindSafe,
    <T as System<'a>>::SystemData: DynamicSystemData<'a>, 

impl<'a, 'b, T: ?Sized> RefUnwindSafe for AccessorCow<'a, 'b, T> where
    <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: RefUnwindSafe,
    <T as System<'a>>::SystemData: DynamicSystemData<'a>, 

Blanket Implementations

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

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

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

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]