Struct bevy::prelude::UVec4 [−][src]
A 4-dimensional vector.
Implementations
impl UVec4
[src]
pub const ZERO: UVec4
[src]
All zeroes.
pub const ONE: UVec4
[src]
All ones.
pub const X: UVec4
[src]
[1, 0, 0, 0]
: a unit-length vector pointing along the positive X axis.
pub const Y: UVec4
[src]
[0, 1, 0, 0]
: a unit-length vector pointing along the positive Y axis.
pub const Z: UVec4
[src]
[0, 0, 1, 0]
: a unit-length vector pointing along the positive Z axis.
pub const W: UVec4
[src]
[0, 0, 0, 1]
: a unit-length vector pointing along the positive W axis.
pub fn new(x: u32, y: u32, z: u32, w: u32) -> UVec4
[src]
Creates a new 4D vector.
pub const fn unit_x() -> UVec4
[src]
Use Vec4::X instead
Creates a 4D vector with values [x: 1.0, y: 0.0, z: 0.0, w: 0.0]
.
pub const fn unit_y() -> UVec4
[src]
Use Vec4::Y instead
Creates a 4D vector with values [x: 0.0, y: 1.0, z: 0.0, w: 0.0]
.
pub const fn unit_z() -> UVec4
[src]
Use Vec4::Z instead
Creates a 4D vector with values [x: 0.0, y: 0.0, z: 1.0, w: 0.0]
.
pub const fn unit_w() -> UVec4
[src]
Use Vec4::W instead
Creates a 4D vector with values [x: 0.0, y: 0.0, z: 0.0, w: 1.0]
.
pub fn truncate(self) -> UVec3
[src]
Creates a Vec3
from the x
, y
and z
elements of self
, discarding w
.
Truncation to Vec3
may also be performed by using self.xyz()
or Vec3::from()
.
To truncate to Vec3A
use Vec3A::from()
.
pub const fn zero() -> UVec4
[src]
use ZERO constant instead
Creates a vector with all elements set to 0.0
.
pub const fn one() -> UVec4
[src]
use ONE constant instead
Creates a vector with all elements set to 1.0
.
pub fn splat(v: u32) -> UVec4
[src]
Creates a vector with all elements set to v
.
pub fn select(mask: BVec4, if_true: UVec4, if_false: UVec4) -> UVec4
[src]
Creates a vector from the elements in if_true
and if_false
, selecting which to use
for each element of self
.
A true element in the mask uses the corresponding element from if_true
, and false
uses the element from if_false
.
pub fn dot(self, other: UVec4) -> u32
[src]
Computes the dot product of self
and other
.
pub fn min(self, other: UVec4) -> UVec4
[src]
Returns a vector containing the mininum values for each element of self
and other
.
In other words this computes [self.x.max(other.x), self.y.max(other.y), ..]
.
pub fn max(self, other: UVec4) -> UVec4
[src]
Returns a vector containing the maximum values for each element of self
and other
.
In other words this computes [self.x.max(other.x), self.y.max(other.y), ..]
.
pub fn min_element(self) -> u32
[src]
Returns the horizontal minimum of self
.
In other words this computes min(x, y, ..)
.
pub fn max_element(self) -> u32
[src]
Returns the horizontal maximum of self
.
In other words this computes max(x, y, ..)
.
pub fn cmpeq(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a ==
comparison for each element of
self
and other
.
In other words, this computes [self.x == other.x, self.y == other.y, ..]
for all
elements.
pub fn cmpne(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a !=
comparison for each element of
self
and other
.
In other words this computes [self.x != other.x, self.y != other.y, ..]
for all
elements.
pub fn cmpge(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a >=
comparison for each element of
self
and other
.
In other words this computes [self.x >= other.x, self.y >= other.y, ..]
for all
elements.
pub fn cmpgt(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a >
comparison for each element of
self
and other
.
In other words this computes [self.x > other.x, self.y > other.y, ..]
for all
elements.
pub fn cmple(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a <=
comparison for each element of
self
and other
.
In other words this computes [self.x <= other.x, self.y <= other.y, ..]
for all
elements.
pub fn cmplt(self, other: UVec4) -> BVec4
[src]
Returns a vector mask containing the result of a <
comparison for each element of
self
and other
.
In other words this computes [self.x < other.x, self.y < other.y, ..]
for all
elements.
pub fn from_slice_unaligned(slice: &[u32]) -> UVec4
[src]
Creates a vector from the first N values in slice
.
Panics
Panics if slice
is less than N elements long.
pub fn write_to_slice_unaligned(self, slice: &mut [u32])
[src]
Writes the elements of self
to the first N elements in slice
.
Panics
Panics if slice
is less than N elements long.
pub fn as_f32(&self) -> Vec4
[src]
Casts all elements of self
to f32
.
pub fn as_f64(&self) -> DVec4
[src]
Casts all elements of self
to f64
.
pub fn as_i32(&self) -> IVec4
[src]
Casts all elements of self
to i32
.
Trait Implementations
impl Add<UVec4> for UVec4
[src]
type Output = UVec4
The resulting type after applying the +
operator.
pub fn add(self, other: UVec4) -> UVec4
[src]
impl AddAssign<UVec4> for UVec4
[src]
pub fn add_assign(&mut self, other: UVec4)
[src]
impl AsMut<[u32; 4]> for UVec4
[src]
impl AsRef<[u32; 4]> for UVec4
[src]
impl Clone for UVec4
[src]
impl Copy for UVec4
[src]
impl Debug for UVec4
[src]
impl Default for UVec4
[src]
impl Deref for UVec4
[src]
type Target = XYZW<u32>
The resulting type after dereferencing.
pub fn deref(&self) -> &<UVec4 as Deref>::Target
[src]
impl DerefMut for UVec4
[src]
impl<'de> Deserialize<'de> for UVec4
[src]
pub fn deserialize<D>(
deserializer: D
) -> Result<UVec4, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<UVec4, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl Display for UVec4
[src]
impl Div<UVec4> for UVec4
[src]
type Output = UVec4
The resulting type after applying the /
operator.
pub fn div(self, other: UVec4) -> UVec4
[src]
impl Div<u32> for UVec4
[src]
type Output = UVec4
The resulting type after applying the /
operator.
pub fn div(self, other: u32) -> UVec4
[src]
impl DivAssign<UVec4> for UVec4
[src]
pub fn div_assign(&mut self, other: UVec4)
[src]
impl DivAssign<u32> for UVec4
[src]
pub fn div_assign(&mut self, other: u32)
[src]
impl Eq for UVec4
[src]
impl From<[u32; 4]> for UVec4
[src]
impl From<(UVec3, u32)> for UVec4
[src]
impl From<(u32, u32, u32, u32)> for UVec4
[src]
impl From<UVec4> for UVec2
[src]
pub fn from(v: UVec4) -> UVec2
[src]
Creates a 2D vector from the x
and y
elements of self
, discarding z
and
w
.
impl From<UVec4> for (u32, u32, u32, u32)
[src]
impl From<UVec4> for XYZW<u32>
[src]
impl From<UVec4> for UVec3
[src]
pub fn from(v: UVec4) -> UVec3
[src]
Creates a 3D vector from the x
, y
and z
elements of self
, discarding w
.
impl From<UVec4> for [u32; 4]
[src]
impl From<XYZW<u32>> for UVec4
[src]
impl GetTypeRegistration for UVec4
pub fn get_type_registration() -> TypeRegistration
impl Hash for UVec4
[src]
pub fn hash<H>(&self, state: &mut H) where
H: Hasher,
[src]
H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Index<usize> for UVec4
[src]
type Output = u32
The returned type after indexing.
pub fn index(&self, index: usize) -> &<UVec4 as Index<usize>>::Output
[src]
impl IndexMut<usize> for UVec4
[src]
impl Mul<UVec4> for UVec4
[src]
type Output = UVec4
The resulting type after applying the *
operator.
pub fn mul(self, other: UVec4) -> UVec4
[src]
impl Mul<u32> for UVec4
[src]
type Output = UVec4
The resulting type after applying the *
operator.
pub fn mul(self, other: u32) -> UVec4
[src]
impl MulAssign<UVec4> for UVec4
[src]
pub fn mul_assign(&mut self, other: UVec4)
[src]
impl MulAssign<u32> for UVec4
[src]
pub fn mul_assign(&mut self, other: u32)
[src]
impl PartialEq<UVec4> for UVec4
[src]
pub fn eq(&self, other: &UVec4) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<UVec4> for UVec4
[src]
pub fn partial_cmp(&self, other: &UVec4) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> Product<&'a UVec4> for UVec4
[src]
impl Reflect for UVec4
pub fn type_name(&self) -> &str
pub fn any(&self) -> &(dyn Any + 'static)
pub fn any_mut(&mut self) -> &mut (dyn Any + 'static)
pub fn clone_value(&self) -> Box<dyn Reflect + 'static, Global>
pub fn apply(&mut self, value: &(dyn Reflect + 'static))
pub fn set(
&mut self,
value: Box<dyn Reflect + 'static, Global>
) -> Result<(), Box<dyn Reflect + 'static, Global>>
&mut self,
value: Box<dyn Reflect + 'static, Global>
) -> Result<(), Box<dyn Reflect + 'static, Global>>
pub fn reflect_ref(&self) -> ReflectRef<'_>
pub fn reflect_mut(&mut self) -> ReflectMut<'_>
pub fn reflect_hash(&self) -> Option<u64>
pub fn reflect_partial_eq(
&self,
value: &(dyn Reflect + 'static)
) -> Option<bool>
&self,
value: &(dyn Reflect + 'static)
) -> Option<bool>
pub fn serializable(&self) -> Option<Serializable<'_>>
impl Serialize for UVec4
[src]
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
impl Sub<UVec4> for UVec4
[src]
type Output = UVec4
The resulting type after applying the -
operator.
pub fn sub(self, other: UVec4) -> UVec4
[src]
impl SubAssign<UVec4> for UVec4
[src]
pub fn sub_assign(&mut self, other: UVec4)
[src]
impl<'a> Sum<&'a UVec4> for UVec4
[src]
impl Vec4Swizzles for UVec4
[src]
type Vec2 = UVec2
type Vec3 = UVec3
pub fn xxxx(self) -> UVec4
[src]
pub fn xxxy(self) -> UVec4
[src]
pub fn xxxz(self) -> UVec4
[src]
pub fn xxxw(self) -> UVec4
[src]
pub fn xxyx(self) -> UVec4
[src]
pub fn xxyy(self) -> UVec4
[src]
pub fn xxyz(self) -> UVec4
[src]
pub fn xxyw(self) -> UVec4
[src]
pub fn xxzx(self) -> UVec4
[src]
pub fn xxzy(self) -> UVec4
[src]
pub fn xxzz(self) -> UVec4
[src]
pub fn xxzw(self) -> UVec4
[src]
pub fn xxwx(self) -> UVec4
[src]
pub fn xxwy(self) -> UVec4
[src]
pub fn xxwz(self) -> UVec4
[src]
pub fn xxww(self) -> UVec4
[src]
pub fn xyxx(self) -> UVec4
[src]
pub fn xyxy(self) -> UVec4
[src]
pub fn xyxz(self) -> UVec4
[src]
pub fn xyxw(self) -> UVec4
[src]
pub fn xyyx(self) -> UVec4
[src]
pub fn xyyy(self) -> UVec4
[src]
pub fn xyyz(self) -> UVec4
[src]
pub fn xyyw(self) -> UVec4
[src]
pub fn xyzx(self) -> UVec4
[src]
pub fn xyzy(self) -> UVec4
[src]
pub fn xyzz(self) -> UVec4
[src]
pub fn xywx(self) -> UVec4
[src]
pub fn xywy(self) -> UVec4
[src]
pub fn xywz(self) -> UVec4
[src]
pub fn xyww(self) -> UVec4
[src]
pub fn xzxx(self) -> UVec4
[src]
pub fn xzxy(self) -> UVec4
[src]
pub fn xzxz(self) -> UVec4
[src]
pub fn xzxw(self) -> UVec4
[src]
pub fn xzyx(self) -> UVec4
[src]
pub fn xzyy(self) -> UVec4
[src]
pub fn xzyz(self) -> UVec4
[src]
pub fn xzyw(self) -> UVec4
[src]
pub fn xzzx(self) -> UVec4
[src]
pub fn xzzy(self) -> UVec4
[src]
pub fn xzzz(self) -> UVec4
[src]
pub fn xzzw(self) -> UVec4
[src]
pub fn xzwx(self) -> UVec4
[src]
pub fn xzwy(self) -> UVec4
[src]
pub fn xzwz(self) -> UVec4
[src]
pub fn xzww(self) -> UVec4
[src]
pub fn xwxx(self) -> UVec4
[src]
pub fn xwxy(self) -> UVec4
[src]
pub fn xwxz(self) -> UVec4
[src]
pub fn xwxw(self) -> UVec4
[src]
pub fn xwyx(self) -> UVec4
[src]
pub fn xwyy(self) -> UVec4
[src]
pub fn xwyz(self) -> UVec4
[src]
pub fn xwyw(self) -> UVec4
[src]
pub fn xwzx(self) -> UVec4
[src]
pub fn xwzy(self) -> UVec4
[src]
pub fn xwzz(self) -> UVec4
[src]
pub fn xwzw(self) -> UVec4
[src]
pub fn xwwx(self) -> UVec4
[src]
pub fn xwwy(self) -> UVec4
[src]
pub fn xwwz(self) -> UVec4
[src]
pub fn xwww(self) -> UVec4
[src]
pub fn yxxx(self) -> UVec4
[src]
pub fn yxxy(self) -> UVec4
[src]
pub fn yxxz(self) -> UVec4
[src]
pub fn yxxw(self) -> UVec4
[src]
pub fn yxyx(self) -> UVec4
[src]
pub fn yxyy(self) -> UVec4
[src]
pub fn yxyz(self) -> UVec4
[src]
pub fn yxyw(self) -> UVec4
[src]
pub fn yxzx(self) -> UVec4
[src]
pub fn yxzy(self) -> UVec4
[src]
pub fn yxzz(self) -> UVec4
[src]
pub fn yxzw(self) -> UVec4
[src]
pub fn yxwx(self) -> UVec4
[src]
pub fn yxwy(self) -> UVec4
[src]
pub fn yxwz(self) -> UVec4
[src]
pub fn yxww(self) -> UVec4
[src]
pub fn yyxx(self) -> UVec4
[src]
pub fn yyxy(self) -> UVec4
[src]
pub fn yyxz(self) -> UVec4
[src]
pub fn yyxw(self) -> UVec4
[src]
pub fn yyyx(self) -> UVec4
[src]
pub fn yyyy(self) -> UVec4
[src]
pub fn yyyz(self) -> UVec4
[src]
pub fn yyyw(self) -> UVec4
[src]
pub fn yyzx(self) -> UVec4
[src]
pub fn yyzy(self) -> UVec4
[src]
pub fn yyzz(self) -> UVec4
[src]
pub fn yyzw(self) -> UVec4
[src]
pub fn yywx(self) -> UVec4
[src]
pub fn yywy(self) -> UVec4
[src]
pub fn yywz(self) -> UVec4
[src]
pub fn yyww(self) -> UVec4
[src]
pub fn yzxx(self) -> UVec4
[src]
pub fn yzxy(self) -> UVec4
[src]
pub fn yzxz(self) -> UVec4
[src]
pub fn yzxw(self) -> UVec4
[src]
pub fn yzyx(self) -> UVec4
[src]
pub fn yzyy(self) -> UVec4
[src]
pub fn yzyz(self) -> UVec4
[src]
pub fn yzyw(self) -> UVec4
[src]
pub fn yzzx(self) -> UVec4
[src]
pub fn yzzy(self) -> UVec4
[src]
pub fn yzzz(self) -> UVec4
[src]
pub fn yzzw(self) -> UVec4
[src]
pub fn yzwx(self) -> UVec4
[src]
pub fn yzwy(self) -> UVec4
[src]
pub fn yzwz(self) -> UVec4
[src]
pub fn yzww(self) -> UVec4
[src]
pub fn ywxx(self) -> UVec4
[src]
pub fn ywxy(self) -> UVec4
[src]
pub fn ywxz(self) -> UVec4
[src]
pub fn ywxw(self) -> UVec4
[src]
pub fn ywyx(self) -> UVec4
[src]
pub fn ywyy(self) -> UVec4
[src]
pub fn ywyz(self) -> UVec4
[src]
pub fn ywyw(self) -> UVec4
[src]
pub fn ywzx(self) -> UVec4
[src]
pub fn ywzy(self) -> UVec4
[src]
pub fn ywzz(self) -> UVec4
[src]
pub fn ywzw(self) -> UVec4
[src]
pub fn ywwx(self) -> UVec4
[src]
pub fn ywwy(self) -> UVec4
[src]
pub fn ywwz(self) -> UVec4
[src]
pub fn ywww(self) -> UVec4
[src]
pub fn zxxx(self) -> UVec4
[src]
pub fn zxxy(self) -> UVec4
[src]
pub fn zxxz(self) -> UVec4
[src]
pub fn zxxw(self) -> UVec4
[src]
pub fn zxyx(self) -> UVec4
[src]
pub fn zxyy(self) -> UVec4
[src]
pub fn zxyz(self) -> UVec4
[src]
pub fn zxyw(self) -> UVec4
[src]
pub fn zxzx(self) -> UVec4
[src]
pub fn zxzy(self) -> UVec4
[src]
pub fn zxzz(self) -> UVec4
[src]
pub fn zxzw(self) -> UVec4
[src]
pub fn zxwx(self) -> UVec4
[src]
pub fn zxwy(self) -> UVec4
[src]
pub fn zxwz(self) -> UVec4
[src]
pub fn zxww(self) -> UVec4
[src]
pub fn zyxx(self) -> UVec4
[src]
pub fn zyxy(self) -> UVec4
[src]
pub fn zyxz(self) -> UVec4
[src]
pub fn zyxw(self) -> UVec4
[src]
pub fn zyyx(self) -> UVec4
[src]
pub fn zyyy(self) -> UVec4
[src]
pub fn zyyz(self) -> UVec4
[src]
pub fn zyyw(self) -> UVec4
[src]
pub fn zyzx(self) -> UVec4
[src]
pub fn zyzy(self) -> UVec4
[src]
pub fn zyzz(self) -> UVec4
[src]
pub fn zyzw(self) -> UVec4
[src]
pub fn zywx(self) -> UVec4
[src]
pub fn zywy(self) -> UVec4
[src]
pub fn zywz(self) -> UVec4
[src]
pub fn zyww(self) -> UVec4
[src]
pub fn zzxx(self) -> UVec4
[src]
pub fn zzxy(self) -> UVec4
[src]
pub fn zzxz(self) -> UVec4
[src]
pub fn zzxw(self) -> UVec4
[src]
pub fn zzyx(self) -> UVec4
[src]
pub fn zzyy(self) -> UVec4
[src]
pub fn zzyz(self) -> UVec4
[src]
pub fn zzyw(self) -> UVec4
[src]
pub fn zzzx(self) -> UVec4
[src]
pub fn zzzy(self) -> UVec4
[src]
pub fn zzzz(self) -> UVec4
[src]
pub fn zzzw(self) -> UVec4
[src]
pub fn zzwx(self) -> UVec4
[src]
pub fn zzwy(self) -> UVec4
[src]
pub fn zzwz(self) -> UVec4
[src]
pub fn zzww(self) -> UVec4
[src]
pub fn zwxx(self) -> UVec4
[src]
pub fn zwxy(self) -> UVec4
[src]
pub fn zwxz(self) -> UVec4
[src]
pub fn zwxw(self) -> UVec4
[src]
pub fn zwyx(self) -> UVec4
[src]
pub fn zwyy(self) -> UVec4
[src]
pub fn zwyz(self) -> UVec4
[src]
pub fn zwyw(self) -> UVec4
[src]
pub fn zwzx(self) -> UVec4
[src]
pub fn zwzy(self) -> UVec4
[src]
pub fn zwzz(self) -> UVec4
[src]
pub fn zwzw(self) -> UVec4
[src]
pub fn zwwx(self) -> UVec4
[src]
pub fn zwwy(self) -> UVec4
[src]
pub fn zwwz(self) -> UVec4
[src]
pub fn zwww(self) -> UVec4
[src]
pub fn wxxx(self) -> UVec4
[src]
pub fn wxxy(self) -> UVec4
[src]
pub fn wxxz(self) -> UVec4
[src]
pub fn wxxw(self) -> UVec4
[src]
pub fn wxyx(self) -> UVec4
[src]
pub fn wxyy(self) -> UVec4
[src]
pub fn wxyz(self) -> UVec4
[src]
pub fn wxyw(self) -> UVec4
[src]
pub fn wxzx(self) -> UVec4
[src]
pub fn wxzy(self) -> UVec4
[src]
pub fn wxzz(self) -> UVec4
[src]
pub fn wxzw(self) -> UVec4
[src]
pub fn wxwx(self) -> UVec4
[src]
pub fn wxwy(self) -> UVec4
[src]
pub fn wxwz(self) -> UVec4
[src]
pub fn wxww(self) -> UVec4
[src]
pub fn wyxx(self) -> UVec4
[src]
pub fn wyxy(self) -> UVec4
[src]
pub fn wyxz(self) -> UVec4
[src]
pub fn wyxw(self) -> UVec4
[src]
pub fn wyyx(self) -> UVec4
[src]
pub fn wyyy(self) -> UVec4
[src]
pub fn wyyz(self) -> UVec4
[src]
pub fn wyyw(self) -> UVec4
[src]
pub fn wyzx(self) -> UVec4
[src]
pub fn wyzy(self) -> UVec4
[src]
pub fn wyzz(self) -> UVec4
[src]
pub fn wyzw(self) -> UVec4
[src]
pub fn wywx(self) -> UVec4
[src]
pub fn wywy(self) -> UVec4
[src]
pub fn wywz(self) -> UVec4
[src]
pub fn wyww(self) -> UVec4
[src]
pub fn wzxx(self) -> UVec4
[src]
pub fn wzxy(self) -> UVec4
[src]
pub fn wzxz(self) -> UVec4
[src]
pub fn wzxw(self) -> UVec4
[src]
pub fn wzyx(self) -> UVec4
[src]
pub fn wzyy(self) -> UVec4
[src]
pub fn wzyz(self) -> UVec4
[src]
pub fn wzyw(self) -> UVec4
[src]
pub fn wzzx(self) -> UVec4
[src]
pub fn wzzy(self) -> UVec4
[src]
pub fn wzzz(self) -> UVec4
[src]
pub fn wzzw(self) -> UVec4
[src]
pub fn wzwx(self) -> UVec4
[src]
pub fn wzwy(self) -> UVec4
[src]
pub fn wzwz(self) -> UVec4
[src]
pub fn wzww(self) -> UVec4
[src]
pub fn wwxx(self) -> UVec4
[src]
pub fn wwxy(self) -> UVec4
[src]
pub fn wwxz(self) -> UVec4
[src]
pub fn wwxw(self) -> UVec4
[src]
pub fn wwyx(self) -> UVec4
[src]
pub fn wwyy(self) -> UVec4
[src]
pub fn wwyz(self) -> UVec4
[src]
pub fn wwyw(self) -> UVec4
[src]
pub fn wwzx(self) -> UVec4
[src]
pub fn wwzy(self) -> UVec4
[src]
pub fn wwzz(self) -> UVec4
[src]
pub fn wwzw(self) -> UVec4
[src]
pub fn wwwx(self) -> UVec4
[src]
pub fn wwwy(self) -> UVec4
[src]
pub fn wwwz(self) -> UVec4
[src]
pub fn wwww(self) -> UVec4
[src]
pub fn xxx(self) -> UVec3
[src]
pub fn xxy(self) -> UVec3
[src]
pub fn xxz(self) -> UVec3
[src]
pub fn xxw(self) -> UVec3
[src]
pub fn xyx(self) -> UVec3
[src]
pub fn xyy(self) -> UVec3
[src]
pub fn xyz(self) -> UVec3
[src]
pub fn xyw(self) -> UVec3
[src]
pub fn xzx(self) -> UVec3
[src]
pub fn xzy(self) -> UVec3
[src]
pub fn xzz(self) -> UVec3
[src]
pub fn xzw(self) -> UVec3
[src]
pub fn xwx(self) -> UVec3
[src]
pub fn xwy(self) -> UVec3
[src]
pub fn xwz(self) -> UVec3
[src]
pub fn xww(self) -> UVec3
[src]
pub fn yxx(self) -> UVec3
[src]
pub fn yxy(self) -> UVec3
[src]
pub fn yxz(self) -> UVec3
[src]
pub fn yxw(self) -> UVec3
[src]
pub fn yyx(self) -> UVec3
[src]
pub fn yyy(self) -> UVec3
[src]
pub fn yyz(self) -> UVec3
[src]
pub fn yyw(self) -> UVec3
[src]
pub fn yzx(self) -> UVec3
[src]
pub fn yzy(self) -> UVec3
[src]
pub fn yzz(self) -> UVec3
[src]
pub fn yzw(self) -> UVec3
[src]
pub fn ywx(self) -> UVec3
[src]
pub fn ywy(self) -> UVec3
[src]
pub fn ywz(self) -> UVec3
[src]
pub fn yww(self) -> UVec3
[src]
pub fn zxx(self) -> UVec3
[src]
pub fn zxy(self) -> UVec3
[src]
pub fn zxz(self) -> UVec3
[src]
pub fn zxw(self) -> UVec3
[src]
pub fn zyx(self) -> UVec3
[src]
pub fn zyy(self) -> UVec3
[src]
pub fn zyz(self) -> UVec3
[src]
pub fn zyw(self) -> UVec3
[src]
pub fn zzx(self) -> UVec3
[src]
pub fn zzy(self) -> UVec3
[src]
pub fn zzz(self) -> UVec3
[src]
pub fn zzw(self) -> UVec3
[src]
pub fn zwx(self) -> UVec3
[src]
pub fn zwy(self) -> UVec3
[src]
pub fn zwz(self) -> UVec3
[src]
pub fn zww(self) -> UVec3
[src]
pub fn wxx(self) -> UVec3
[src]
pub fn wxy(self) -> UVec3
[src]
pub fn wxz(self) -> UVec3
[src]
pub fn wxw(self) -> UVec3
[src]
pub fn wyx(self) -> UVec3
[src]
pub fn wyy(self) -> UVec3
[src]
pub fn wyz(self) -> UVec3
[src]
pub fn wyw(self) -> UVec3
[src]
pub fn wzx(self) -> UVec3
[src]
pub fn wzy(self) -> UVec3
[src]
pub fn wzz(self) -> UVec3
[src]
pub fn wzw(self) -> UVec3
[src]
pub fn wwx(self) -> UVec3
[src]
pub fn wwy(self) -> UVec3
[src]
pub fn wwz(self) -> UVec3
[src]
pub fn www(self) -> UVec3
[src]
pub fn xx(self) -> UVec2
[src]
pub fn xy(self) -> UVec2
[src]
pub fn xz(self) -> UVec2
[src]
pub fn xw(self) -> UVec2
[src]
pub fn yx(self) -> UVec2
[src]
pub fn yy(self) -> UVec2
[src]
pub fn yz(self) -> UVec2
[src]
pub fn yw(self) -> UVec2
[src]
pub fn zx(self) -> UVec2
[src]
pub fn zy(self) -> UVec2
[src]
pub fn zz(self) -> UVec2
[src]
pub fn zw(self) -> UVec2
[src]
pub fn wx(self) -> UVec2
[src]
pub fn wy(self) -> UVec2
[src]
pub fn wz(self) -> UVec2
[src]
pub fn ww(self) -> UVec2
[src]
Auto Trait Implementations
impl RefUnwindSafe for UVec4
impl Send for UVec4
impl Sync for UVec4
impl Unpin for UVec4
impl UnwindSafe for UVec4
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash + ?Sized,
T: Hash + ?Sized,
pub default fn get_hash<H, B>(value: &H, build_hasher: &B) -> u64 where
B: BuildHasher,
H: Hash + ?Sized,
B: BuildHasher,
H: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,
impl<T> Component for T where
T: 'static + Send + Sync,
T: 'static + Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Downcast<T> for T
impl<T> DowncastSync for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> DynEq for T where
T: Any + Eq,
T: Any + Eq,
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn dyn_eq(&self, other: &(dyn DynEq + 'static)) -> bool
impl<T> DynHash for T where
T: DynEq + Hash,
T: DynEq + Hash,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> FromWorld for T where
T: Default,
T: Default,
pub fn from_world(_world: &mut World) -> T
impl<T> GetPath for T where
T: Reflect,
T: Reflect,
pub fn path(
&'r self,
path: &'p str
) -> Result<&'r (dyn Reflect + 'static), ReflectPathError<'p>>
&'r self,
path: &'p str
) -> Result<&'r (dyn Reflect + 'static), ReflectPathError<'p>>
pub fn path_mut(
&'r mut self,
path: &'p str
) -> Result<&'r mut (dyn Reflect + 'static), ReflectPathError<'p>>
&'r mut self,
path: &'p str
) -> Result<&'r mut (dyn Reflect + 'static), ReflectPathError<'p>>
pub fn get_path<T>(
&'r self,
path: &'p str
) -> Result<&'r T, ReflectPathError<'p>> where
T: Reflect,
&'r self,
path: &'p str
) -> Result<&'r T, ReflectPathError<'p>> where
T: Reflect,
pub fn get_path_mut<T>(
&'r mut self,
path: &'p str
) -> Result<&'r mut T, ReflectPathError<'p>> where
T: Reflect,
&'r mut self,
path: &'p str
) -> Result<&'r mut T, ReflectPathError<'p>> where
T: Reflect,
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
pub fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
[src]
Notable traits for Instrumented<T>
impl<T> Future for Instrumented<T> where
T: Future, type Output = <T as Future>::Output;
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<M> Measure for M where
M: Debug + PartialOrd<M> + Add<M, Output = M> + Default + Clone,
[src]
M: Debug + PartialOrd<M> + Add<M, Output = M> + Default + Clone,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> TypeData for T where
T: 'static + Send + Sync + Clone,
T: 'static + Send + Sync + Clone,
pub fn clone_type_data(&self) -> Box<dyn TypeData + 'static, Global>
impl<T> Upcast<T> for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,