pub struct And<T> { /* private fields */ }
Expand description
A filter which requires all filters within T
match.
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<A, B, C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(A, B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<A, B, C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(A, B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<B, C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<B, C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<C, D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<D, E, F, G, H, Rhs> BitAnd<Rhs> for And<(D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<E, F, G, H, Rhs> BitAnd<Rhs> for And<(E, F, G, H)>where
Rhs: ActiveFilter,
impl<E, F, G, H, Rhs> BitAnd<Rhs> for And<(E, F, G, H)>where
Rhs: ActiveFilter,
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<A, B, C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(A, B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<A, B, C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(A, B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<B, C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<B, C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(B, C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(C, D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<C, D, E, F, G, H, Rhs> BitOr<Rhs> for And<(C, D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<D, E, F, G, H, Rhs> BitOr<Rhs> for And<(D, E, F, G, H)>where
Rhs: ActiveFilter,
impl<D, E, F, G, H, Rhs> BitOr<Rhs> for And<(D, E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<E, F, G, H, Rhs> BitOr<Rhs> for And<(E, F, G, H)>where
Rhs: ActiveFilter,
impl<E, F, G, H, Rhs> BitOr<Rhs> for And<(E, F, G, H)>where
Rhs: ActiveFilter,
Source§impl<A, B, C, D, E, F, G, H> Default for And<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> Default for And<(A, B, C, D, E, F, G, H)>
Source§impl<B, C, D, E, F, G, H> Default for And<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> Default for And<(B, C, D, E, F, G, H)>
Source§impl<C, D, E, F, G, H> Default for And<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> Default for And<(C, D, E, F, G, H)>
Source§impl<D, E, F, G, H> Default for And<(D, E, F, G, H)>
impl<D, E, F, G, H> Default for And<(D, E, F, G, H)>
Source§impl<E, F, G, H> Default for And<(E, F, G, H)>
impl<E, F, G, H> Default for And<(E, F, G, H)>
Source§impl<A, B, C, D, E, F, G, H> DynamicFilter for And<(A, B, C, D, E, F, G, H)>where
A: DynamicFilter,
B: DynamicFilter,
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
impl<A, B, C, D, E, F, G, H> DynamicFilter for And<(A, B, C, D, E, F, G, H)>where
A: DynamicFilter,
B: DynamicFilter,
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<B, C, D, E, F, G, H> DynamicFilter for And<(B, C, D, E, F, G, H)>where
B: DynamicFilter,
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
impl<B, C, D, E, F, G, H> DynamicFilter for And<(B, C, D, E, F, G, H)>where
B: DynamicFilter,
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<C, D, E, F, G, H> DynamicFilter for And<(C, D, E, F, G, H)>where
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
impl<C, D, E, F, G, H> DynamicFilter for And<(C, D, E, F, G, H)>where
C: DynamicFilter,
D: DynamicFilter,
E: DynamicFilter,
F: DynamicFilter,
G: DynamicFilter,
H: DynamicFilter,
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<D, E, F, G, H> DynamicFilter for And<(D, E, F, G, H)>
impl<D, E, F, G, H> DynamicFilter for And<(D, E, F, G, H)>
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<E, F, G, H> DynamicFilter for And<(E, F, G, H)>
impl<E, F, G, H> DynamicFilter for And<(E, F, G, H)>
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<F, G, H> DynamicFilter for And<(F, G, H)>
impl<F, G, H> DynamicFilter for And<(F, G, H)>
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<G, H> DynamicFilter for And<(G, H)>where
G: DynamicFilter,
H: DynamicFilter,
impl<G, H> DynamicFilter for And<(G, H)>where
G: DynamicFilter,
H: DynamicFilter,
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<H> DynamicFilter for And<(H,)>where
H: DynamicFilter,
impl<H> DynamicFilter for And<(H,)>where
H: DynamicFilter,
Source§fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
fn matches_archetype<Fet>(&mut self, fetch: &Fet) -> FilterResultwhere
Fet: Fetch,
Calculates the filter’s result for the given archetype data.
Source§impl<A, B, C, D, E, F, G, H> GroupMatcher for And<(A, B, C, D, E, F, G, H)>where
A: GroupMatcher,
B: GroupMatcher,
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
impl<A, B, C, D, E, F, G, H> GroupMatcher for And<(A, B, C, D, E, F, G, H)>where
A: GroupMatcher,
B: GroupMatcher,
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
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<B, C, D, E, F, G, H> GroupMatcher for And<(B, C, D, E, F, G, H)>where
B: GroupMatcher,
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
impl<B, C, D, E, F, G, H> GroupMatcher for And<(B, C, D, E, F, G, H)>where
B: GroupMatcher,
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
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<C, D, E, F, G, H> GroupMatcher for And<(C, D, E, F, G, H)>where
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
impl<C, D, E, F, G, H> GroupMatcher for And<(C, D, E, F, G, H)>where
C: GroupMatcher,
D: GroupMatcher,
E: GroupMatcher,
F: GroupMatcher,
G: GroupMatcher,
H: GroupMatcher,
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<D, E, F, G, H> GroupMatcher for And<(D, E, F, G, H)>
impl<D, E, F, G, H> GroupMatcher for And<(D, E, F, G, H)>
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<E, F, G, H> GroupMatcher for And<(E, F, G, H)>
impl<E, F, G, H> GroupMatcher for And<(E, F, G, H)>
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<F, G, H> GroupMatcher for And<(F, G, H)>
impl<F, G, H> GroupMatcher for And<(F, G, H)>
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<G, H> GroupMatcher for And<(G, H)>where
G: GroupMatcher,
H: GroupMatcher,
impl<G, H> GroupMatcher for And<(G, H)>where
G: GroupMatcher,
H: GroupMatcher,
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<H> GroupMatcher for And<(H,)>where
H: GroupMatcher,
impl<H> GroupMatcher for And<(H,)>where
H: GroupMatcher,
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<A, B, C, D, E, F, G, H> LayoutFilter for And<(A, B, C, D, E, F, G, H)>where
A: LayoutFilter,
B: LayoutFilter,
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
impl<A, B, C, D, E, F, G, H> LayoutFilter for And<(A, B, C, D, E, F, G, H)>where
A: LayoutFilter,
B: LayoutFilter,
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<B, C, D, E, F, G, H> LayoutFilter for And<(B, C, D, E, F, G, H)>where
B: LayoutFilter,
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
impl<B, C, D, E, F, G, H> LayoutFilter for And<(B, C, D, E, F, G, H)>where
B: LayoutFilter,
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<C, D, E, F, G, H> LayoutFilter for And<(C, D, E, F, G, H)>where
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
impl<C, D, E, F, G, H> LayoutFilter for And<(C, D, E, F, G, H)>where
C: LayoutFilter,
D: LayoutFilter,
E: LayoutFilter,
F: LayoutFilter,
G: LayoutFilter,
H: LayoutFilter,
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<D, E, F, G, H> LayoutFilter for And<(D, E, F, G, H)>
impl<D, E, F, G, H> LayoutFilter for And<(D, E, F, G, H)>
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<E, F, G, H> LayoutFilter for And<(E, F, G, H)>
impl<E, F, G, H> LayoutFilter for And<(E, F, G, H)>
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<F, G, H> LayoutFilter for And<(F, G, H)>
impl<F, G, H> LayoutFilter for And<(F, G, H)>
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<G, H> LayoutFilter for And<(G, H)>where
G: LayoutFilter,
H: LayoutFilter,
impl<G, H> LayoutFilter for And<(G, H)>where
G: LayoutFilter,
H: LayoutFilter,
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<H> LayoutFilter for And<(H,)>where
H: LayoutFilter,
impl<H> LayoutFilter for And<(H,)>where
H: LayoutFilter,
Source§fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
fn matches_layout(&self, components: &[ComponentTypeId]) -> FilterResult
Calculates the filter’s result for the given entity layout.
Source§impl<A, B, C, D, E, F, G, H> Not for And<(A, B, C, D, E, F, G, H)>
impl<A, B, C, D, E, F, G, H> Not for And<(A, B, C, D, E, F, G, H)>
Source§impl<B, C, D, E, F, G, H> Not for And<(B, C, D, E, F, G, H)>
impl<B, C, D, E, F, G, H> Not for And<(B, C, D, E, F, G, H)>
Source§impl<C, D, E, F, G, H> Not for And<(C, D, E, F, G, H)>
impl<C, D, E, F, G, H> Not for And<(C, D, E, F, G, H)>
Source§impl<D, E, F, G, H> Not for And<(D, E, F, G, H)>
impl<D, E, F, G, H> Not for And<(D, E, F, G, H)>
Source§impl<E, F, G, H> Not for And<(E, F, G, H)>
impl<E, F, G, H> Not for And<(E, F, G, H)>
Auto Trait Implementations§
impl<T> Freeze for And<T>where
T: Freeze,
impl<T> RefUnwindSafe for And<T>where
T: RefUnwindSafe,
impl<T> Send for And<T>where
T: Send,
impl<T> Sync for And<T>where
T: Sync,
impl<T> Unpin for And<T>where
T: Unpin,
impl<T> UnwindSafe for And<T>where
T: 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
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