pub struct GroupWrapper(pub u32);
Expand description
wrapper around rapier groups to prevent libraries that use this from needing to import the entirety of rapier.
Tuple Fields§
§0: u32
Implementations§
Source§impl GroupWrapper
impl GroupWrapper
Sourcepub const GROUP_1: GroupWrapper
pub const GROUP_1: GroupWrapper
The group n°1.
Sourcepub const GROUP_2: GroupWrapper
pub const GROUP_2: GroupWrapper
The group n°2.
Sourcepub const GROUP_3: GroupWrapper
pub const GROUP_3: GroupWrapper
The group n°3.
Sourcepub const GROUP_4: GroupWrapper
pub const GROUP_4: GroupWrapper
The group n°4.
Sourcepub const GROUP_5: GroupWrapper
pub const GROUP_5: GroupWrapper
The group n°5.
Sourcepub const GROUP_6: GroupWrapper
pub const GROUP_6: GroupWrapper
The group n°6.
Sourcepub const GROUP_7: GroupWrapper
pub const GROUP_7: GroupWrapper
The group n°7.
Sourcepub const GROUP_8: GroupWrapper
pub const GROUP_8: GroupWrapper
The group n°8.
Sourcepub const GROUP_9: GroupWrapper
pub const GROUP_9: GroupWrapper
The group n°9.
Sourcepub const GROUP_10: GroupWrapper
pub const GROUP_10: GroupWrapper
The group n°10.
Sourcepub const GROUP_11: GroupWrapper
pub const GROUP_11: GroupWrapper
The group n°11.
Sourcepub const GROUP_12: GroupWrapper
pub const GROUP_12: GroupWrapper
The group n°12.
Sourcepub const GROUP_13: GroupWrapper
pub const GROUP_13: GroupWrapper
The group n°13.
Sourcepub const GROUP_14: GroupWrapper
pub const GROUP_14: GroupWrapper
The group n°14.
Sourcepub const GROUP_15: GroupWrapper
pub const GROUP_15: GroupWrapper
The group n°15.
Sourcepub const GROUP_16: GroupWrapper
pub const GROUP_16: GroupWrapper
The group n°16.
Sourcepub const GROUP_17: GroupWrapper
pub const GROUP_17: GroupWrapper
The group n°17.
Sourcepub const GROUP_18: GroupWrapper
pub const GROUP_18: GroupWrapper
The group n°18.
Sourcepub const GROUP_19: GroupWrapper
pub const GROUP_19: GroupWrapper
The group n°19.
Sourcepub const GROUP_20: GroupWrapper
pub const GROUP_20: GroupWrapper
The group n°20.
Sourcepub const GROUP_21: GroupWrapper
pub const GROUP_21: GroupWrapper
The group n°21.
Sourcepub const GROUP_22: GroupWrapper
pub const GROUP_22: GroupWrapper
The group n°22.
Sourcepub const GROUP_23: GroupWrapper
pub const GROUP_23: GroupWrapper
The group n°23.
Sourcepub const GROUP_24: GroupWrapper
pub const GROUP_24: GroupWrapper
The group n°24.
Sourcepub const GROUP_25: GroupWrapper
pub const GROUP_25: GroupWrapper
The group n°25.
Sourcepub const GROUP_26: GroupWrapper
pub const GROUP_26: GroupWrapper
The group n°26.
Sourcepub const GROUP_27: GroupWrapper
pub const GROUP_27: GroupWrapper
The group n°27.
Sourcepub const GROUP_28: GroupWrapper
pub const GROUP_28: GroupWrapper
The group n°28.
Sourcepub const GROUP_29: GroupWrapper
pub const GROUP_29: GroupWrapper
The group n°29.
Sourcepub const GROUP_30: GroupWrapper
pub const GROUP_30: GroupWrapper
The group n°30.
Sourcepub const GROUP_31: GroupWrapper
pub const GROUP_31: GroupWrapper
The group n°31.
Sourcepub const GROUP_32: GroupWrapper
pub const GROUP_32: GroupWrapper
The group n°32.
Sourcepub const ALL: GroupWrapper
pub const ALL: GroupWrapper
All of the groups.
Sourcepub const NONE: GroupWrapper
pub const NONE: GroupWrapper
None of the groups.
Source§impl GroupWrapper
impl GroupWrapper
Sourcepub const fn empty() -> GroupWrapper
pub const fn empty() -> GroupWrapper
Get a flags value with all bits unset.
Sourcepub const fn all() -> GroupWrapper
pub const fn all() -> GroupWrapper
Get a flags value with all known bits set.
Sourcepub const fn bits(&self) -> u32
pub const fn bits(&self) -> u32
Get the underlying bits value.
The returned value is exactly the bits set in this flags value.
Sourcepub const fn from_bits(bits: u32) -> Option<GroupWrapper>
pub const fn from_bits(bits: u32) -> Option<GroupWrapper>
Convert from a bits value.
This method will return None
if any unknown bits are set.
Sourcepub const fn from_bits_truncate(bits: u32) -> GroupWrapper
pub const fn from_bits_truncate(bits: u32) -> GroupWrapper
Convert from a bits value, unsetting any unknown bits.
Sourcepub const fn from_bits_retain(bits: u32) -> GroupWrapper
pub const fn from_bits_retain(bits: u32) -> GroupWrapper
Convert from a bits value exactly.
Sourcepub fn from_name(name: &str) -> Option<GroupWrapper>
pub fn from_name(name: &str) -> Option<GroupWrapper>
Get a flags value with the bits of a flag with the given name set.
This method will return None
if name
is empty or doesn’t
correspond to any named flag.
Sourcepub const fn intersects(&self, other: GroupWrapper) -> bool
pub const fn intersects(&self, other: GroupWrapper) -> bool
Whether any set bits in a source flags value are also set in a target flags value.
Sourcepub const fn contains(&self, other: GroupWrapper) -> bool
pub const fn contains(&self, other: GroupWrapper) -> bool
Whether all set bits in a source flags value are also set in a target flags value.
Sourcepub fn insert(&mut self, other: GroupWrapper)
pub fn insert(&mut self, other: GroupWrapper)
The bitwise or (|
) of the bits in two flags values.
Sourcepub fn remove(&mut self, other: GroupWrapper)
pub fn remove(&mut self, other: GroupWrapper)
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
remove
won’t truncate other
, but the !
operator will.
Sourcepub fn toggle(&mut self, other: GroupWrapper)
pub fn toggle(&mut self, other: GroupWrapper)
The bitwise exclusive-or (^
) of the bits in two flags values.
Sourcepub fn set(&mut self, other: GroupWrapper, value: bool)
pub fn set(&mut self, other: GroupWrapper, value: bool)
Call insert
when value
is true
or remove
when value
is false
.
Sourcepub const fn intersection(self, other: GroupWrapper) -> GroupWrapper
pub const fn intersection(self, other: GroupWrapper) -> GroupWrapper
The bitwise and (&
) of the bits in two flags values.
Sourcepub const fn union(self, other: GroupWrapper) -> GroupWrapper
pub const fn union(self, other: GroupWrapper) -> GroupWrapper
The bitwise or (|
) of the bits in two flags values.
Sourcepub const fn difference(self, other: GroupWrapper) -> GroupWrapper
pub const fn difference(self, other: GroupWrapper) -> GroupWrapper
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
Sourcepub const fn symmetric_difference(self, other: GroupWrapper) -> GroupWrapper
pub const fn symmetric_difference(self, other: GroupWrapper) -> GroupWrapper
The bitwise exclusive-or (^
) of the bits in two flags values.
Sourcepub const fn complement(self) -> GroupWrapper
pub const fn complement(self) -> GroupWrapper
The bitwise negation (!
) of the bits in a flags value, truncating the result.
Source§impl GroupWrapper
impl GroupWrapper
Sourcepub const fn iter(&self) -> Iter<GroupWrapper>
pub const fn iter(&self) -> Iter<GroupWrapper>
Yield a set of contained flags values.
Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.
Sourcepub const fn iter_names(&self) -> IterNames<GroupWrapper>
pub const fn iter_names(&self) -> IterNames<GroupWrapper>
Yield a set of contained named flags values.
This method is like iter
, except only yields bits in contained named flags.
Any unknown bits, or bits not corresponding to a contained flag will not be yielded.
Trait Implementations§
Source§impl Binary for GroupWrapper
impl Binary for GroupWrapper
Source§impl BitAnd for GroupWrapper
impl BitAnd for GroupWrapper
Source§fn bitand(self, other: GroupWrapper) -> GroupWrapper
fn bitand(self, other: GroupWrapper) -> GroupWrapper
The bitwise and (&
) of the bits in two flags values.
Source§type Output = GroupWrapper
type Output = GroupWrapper
&
operator.Source§impl BitAndAssign for GroupWrapper
impl BitAndAssign for GroupWrapper
Source§fn bitand_assign(&mut self, other: GroupWrapper)
fn bitand_assign(&mut self, other: GroupWrapper)
The bitwise and (&
) of the bits in two flags values.
Source§impl BitOr for GroupWrapper
impl BitOr for GroupWrapper
Source§fn bitor(self, other: GroupWrapper) -> GroupWrapper
fn bitor(self, other: GroupWrapper) -> GroupWrapper
The bitwise or (|
) of the bits in two flags values.
Source§type Output = GroupWrapper
type Output = GroupWrapper
|
operator.Source§impl BitOrAssign for GroupWrapper
impl BitOrAssign for GroupWrapper
Source§fn bitor_assign(&mut self, other: GroupWrapper)
fn bitor_assign(&mut self, other: GroupWrapper)
The bitwise or (|
) of the bits in two flags values.
Source§impl BitXor for GroupWrapper
impl BitXor for GroupWrapper
Source§fn bitxor(self, other: GroupWrapper) -> GroupWrapper
fn bitxor(self, other: GroupWrapper) -> GroupWrapper
The bitwise exclusive-or (^
) of the bits in two flags values.
Source§type Output = GroupWrapper
type Output = GroupWrapper
^
operator.Source§impl BitXorAssign for GroupWrapper
impl BitXorAssign for GroupWrapper
Source§fn bitxor_assign(&mut self, other: GroupWrapper)
fn bitxor_assign(&mut self, other: GroupWrapper)
The bitwise exclusive-or (^
) of the bits in two flags values.
Source§impl Clone for GroupWrapper
impl Clone for GroupWrapper
Source§fn clone(&self) -> GroupWrapper
fn clone(&self) -> GroupWrapper
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GroupWrapper
impl Default for GroupWrapper
Source§fn default() -> GroupWrapper
fn default() -> GroupWrapper
Source§impl Extend<GroupWrapper> for GroupWrapper
impl Extend<GroupWrapper> for GroupWrapper
Source§fn extend<T>(&mut self, iterator: T)where
T: IntoIterator<Item = GroupWrapper>,
fn extend<T>(&mut self, iterator: T)where
T: IntoIterator<Item = GroupWrapper>,
The bitwise or (|
) of the bits in each flags value.
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl Flags for GroupWrapper
impl Flags for GroupWrapper
Source§const FLAGS: &'static [Flag<GroupWrapper>]
const FLAGS: &'static [Flag<GroupWrapper>]
Source§fn from_bits_retain(bits: u32) -> GroupWrapper
fn from_bits_retain(bits: u32) -> GroupWrapper
Source§fn contains_unknown_bits(&self) -> bool
fn contains_unknown_bits(&self) -> bool
true
if any unknown bits are set.Source§fn from_bits_truncate(bits: Self::Bits) -> Self
fn from_bits_truncate(bits: Self::Bits) -> Self
Source§fn from_name(name: &str) -> Option<Self>
fn from_name(name: &str) -> Option<Self>
Source§fn iter_names(&self) -> IterNames<Self>
fn iter_names(&self) -> IterNames<Self>
Source§fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
Source§fn contains(&self, other: Self) -> boolwhere
Self: Sized,
fn contains(&self, other: Self) -> boolwhere
Self: Sized,
Source§fn insert(&mut self, other: Self)where
Self: Sized,
fn insert(&mut self, other: Self)where
Self: Sized,
|
) of the bits in two flags values.Source§fn remove(&mut self, other: Self)where
Self: Sized,
fn remove(&mut self, other: Self)where
Self: Sized,
&!
). Read moreSource§fn toggle(&mut self, other: Self)where
Self: Sized,
fn toggle(&mut self, other: Self)where
Self: Sized,
^
) of the bits in two flags values.Source§fn intersection(self, other: Self) -> Self
fn intersection(self, other: Self) -> Self
&
) of the bits in two flags values.Source§fn difference(self, other: Self) -> Self
fn difference(self, other: Self) -> Self
&!
). Read moreSource§fn symmetric_difference(self, other: Self) -> Self
fn symmetric_difference(self, other: Self) -> Self
^
) of the bits in two flags values.Source§fn complement(self) -> Self
fn complement(self) -> Self
!
) of the bits in a flags value, truncating the result.Source§impl From<Group> for GroupWrapper
impl From<Group> for GroupWrapper
Source§fn from(value: Group) -> GroupWrapper
fn from(value: Group) -> GroupWrapper
Source§impl FromIterator<GroupWrapper> for GroupWrapper
impl FromIterator<GroupWrapper> for GroupWrapper
Source§fn from_iter<T>(iterator: T) -> GroupWrapperwhere
T: IntoIterator<Item = GroupWrapper>,
fn from_iter<T>(iterator: T) -> GroupWrapperwhere
T: IntoIterator<Item = GroupWrapper>,
The bitwise or (|
) of the bits in each flags value.
Source§impl FromReflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl FromReflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§fn from_reflect(
reflect: &(dyn PartialReflect + 'static),
) -> Option<GroupWrapper>
fn from_reflect( reflect: &(dyn PartialReflect + 'static), ) -> Option<GroupWrapper>
Self
from a reflected value.Source§fn take_from_reflect(
reflect: Box<dyn PartialReflect>,
) -> Result<Self, Box<dyn PartialReflect>>
fn take_from_reflect( reflect: Box<dyn PartialReflect>, ) -> Result<Self, Box<dyn PartialReflect>>
Self
using,
constructing the value using from_reflect
if that fails. Read moreSource§impl GetTypeRegistration for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl GetTypeRegistration for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§fn get_type_registration() -> TypeRegistration
fn get_type_registration() -> TypeRegistration
TypeRegistration
for this type.Source§fn register_type_dependencies(registry: &mut TypeRegistry)
fn register_type_dependencies(registry: &mut TypeRegistry)
Source§impl IntoIterator for GroupWrapper
impl IntoIterator for GroupWrapper
Source§type Item = GroupWrapper
type Item = GroupWrapper
Source§type IntoIter = Iter<GroupWrapper>
type IntoIter = Iter<GroupWrapper>
Source§fn into_iter(self) -> <GroupWrapper as IntoIterator>::IntoIter
fn into_iter(self) -> <GroupWrapper as IntoIterator>::IntoIter
Source§impl LowerHex for GroupWrapper
impl LowerHex for GroupWrapper
Source§impl Not for GroupWrapper
impl Not for GroupWrapper
Source§fn not(self) -> GroupWrapper
fn not(self) -> GroupWrapper
The bitwise negation (!
) of the bits in a flags value, truncating the result.
Source§type Output = GroupWrapper
type Output = GroupWrapper
!
operator.Source§impl Octal for GroupWrapper
impl Octal for GroupWrapper
Source§impl PartialEq for GroupWrapper
impl PartialEq for GroupWrapper
Source§impl PartialReflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl PartialReflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
fn get_represented_type_info(&self) -> Option<&'static TypeInfo>
Source§fn clone_value(&self) -> Box<dyn PartialReflect>
fn clone_value(&self) -> Box<dyn PartialReflect>
Reflect
trait object. Read moreSource§fn try_apply(
&mut self,
value: &(dyn PartialReflect + 'static),
) -> Result<(), ApplyError>
fn try_apply( &mut self, value: &(dyn PartialReflect + 'static), ) -> Result<(), ApplyError>
Source§fn reflect_kind(&self) -> ReflectKind
fn reflect_kind(&self) -> ReflectKind
Source§fn reflect_ref(&self) -> ReflectRef<'_>
fn reflect_ref(&self) -> ReflectRef<'_>
Source§fn reflect_mut(&mut self) -> ReflectMut<'_>
fn reflect_mut(&mut self) -> ReflectMut<'_>
Source§fn reflect_owned(self: Box<GroupWrapper>) -> ReflectOwned
fn reflect_owned(self: Box<GroupWrapper>) -> ReflectOwned
Source§fn try_into_reflect(
self: Box<GroupWrapper>,
) -> Result<Box<dyn Reflect>, Box<dyn PartialReflect>>
fn try_into_reflect( self: Box<GroupWrapper>, ) -> Result<Box<dyn Reflect>, Box<dyn PartialReflect>>
Source§fn try_as_reflect(&self) -> Option<&(dyn Reflect + 'static)>
fn try_as_reflect(&self) -> Option<&(dyn Reflect + 'static)>
Source§fn try_as_reflect_mut(&mut self) -> Option<&mut (dyn Reflect + 'static)>
fn try_as_reflect_mut(&mut self) -> Option<&mut (dyn Reflect + 'static)>
Source§fn into_partial_reflect(self: Box<GroupWrapper>) -> Box<dyn PartialReflect>
fn into_partial_reflect(self: Box<GroupWrapper>) -> Box<dyn PartialReflect>
Source§fn as_partial_reflect(&self) -> &(dyn PartialReflect + 'static)
fn as_partial_reflect(&self) -> &(dyn PartialReflect + 'static)
Source§fn as_partial_reflect_mut(&mut self) -> &mut (dyn PartialReflect + 'static)
fn as_partial_reflect_mut(&mut self) -> &mut (dyn PartialReflect + 'static)
Source§fn reflect_partial_eq(
&self,
value: &(dyn PartialReflect + 'static),
) -> Option<bool>
fn reflect_partial_eq( &self, value: &(dyn PartialReflect + 'static), ) -> Option<bool>
Source§fn apply(&mut self, value: &(dyn PartialReflect + 'static))
fn apply(&mut self, value: &(dyn PartialReflect + 'static))
Source§fn reflect_hash(&self) -> Option<u64>
fn reflect_hash(&self) -> Option<u64>
Source§fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
fn debug(&self, f: &mut Formatter<'_>) -> Result<(), Error>
Source§fn serializable(&self) -> Option<Serializable<'_>>
fn serializable(&self) -> Option<Serializable<'_>>
Source§fn is_dynamic(&self) -> bool
fn is_dynamic(&self) -> bool
Source§impl Reflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl Reflect for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§fn into_any(self: Box<GroupWrapper>) -> Box<dyn Any>
fn into_any(self: Box<GroupWrapper>) -> Box<dyn Any>
Box<dyn Any>
. Read moreSource§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut dyn Any
. Read moreSource§fn into_reflect(self: Box<GroupWrapper>) -> Box<dyn Reflect>
fn into_reflect(self: Box<GroupWrapper>) -> Box<dyn Reflect>
Source§fn as_reflect(&self) -> &(dyn Reflect + 'static)
fn as_reflect(&self) -> &(dyn Reflect + 'static)
Source§fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
fn as_reflect_mut(&mut self) -> &mut (dyn Reflect + 'static)
Source§impl Sub for GroupWrapper
impl Sub for GroupWrapper
Source§fn sub(self, other: GroupWrapper) -> GroupWrapper
fn sub(self, other: GroupWrapper) -> GroupWrapper
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
Source§type Output = GroupWrapper
type Output = GroupWrapper
-
operator.Source§impl SubAssign for GroupWrapper
impl SubAssign for GroupWrapper
Source§fn sub_assign(&mut self, other: GroupWrapper)
fn sub_assign(&mut self, other: GroupWrapper)
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
Source§impl TupleStruct for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl TupleStruct for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§fn field(&self, index: usize) -> Option<&(dyn PartialReflect + 'static)>
fn field(&self, index: usize) -> Option<&(dyn PartialReflect + 'static)>
index
as a
&dyn Reflect
.Source§fn field_mut(
&mut self,
index: usize,
) -> Option<&mut (dyn PartialReflect + 'static)>
fn field_mut( &mut self, index: usize, ) -> Option<&mut (dyn PartialReflect + 'static)>
index
as a &mut dyn Reflect
.Source§fn iter_fields(&self) -> TupleStructFieldIter<'_>
fn iter_fields(&self) -> TupleStructFieldIter<'_>
Source§fn clone_dynamic(&self) -> DynamicTupleStruct
fn clone_dynamic(&self) -> DynamicTupleStruct
DynamicTupleStruct
.Source§fn get_represented_tuple_struct_info(&self) -> Option<&'static TupleStructInfo>
fn get_represented_tuple_struct_info(&self) -> Option<&'static TupleStructInfo>
None
if TypeInfo
is not available.Source§impl TypePath for GroupWrapper
impl TypePath for GroupWrapper
Source§fn type_path() -> &'static str
fn type_path() -> &'static str
Source§fn short_type_path() -> &'static str
fn short_type_path() -> &'static str
Source§fn type_ident() -> Option<&'static str>
fn type_ident() -> Option<&'static str>
Source§fn crate_name() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
Source§impl Typed for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
impl Typed for GroupWrapperwhere
GroupWrapper: Any + Send + Sync,
u32: FromReflect + TypePath + MaybeTyped + RegisterForReflection,
Source§impl UpperHex for GroupWrapper
impl UpperHex for GroupWrapper
impl Copy for GroupWrapper
impl StructuralPartialEq for GroupWrapper
Auto Trait Implementations§
impl Freeze for GroupWrapper
impl RefUnwindSafe for GroupWrapper
impl Send for GroupWrapper
impl Sync for GroupWrapper
impl Unpin for GroupWrapper
impl UnwindSafe for GroupWrapper
Blanket Implementations§
Source§impl<T, U> AsBindGroupShaderType<U> for T
impl<T, U> AsBindGroupShaderType<U> for T
Source§fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
fn as_bind_group_shader_type(&self, _images: &RenderAssets<GpuImage>) -> U
T
ShaderType
for self
. When used in AsBindGroup
derives, it is safe to assume that all images in self
exist.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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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)
&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)
&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> DynamicTypePath for Twhere
T: TypePath,
impl<T> DynamicTypePath for Twhere
T: TypePath,
Source§fn reflect_type_path(&self) -> &str
fn reflect_type_path(&self) -> &str
TypePath::type_path
.Source§fn reflect_short_type_path(&self) -> &str
fn reflect_short_type_path(&self) -> &str
Source§fn reflect_type_ident(&self) -> Option<&str>
fn reflect_type_ident(&self) -> Option<&str>
TypePath::type_ident
.Source§fn reflect_crate_name(&self) -> Option<&str>
fn reflect_crate_name(&self) -> Option<&str>
TypePath::crate_name
.Source§fn reflect_module_path(&self) -> Option<&str>
fn reflect_module_path(&self) -> Option<&str>
Source§impl<T> DynamicTyped for Twhere
T: Typed,
impl<T> DynamicTyped for Twhere
T: Typed,
Source§fn reflect_type_info(&self) -> &'static TypeInfo
fn reflect_type_info(&self) -> &'static TypeInfo
Typed::type_info
.Source§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
Source§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self
using default()
.
Source§impl<T> GetPath for T
impl<T> GetPath for T
Source§fn reflect_path<'p>(
&self,
path: impl ReflectPath<'p>,
) -> Result<&(dyn PartialReflect + 'static), ReflectPathError<'p>>
fn reflect_path<'p>( &self, path: impl ReflectPath<'p>, ) -> Result<&(dyn PartialReflect + 'static), ReflectPathError<'p>>
path
. Read moreSource§fn reflect_path_mut<'p>(
&mut self,
path: impl ReflectPath<'p>,
) -> Result<&mut (dyn PartialReflect + 'static), ReflectPathError<'p>>
fn reflect_path_mut<'p>( &mut self, path: impl ReflectPath<'p>, ) -> Result<&mut (dyn PartialReflect + 'static), ReflectPathError<'p>>
path
. Read moreSource§fn path<'p, T>(
&self,
path: impl ReflectPath<'p>,
) -> Result<&T, ReflectPathError<'p>>where
T: Reflect,
fn path<'p, T>(
&self,
path: impl ReflectPath<'p>,
) -> Result<&T, ReflectPathError<'p>>where
T: Reflect,
path
. Read moreSource§fn path_mut<'p, T>(
&mut self,
path: impl ReflectPath<'p>,
) -> Result<&mut T, ReflectPathError<'p>>where
T: Reflect,
fn path_mut<'p, T>(
&mut self,
path: impl ReflectPath<'p>,
) -> Result<&mut T, ReflectPathError<'p>>where
T: Reflect,
path
. Read moreSource§impl<S> GetTupleStructField for Swhere
S: TupleStruct,
impl<S> GetTupleStructField for Swhere
S: TupleStruct,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.