pub struct FilterFetch<F: Filter>(pub F::Fetch);
Tuple Fields§
§0: F::Fetch
Trait Implementations§
Source§impl<'a, F: Filter> Fetch<'a> for FilterFetch<F>
impl<'a, F: Filter> Fetch<'a> for FilterFetch<F>
type Output = bool
type WorldBorrows = <<F as Filter>::Fetch as Fetch<'a>>::WorldBorrows
type DirectBorrows = <<F as Filter>::Fetch as Fetch<'a>>::DirectBorrows
unsafe fn borrow_world(&self, world: &'a World) -> Option<Self::WorldBorrows>
unsafe fn get_world( &self, borrows: &Self::WorldBorrows, id: Id, ) -> Option<Self::Output>
unsafe fn borrow_direct( &self, entity: &'a Entity, ) -> Option<Self::DirectBorrows>
unsafe fn get(&self, borrows: &Self::DirectBorrows) -> Self::Output
Auto Trait Implementations§
impl<F> Freeze for FilterFetch<F>
impl<F> RefUnwindSafe for FilterFetch<F>
impl<F> Send for FilterFetch<F>
impl<F> Sync for FilterFetch<F>
impl<F> Unpin for FilterFetch<F>
impl<F> UnwindSafe for FilterFetch<F>
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