pub struct Related<'a, const LOCKING: bool, T, Transform>(/* private fields */)
where
T: Component,
Transform: TypedRelationLookupTransform<'a, Input = Entity>;Trait Implementations§
Source§impl<'a, const LOCKING: bool, T, Transform> TypedRelationLookupFetch<'a> for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> TypedRelationLookupFetch<'a> for Related<'a, LOCKING, T, Transform>
type Value = <Transform as TypedRelationLookupTransform<'a>>::Output
type Access = Box<dyn Iterator<Item = <Related<'a, LOCKING, T, Transform> as TypedRelationLookupFetch<'a>>::Value> + 'a>
fn access(world: &'a World, entity: Entity) -> Self::Access
fn fetch(access: &mut Self::Access) -> Option<Self::Value>
Auto Trait Implementations§
impl<'a, const LOCKING: bool, T, Transform> Freeze for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> RefUnwindSafe for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> Send for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> Sync for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> Unpin for Related<'a, LOCKING, T, Transform>
impl<'a, const LOCKING: bool, T, Transform> UnwindSafe for Related<'a, LOCKING, T, Transform>
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