Struct hecs_schedule::Read
source · [−]#[repr(transparent)]pub struct Read<'a, T>(_);Expand description
Wrapper type for an immutably borrowed value from schedule context
Implementations
Trait Implementations
sourceimpl<'a, T: 'static> ComponentBorrow for Read<'a, T>
impl<'a, T: 'static> ComponentBorrow for Read<'a, T>
sourceimpl<'a, T: 'static> ContextBorrow<'a> for Read<'a, T>
impl<'a, T: 'static> ContextBorrow<'a> for Read<'a, T>
sourceimpl<T: Component> IntoBorrow for Read<'_, T>
impl<T: Component> IntoBorrow for Read<'_, T>
type Borrow = Borrower<T>
type Borrow = Borrower<T>
The borrow type
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Read<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for Read<'a, T> where
T: Sync,
impl<'a, T> Sync for Read<'a, T> where
T: Sync,
impl<'a, T> Unpin for Read<'a, T>
impl<'a, T> UnwindSafe for Read<'a, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more