[−][src]Enum shred::AccessorCow
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: ?Sized> Deref for AccessorCow<'a, 'b, T> where
<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: 'b,
T: System<'a> + 'b,
'a: 'b,
[src]
<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor: 'b,
T: System<'a> + 'b,
'a: 'b,
type Target = <<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor
The resulting type after dereferencing.
fn deref(
&self
) -> &<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor
[src]
&self
) -> &<<T as System<'a>>::SystemData as DynamicSystemData<'a>>::Accessor
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>,
<<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>,
<<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>,
<<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>,
<<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>,
<<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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
T: Any,