pub struct Ref<'a, R: 'a> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<'a, 'b, T> Join for &'a Ref<'b, T>
impl<'a, 'b, T> Join for &'a Ref<'b, T>
Source§unsafe fn open(self) -> (Self::Mask, Self::Value)
unsafe fn open(self) -> (Self::Mask, Self::Value)
Open this join by returning the mask and the storages. Read more
Source§unsafe fn get(v: &mut Self::Value, i: Index) -> Self::Type
unsafe fn get(v: &mut Self::Value, i: Index) -> Self::Type
Get a joined component value by a given index. Read more
Source§fn is_unconstrained() -> bool
fn is_unconstrained() -> bool
If this
Join
typically returns all indices in the mask, then iterating
over only it or combined with other joins that are also dangerous
will cause the JoinIter
/ParJoin
to go through all indices which
is usually not what is wanted and will kill performance.Auto Trait Implementations§
impl<'a, R> Freeze for Ref<'a, R>
impl<'a, R> !RefUnwindSafe for Ref<'a, R>
impl<'a, R> Send for Ref<'a, R>where
R: Sync,
impl<'a, R> Sync for Ref<'a, R>where
R: Sync,
impl<'a, R> Unpin for Ref<'a, R>
impl<'a, R> !UnwindSafe for Ref<'a, R>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more