pub struct Passthrough;
Expand description
A filter which always defers.
Trait Implementations§
Source§impl<A, B, C, D, E, F, G, H> BitAnd<Passthrough> for And<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> BitAnd<Passthrough> for And<(A, B, C, D, E, F, G, H)>
Source§type Output = And<(A, B, C, D, E, F, G, H)>
type Output = And<(A, B, C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <And<(A, B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <And<(A, B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<B, C, D, E, F, G, H> BitAnd<Passthrough> for And<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> BitAnd<Passthrough> for And<(B, C, D, E, F, G, H)>
Source§type Output = And<(B, C, D, E, F, G, H)>
type Output = And<(B, C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <And<(B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <And<(B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<C, D, E, F, G, H> BitAnd<Passthrough> for And<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> BitAnd<Passthrough> for And<(C, D, E, F, G, H)>
Source§type Output = And<(C, D, E, F, G, H)>
type Output = And<(C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <And<(C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <And<(C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<D, E, F, G, H> BitAnd<Passthrough> for And<(D, E, F, G, H)>
impl<D, E, F, G, H> BitAnd<Passthrough> for And<(D, E, F, G, H)>
Source§type Output = And<(D, E, F, G, H)>
type Output = And<(D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <And<(D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <And<(D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<E, F, G, H> BitAnd<Passthrough> for And<(E, F, G, H)>
impl<E, F, G, H> BitAnd<Passthrough> for And<(E, F, G, H)>
Source§type Output = And<(E, F, G, H)>
type Output = And<(E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <And<(E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <And<(E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl BitAnd<Passthrough> for Any
impl BitAnd<Passthrough> for Any
Source§impl<'a, T> BitAnd<Passthrough> for ComponentChangedFilter<T>where
T: Component,
impl<'a, T> BitAnd<Passthrough> for ComponentChangedFilter<T>where
T: Component,
Source§type Output = ComponentChangedFilter<T>
type Output = ComponentChangedFilter<T>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <ComponentChangedFilter<T> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <ComponentChangedFilter<T> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<'a, T> BitAnd<Passthrough> for ComponentFilter<T>where
T: Component,
impl<'a, T> BitAnd<Passthrough> for ComponentFilter<T>where
T: Component,
Source§type Output = ComponentFilter<T>
type Output = ComponentFilter<T>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <ComponentFilter<T> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <ComponentFilter<T> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<'a, F> BitAnd<Passthrough> for Not<F>
impl<'a, F> BitAnd<Passthrough> for Not<F>
Source§impl<A, B, C, D, E, F, G, H> BitAnd<Passthrough> for Or<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> BitAnd<Passthrough> for Or<(A, B, C, D, E, F, G, H)>
Source§type Output = Or<(A, B, C, D, E, F, G, H)>
type Output = Or<(A, B, C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <Or<(A, B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <Or<(A, B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<B, C, D, E, F, G, H> BitAnd<Passthrough> for Or<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> BitAnd<Passthrough> for Or<(B, C, D, E, F, G, H)>
Source§type Output = Or<(B, C, D, E, F, G, H)>
type Output = Or<(B, C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <Or<(B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <Or<(B, C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<C, D, E, F, G, H> BitAnd<Passthrough> for Or<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> BitAnd<Passthrough> for Or<(C, D, E, F, G, H)>
Source§type Output = Or<(C, D, E, F, G, H)>
type Output = Or<(C, D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <Or<(C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <Or<(C, D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<D, E, F, G, H> BitAnd<Passthrough> for Or<(D, E, F, G, H)>
impl<D, E, F, G, H> BitAnd<Passthrough> for Or<(D, E, F, G, H)>
Source§type Output = Or<(D, E, F, G, H)>
type Output = Or<(D, E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <Or<(D, E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <Or<(D, E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<E, F, G, H> BitAnd<Passthrough> for Or<(E, F, G, H)>
impl<E, F, G, H> BitAnd<Passthrough> for Or<(E, F, G, H)>
Source§type Output = Or<(E, F, G, H)>
type Output = Or<(E, F, G, H)>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <Or<(E, F, G, H)> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <Or<(E, F, G, H)> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<'a, T> BitAnd<Passthrough> for TryComponentFilter<T>where
T: Component,
impl<'a, T> BitAnd<Passthrough> for TryComponentFilter<T>where
T: Component,
Source§type Output = TryComponentFilter<T>
type Output = TryComponentFilter<T>
The resulting type after applying the
&
operator.Source§fn bitand(
self,
_: Passthrough,
) -> <TryComponentFilter<T> as BitAnd<Passthrough>>::Output
fn bitand( self, _: Passthrough, ) -> <TryComponentFilter<T> as BitAnd<Passthrough>>::Output
Performs the
&
operation. Read moreSource§impl<Rhs> BitAnd<Rhs> for Passthrough
impl<Rhs> BitAnd<Rhs> for Passthrough
Source§impl<A, B, C, D, E, F, G, H> BitOr<Passthrough> for And<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> BitOr<Passthrough> for And<(A, B, C, D, E, F, G, H)>
Source§type Output = And<(A, B, C, D, E, F, G, H)>
type Output = And<(A, B, C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <And<(A, B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <And<(A, B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<B, C, D, E, F, G, H> BitOr<Passthrough> for And<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> BitOr<Passthrough> for And<(B, C, D, E, F, G, H)>
Source§type Output = And<(B, C, D, E, F, G, H)>
type Output = And<(B, C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <And<(B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <And<(B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<C, D, E, F, G, H> BitOr<Passthrough> for And<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> BitOr<Passthrough> for And<(C, D, E, F, G, H)>
Source§type Output = And<(C, D, E, F, G, H)>
type Output = And<(C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <And<(C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <And<(C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<D, E, F, G, H> BitOr<Passthrough> for And<(D, E, F, G, H)>
impl<D, E, F, G, H> BitOr<Passthrough> for And<(D, E, F, G, H)>
Source§type Output = And<(D, E, F, G, H)>
type Output = And<(D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <And<(D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <And<(D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<E, F, G, H> BitOr<Passthrough> for And<(E, F, G, H)>
impl<E, F, G, H> BitOr<Passthrough> for And<(E, F, G, H)>
Source§type Output = And<(E, F, G, H)>
type Output = And<(E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <And<(E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <And<(E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl BitOr<Passthrough> for Any
impl BitOr<Passthrough> for Any
Source§impl<'a, T> BitOr<Passthrough> for ComponentChangedFilter<T>where
T: Component,
impl<'a, T> BitOr<Passthrough> for ComponentChangedFilter<T>where
T: Component,
Source§type Output = ComponentChangedFilter<T>
type Output = ComponentChangedFilter<T>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <ComponentChangedFilter<T> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <ComponentChangedFilter<T> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<'a, T> BitOr<Passthrough> for ComponentFilter<T>where
T: Component,
impl<'a, T> BitOr<Passthrough> for ComponentFilter<T>where
T: Component,
Source§type Output = ComponentFilter<T>
type Output = ComponentFilter<T>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <ComponentFilter<T> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <ComponentFilter<T> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<'a, F> BitOr<Passthrough> for Not<F>
impl<'a, F> BitOr<Passthrough> for Not<F>
Source§impl<A, B, C, D, E, F, G, H> BitOr<Passthrough> for Or<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> BitOr<Passthrough> for Or<(A, B, C, D, E, F, G, H)>
Source§type Output = Or<(A, B, C, D, E, F, G, H)>
type Output = Or<(A, B, C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <Or<(A, B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <Or<(A, B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<B, C, D, E, F, G, H> BitOr<Passthrough> for Or<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> BitOr<Passthrough> for Or<(B, C, D, E, F, G, H)>
Source§type Output = Or<(B, C, D, E, F, G, H)>
type Output = Or<(B, C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <Or<(B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <Or<(B, C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<C, D, E, F, G, H> BitOr<Passthrough> for Or<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> BitOr<Passthrough> for Or<(C, D, E, F, G, H)>
Source§type Output = Or<(C, D, E, F, G, H)>
type Output = Or<(C, D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <Or<(C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <Or<(C, D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<D, E, F, G, H> BitOr<Passthrough> for Or<(D, E, F, G, H)>
impl<D, E, F, G, H> BitOr<Passthrough> for Or<(D, E, F, G, H)>
Source§type Output = Or<(D, E, F, G, H)>
type Output = Or<(D, E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <Or<(D, E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <Or<(D, E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<E, F, G, H> BitOr<Passthrough> for Or<(E, F, G, H)>
impl<E, F, G, H> BitOr<Passthrough> for Or<(E, F, G, H)>
Source§type Output = Or<(E, F, G, H)>
type Output = Or<(E, F, G, H)>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <Or<(E, F, G, H)> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <Or<(E, F, G, H)> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<'a, T> BitOr<Passthrough> for TryComponentFilter<T>where
T: Component,
impl<'a, T> BitOr<Passthrough> for TryComponentFilter<T>where
T: Component,
Source§type Output = TryComponentFilter<T>
type Output = TryComponentFilter<T>
The resulting type after applying the
|
operator.Source§fn bitor(
self,
_: Passthrough,
) -> <TryComponentFilter<T> as BitOr<Passthrough>>::Output
fn bitor( self, _: Passthrough, ) -> <TryComponentFilter<T> as BitOr<Passthrough>>::Output
Performs the
|
operation. Read moreSource§impl<Rhs> BitOr<Rhs> for Passthrough
impl<Rhs> BitOr<Rhs> for Passthrough
Source§impl Clone for Passthrough
impl Clone for Passthrough
Source§fn clone(&self) -> Passthrough
fn clone(&self) -> Passthrough
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Passthrough
impl Debug for Passthrough
Source§impl Default for Passthrough
impl Default for Passthrough
Source§fn default() -> Passthrough
fn default() -> Passthrough
Returns the “default value” for a type. Read more
Source§impl DynamicFilter for Passthrough
impl DynamicFilter for Passthrough
Source§fn matches_archetype<F>(&mut self, _: &F) -> FilterResultwhere
F: Fetch,
fn matches_archetype<F>(&mut self, _: &F) -> FilterResultwhere
F: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl GroupMatcher for Passthrough
impl GroupMatcher for Passthrough
Source§fn can_match_group() -> bool
fn can_match_group() -> bool
Returns
true
if the filter may potentially match a group.Source§fn group_components() -> Vec<ComponentTypeId>
fn group_components() -> Vec<ComponentTypeId>
Returns the components that are required to be present in a group.
Source§impl LayoutFilter for Passthrough
impl LayoutFilter for Passthrough
Source§fn matches_layout(&self, _: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, _: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl Not for Passthrough
impl Not for Passthrough
Auto Trait Implementations§
impl Freeze for Passthrough
impl RefUnwindSafe for Passthrough
impl Send for Passthrough
impl Sync for Passthrough
impl Unpin for Passthrough
impl UnwindSafe for Passthrough
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Component for T
impl<T> Component for T
Source§type Storage = PackedStorage<T>
type Storage = PackedStorage<T>
The storage type required to hold all instances of this component in a world.
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more