pub struct Not<F>(/* private fields */);
Trait Implementations§
Source§impl<'a, F: Fetch<'a, Output = bool>> Fetch<'a> for Not<F>
impl<'a, F: Fetch<'a, Output = bool>> Fetch<'a> for Not<F>
type Output = bool
type WorldBorrows = <F as Fetch<'a>>::WorldBorrows
type DirectBorrows = <F 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<bool>
unsafe fn borrow_direct( &self, entity: &'a Entity, ) -> Option<Self::DirectBorrows>
unsafe fn get(&self, borrows: &Self::DirectBorrows) -> bool
Auto Trait Implementations§
impl<F> Freeze for Not<F>where
F: Freeze,
impl<F> RefUnwindSafe for Not<F>where
F: RefUnwindSafe,
impl<F> Send for Not<F>where
F: Send,
impl<F> Sync for Not<F>where
F: Sync,
impl<F> Unpin for Not<F>where
F: Unpin,
impl<F> UnwindSafe for Not<F>where
F: UnwindSafe,
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