#[repr(C)]pub struct ISizeVec3 {
pub x: isize,
pub y: isize,
pub z: isize,
}Expand description
A 3-dimensional vector.
Fields§
§x: isize§y: isize§z: isizeImplementations§
Source§impl ISizeVec3
impl ISizeVec3
Sourcepub fn map<F>(self, f: F) -> Self
pub fn map<F>(self, f: F) -> Self
Returns a vector containing each element of self modified by a mapping function f.
Sourcepub fn select(mask: BVec3, if_true: Self, if_false: Self) -> Self
pub fn select(mask: BVec3, if_true: Self, if_false: Self) -> Self
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.
Sourcepub const fn from_array(a: [isize; 3]) -> Self
pub const fn from_array(a: [isize; 3]) -> Self
Creates a new vector from an array.
Sourcepub const fn from_slice(slice: &[isize]) -> Self
pub const fn from_slice(slice: &[isize]) -> Self
Creates a vector from the first 3 values in slice.
§Panics
Panics if slice is less than 3 elements long.
Sourcepub fn write_to_slice(self, slice: &mut [isize])
pub fn write_to_slice(self, slice: &mut [isize])
Writes the elements of self to the first 3 elements in slice.
§Panics
Panics if slice is less than 3 elements long.
Sourcepub fn extend(self, w: isize) -> ISizeVec4
pub fn extend(self, w: isize) -> ISizeVec4
Creates a 4D vector from self and the given w value.
Sourcepub fn truncate(self) -> ISizeVec2
pub fn truncate(self) -> ISizeVec2
Creates a 2D vector from the x and y elements of self, discarding z.
Truncation may also be performed by using self.xy().
Sourcepub fn dot_into_vec(self, rhs: Self) -> Self
pub fn dot_into_vec(self, rhs: Self) -> Self
Returns a vector where every component is the dot product of self and rhs.
Sourcepub fn min(self, rhs: Self) -> Self
pub fn min(self, rhs: Self) -> Self
Returns a vector containing the minimum values for each element of self and rhs.
In other words this computes [min(x, rhs.x), min(self.y, rhs.y), ..].
Sourcepub fn max(self, rhs: Self) -> Self
pub fn max(self, rhs: Self) -> Self
Returns a vector containing the maximum values for each element of self and rhs.
In other words this computes [max(self.x, rhs.x), max(self.y, rhs.y), ..].
Sourcepub fn clamp(self, min: Self, max: Self) -> Self
pub fn clamp(self, min: Self, max: Self) -> Self
Component-wise clamping of values, similar to isize::clamp.
Each element in min must be less-or-equal to the corresponding element in max.
§Panics
Will panic if min is greater than max when glam_assert is enabled.
Sourcepub fn min_element(self) -> isize
pub fn min_element(self) -> isize
Returns the horizontal minimum of self.
In other words this computes min(x, y, ..).
Sourcepub fn max_element(self) -> isize
pub fn max_element(self) -> isize
Returns the horizontal maximum of self.
In other words this computes max(x, y, ..).
Sourcepub fn min_position(self) -> usize
pub fn min_position(self) -> usize
Returns the index of the first minimum element of self.
Sourcepub fn max_position(self) -> usize
pub fn max_position(self) -> usize
Returns the index of the first maximum element of self.
Sourcepub fn element_sum(self) -> isize
pub fn element_sum(self) -> isize
Returns the sum of all elements of self.
In other words, this computes self.x + self.y + ...
Sourcepub fn element_product(self) -> isize
pub fn element_product(self) -> isize
Returns the product of all elements of self.
In other words, this computes self.x * self.y * ...
Sourcepub fn cmpeq(self, rhs: Self) -> BVec3
pub fn cmpeq(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a == comparison for each element of
self and rhs.
In other words, this computes [self.x == rhs.x, self.y == rhs.y, ..] for all
elements.
Sourcepub fn cmpne(self, rhs: Self) -> BVec3
pub fn cmpne(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a != comparison for each element of
self and rhs.
In other words this computes [self.x != rhs.x, self.y != rhs.y, ..] for all
elements.
Sourcepub fn cmpge(self, rhs: Self) -> BVec3
pub fn cmpge(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a >= comparison for each element of
self and rhs.
In other words this computes [self.x >= rhs.x, self.y >= rhs.y, ..] for all
elements.
Sourcepub fn cmpgt(self, rhs: Self) -> BVec3
pub fn cmpgt(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a > comparison for each element of
self and rhs.
In other words this computes [self.x > rhs.x, self.y > rhs.y, ..] for all
elements.
Sourcepub fn cmple(self, rhs: Self) -> BVec3
pub fn cmple(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a <= comparison for each element of
self and rhs.
In other words this computes [self.x <= rhs.x, self.y <= rhs.y, ..] for all
elements.
Sourcepub fn cmplt(self, rhs: Self) -> BVec3
pub fn cmplt(self, rhs: Self) -> BVec3
Returns a vector mask containing the result of a < comparison for each element of
self and rhs.
In other words this computes [self.x < rhs.x, self.y < rhs.y, ..] for all
elements.
Sourcepub fn abs(self) -> Self
pub fn abs(self) -> Self
Returns a vector containing the absolute value of each element of self.
Sourcepub fn signum(self) -> Self
pub fn signum(self) -> Self
Returns a vector with elements representing the sign of self.
0if the number is zero1if the number is positive-1if the number is negative
Sourcepub fn is_negative_bitmask(self) -> u32
pub fn is_negative_bitmask(self) -> u32
Returns a bitmask with the lowest 3 bits set to the sign bits from the elements of self.
A negative element results in a 1 bit and a positive element in a 0 bit. Element x goes
into the first lowest bit, element y into the second, etc.
An element is negative if it has a negative sign, including -0.0, NaNs with negative sign bit and negative infinity.
Sourcepub fn length_squared(self) -> isize
pub fn length_squared(self) -> isize
Computes the squared length of self.
Sourcepub fn distance_squared(self, rhs: Self) -> isize
pub fn distance_squared(self, rhs: Self) -> isize
Compute the squared euclidean distance between two points in space.
Sourcepub fn div_euclid(self, rhs: Self) -> Self
pub fn div_euclid(self, rhs: Self) -> Self
Returns the element-wise quotient of [Euclidean division] of self by rhs.
§Panics
This function will panic if any rhs element is 0 or the division results in overflow.
Sourcepub fn rem_euclid(self, rhs: Self) -> Self
pub fn rem_euclid(self, rhs: Self) -> Self
Returns the element-wise remainder of Euclidean division of self by rhs.
§Panics
This function will panic if any rhs element is 0 or the division results in overflow.
Sourcepub fn manhattan_distance(self, rhs: Self) -> usize
pub fn manhattan_distance(self, rhs: Self) -> usize
Computes the manhattan distance between two points.
§Overflow
This method may overflow if the result is greater than usize::MAX.
See also checked_manhattan_distance.
Sourcepub fn checked_manhattan_distance(self, rhs: Self) -> Option<usize>
pub fn checked_manhattan_distance(self, rhs: Self) -> Option<usize>
Computes the manhattan distance between two points.
This will returns None if the result is greater than usize::MAX.
Sourcepub fn chebyshev_distance(self, rhs: Self) -> usize
pub fn chebyshev_distance(self, rhs: Self) -> usize
Computes the chebyshev distance between two points.
Sourcepub fn as_i16vec3(self) -> I16Vec3
pub fn as_i16vec3(self) -> I16Vec3
Casts all elements of self to i16.
Sourcepub fn as_u16vec3(self) -> U16Vec3
pub fn as_u16vec3(self) -> U16Vec3
Casts all elements of self to u16.
Sourcepub fn as_i64vec3(self) -> I64Vec3
pub fn as_i64vec3(self) -> I64Vec3
Casts all elements of self to i64.
Sourcepub fn as_u64vec3(self) -> U64Vec3
pub fn as_u64vec3(self) -> U64Vec3
Casts all elements of self to u64.
Sourcepub fn as_usizevec3(self) -> USizeVec3
pub fn as_usizevec3(self) -> USizeVec3
Casts all elements of self to usize.
Sourcepub const fn checked_add(self, rhs: Self) -> Option<Self>
pub const fn checked_add(self, rhs: Self) -> Option<Self>
Returns a vector containing the wrapping addition of self and rhs.
In other words this computes Some([self.x + rhs.x, self.y + rhs.y, ..]) but returns None on any overflow.
Sourcepub const fn checked_sub(self, rhs: Self) -> Option<Self>
pub const fn checked_sub(self, rhs: Self) -> Option<Self>
Returns a vector containing the wrapping subtraction of self and rhs.
In other words this computes Some([self.x - rhs.x, self.y - rhs.y, ..]) but returns None on any overflow.
Sourcepub const fn checked_mul(self, rhs: Self) -> Option<Self>
pub const fn checked_mul(self, rhs: Self) -> Option<Self>
Returns a vector containing the wrapping multiplication of self and rhs.
In other words this computes Some([self.x * rhs.x, self.y * rhs.y, ..]) but returns None on any overflow.
Sourcepub const fn checked_div(self, rhs: Self) -> Option<Self>
pub const fn checked_div(self, rhs: Self) -> Option<Self>
Returns a vector containing the wrapping division of self and rhs.
In other words this computes Some([self.x / rhs.x, self.y / rhs.y, ..]) but returns None on any division by zero.
Sourcepub const fn wrapping_add(self, rhs: Self) -> Self
pub const fn wrapping_add(self, rhs: Self) -> Self
Returns a vector containing the wrapping addition of self and rhs.
In other words this computes [self.x.wrapping_add(rhs.x), self.y.wrapping_add(rhs.y), ..].
Sourcepub const fn wrapping_sub(self, rhs: Self) -> Self
pub const fn wrapping_sub(self, rhs: Self) -> Self
Returns a vector containing the wrapping subtraction of self and rhs.
In other words this computes [self.x.wrapping_sub(rhs.x), self.y.wrapping_sub(rhs.y), ..].
Sourcepub const fn wrapping_mul(self, rhs: Self) -> Self
pub const fn wrapping_mul(self, rhs: Self) -> Self
Returns a vector containing the wrapping multiplication of self and rhs.
In other words this computes [self.x.wrapping_mul(rhs.x), self.y.wrapping_mul(rhs.y), ..].
Sourcepub const fn wrapping_div(self, rhs: Self) -> Self
pub const fn wrapping_div(self, rhs: Self) -> Self
Returns a vector containing the wrapping division of self and rhs.
In other words this computes [self.x.wrapping_div(rhs.x), self.y.wrapping_div(rhs.y), ..].
Sourcepub const fn saturating_add(self, rhs: Self) -> Self
pub const fn saturating_add(self, rhs: Self) -> Self
Returns a vector containing the saturating addition of self and rhs.
In other words this computes [self.x.saturating_add(rhs.x), self.y.saturating_add(rhs.y), ..].
Sourcepub const fn saturating_sub(self, rhs: Self) -> Self
pub const fn saturating_sub(self, rhs: Self) -> Self
Returns a vector containing the saturating subtraction of self and rhs.
In other words this computes [self.x.saturating_sub(rhs.x), self.y.saturating_sub(rhs.y), ..].
Sourcepub const fn saturating_mul(self, rhs: Self) -> Self
pub const fn saturating_mul(self, rhs: Self) -> Self
Returns a vector containing the saturating multiplication of self and rhs.
In other words this computes [self.x.saturating_mul(rhs.x), self.y.saturating_mul(rhs.y), ..].
Sourcepub const fn saturating_div(self, rhs: Self) -> Self
pub const fn saturating_div(self, rhs: Self) -> Self
Returns a vector containing the saturating division of self and rhs.
In other words this computes [self.x.saturating_div(rhs.x), self.y.saturating_div(rhs.y), ..].
Sourcepub const fn checked_add_unsigned(self, rhs: USizeVec3) -> Option<Self>
pub const fn checked_add_unsigned(self, rhs: USizeVec3) -> Option<Self>
Returns a vector containing the wrapping addition of self and unsigned vector rhs.
In other words this computes Some([self.x + rhs.x, self.y + rhs.y, ..]) but returns None on any overflow.
Sourcepub const fn checked_sub_unsigned(self, rhs: USizeVec3) -> Option<Self>
pub const fn checked_sub_unsigned(self, rhs: USizeVec3) -> Option<Self>
Returns a vector containing the wrapping subtraction of self and unsigned vector rhs.
In other words this computes Some([self.x - rhs.x, self.y - rhs.y, ..]) but returns None on any overflow.
Sourcepub const fn wrapping_add_unsigned(self, rhs: USizeVec3) -> Self
pub const fn wrapping_add_unsigned(self, rhs: USizeVec3) -> Self
Returns a vector containing the wrapping addition of self and unsigned vector rhs.
In other words this computes [self.x.wrapping_add_unsigned(rhs.x), self.y.wrapping_add_unsigned(rhs.y), ..].
Sourcepub const fn wrapping_sub_unsigned(self, rhs: USizeVec3) -> Self
pub const fn wrapping_sub_unsigned(self, rhs: USizeVec3) -> Self
Returns a vector containing the wrapping subtraction of self and unsigned vector rhs.
In other words this computes [self.x.wrapping_sub_unsigned(rhs.x), self.y.wrapping_sub_unsigned(rhs.y), ..].
Sourcepub const fn saturating_add_unsigned(self, rhs: USizeVec3) -> Self
pub const fn saturating_add_unsigned(self, rhs: USizeVec3) -> Self
In other words this computes [self.x.saturating_add_unsigned(rhs.x), self.y.saturating_add_unsigned(rhs.y), ..].
Sourcepub const fn saturating_sub_unsigned(self, rhs: USizeVec3) -> Self
pub const fn saturating_sub_unsigned(self, rhs: USizeVec3) -> Self
Returns a vector containing the saturating subtraction of self and unsigned vector rhs.
In other words this computes [self.x.saturating_sub_unsigned(rhs.x), self.y.saturating_sub_unsigned(rhs.y), ..].
Trait Implementations§
Source§impl AddAssign<&ISizeVec3> for ISizeVec3
impl AddAssign<&ISizeVec3> for ISizeVec3
Source§fn add_assign(&mut self, rhs: &Self)
fn add_assign(&mut self, rhs: &Self)
+= operation. Read moreSource§impl AddAssign<&isize> for ISizeVec3
impl AddAssign<&isize> for ISizeVec3
Source§fn add_assign(&mut self, rhs: &isize)
fn add_assign(&mut self, rhs: &isize)
+= operation. Read moreSource§impl AddAssign<isize> for ISizeVec3
impl AddAssign<isize> for ISizeVec3
Source§fn add_assign(&mut self, rhs: isize)
fn add_assign(&mut self, rhs: isize)
+= operation. Read moreSource§impl AddAssign for ISizeVec3
impl AddAssign for ISizeVec3
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
+= operation. Read moreSource§impl BitAndAssign<&ISizeVec3> for ISizeVec3
impl BitAndAssign<&ISizeVec3> for ISizeVec3
Source§fn bitand_assign(&mut self, rhs: &Self)
fn bitand_assign(&mut self, rhs: &Self)
&= operation. Read moreSource§impl BitAndAssign<&isize> for ISizeVec3
impl BitAndAssign<&isize> for ISizeVec3
Source§fn bitand_assign(&mut self, rhs: &isize)
fn bitand_assign(&mut self, rhs: &isize)
&= operation. Read moreSource§impl BitAndAssign<isize> for ISizeVec3
impl BitAndAssign<isize> for ISizeVec3
Source§fn bitand_assign(&mut self, rhs: isize)
fn bitand_assign(&mut self, rhs: isize)
&= operation. Read moreSource§impl BitAndAssign for ISizeVec3
impl BitAndAssign for ISizeVec3
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&= operation. Read moreSource§impl BitOrAssign<&ISizeVec3> for ISizeVec3
impl BitOrAssign<&ISizeVec3> for ISizeVec3
Source§fn bitor_assign(&mut self, rhs: &Self)
fn bitor_assign(&mut self, rhs: &Self)
|= operation. Read moreSource§impl BitOrAssign<&isize> for ISizeVec3
impl BitOrAssign<&isize> for ISizeVec3
Source§fn bitor_assign(&mut self, rhs: &isize)
fn bitor_assign(&mut self, rhs: &isize)
|= operation. Read moreSource§impl BitOrAssign<isize> for ISizeVec3
impl BitOrAssign<isize> for ISizeVec3
Source§fn bitor_assign(&mut self, rhs: isize)
fn bitor_assign(&mut self, rhs: isize)
|= operation. Read moreSource§impl BitOrAssign for ISizeVec3
impl BitOrAssign for ISizeVec3
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|= operation. Read moreSource§impl BitXorAssign<&ISizeVec3> for ISizeVec3
impl BitXorAssign<&ISizeVec3> for ISizeVec3
Source§fn bitxor_assign(&mut self, rhs: &Self)
fn bitxor_assign(&mut self, rhs: &Self)
^= operation. Read moreSource§impl BitXorAssign<&isize> for ISizeVec3
impl BitXorAssign<&isize> for ISizeVec3
Source§fn bitxor_assign(&mut self, rhs: &isize)
fn bitxor_assign(&mut self, rhs: &isize)
^= operation. Read moreSource§impl BitXorAssign<isize> for ISizeVec3
impl BitXorAssign<isize> for ISizeVec3
Source§fn bitxor_assign(&mut self, rhs: isize)
fn bitxor_assign(&mut self, rhs: isize)
^= operation. Read moreSource§impl BitXorAssign for ISizeVec3
impl BitXorAssign for ISizeVec3
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^= operation. Read moreSource§impl DivAssign<&ISizeVec3> for ISizeVec3
impl DivAssign<&ISizeVec3> for ISizeVec3
Source§fn div_assign(&mut self, rhs: &Self)
fn div_assign(&mut self, rhs: &Self)
/= operation. Read moreSource§impl DivAssign<&isize> for ISizeVec3
impl DivAssign<&isize> for ISizeVec3
Source§fn div_assign(&mut self, rhs: &isize)
fn div_assign(&mut self, rhs: &isize)
/= operation. Read moreSource§impl DivAssign<isize> for ISizeVec3
impl DivAssign<isize> for ISizeVec3
Source§fn div_assign(&mut self, rhs: isize)
fn div_assign(&mut self, rhs: isize)
/= operation. Read moreSource§impl DivAssign for ISizeVec3
impl DivAssign for ISizeVec3
Source§fn div_assign(&mut self, rhs: Self)
fn div_assign(&mut self, rhs: Self)
/= operation. Read moreSource§impl MulAssign<&ISizeVec3> for ISizeVec3
impl MulAssign<&ISizeVec3> for ISizeVec3
Source§fn mul_assign(&mut self, rhs: &Self)
fn mul_assign(&mut self, rhs: &Self)
*= operation. Read moreSource§impl MulAssign<&isize> for ISizeVec3
impl MulAssign<&isize> for ISizeVec3
Source§fn mul_assign(&mut self, rhs: &isize)
fn mul_assign(&mut self, rhs: &isize)
*= operation. Read moreSource§impl MulAssign<isize> for ISizeVec3
impl MulAssign<isize> for ISizeVec3
Source§fn mul_assign(&mut self, rhs: isize)
fn mul_assign(&mut self, rhs: isize)
*= operation. Read moreSource§impl MulAssign for ISizeVec3
impl MulAssign for ISizeVec3
Source§fn mul_assign(&mut self, rhs: Self)
fn mul_assign(&mut self, rhs: Self)
*= operation. Read moreSource§impl RemAssign<&ISizeVec3> for ISizeVec3
impl RemAssign<&ISizeVec3> for ISizeVec3
Source§fn rem_assign(&mut self, rhs: &Self)
fn rem_assign(&mut self, rhs: &Self)
%= operation. Read moreSource§impl RemAssign<&isize> for ISizeVec3
impl RemAssign<&isize> for ISizeVec3
Source§fn rem_assign(&mut self, rhs: &isize)
fn rem_assign(&mut self, rhs: &isize)
%= operation. Read moreSource§impl RemAssign<isize> for ISizeVec3
impl RemAssign<isize> for ISizeVec3
Source§fn rem_assign(&mut self, rhs: isize)
fn rem_assign(&mut self, rhs: isize)
%= operation. Read moreSource§impl RemAssign for ISizeVec3
impl RemAssign for ISizeVec3
Source§fn rem_assign(&mut self, rhs: Self)
fn rem_assign(&mut self, rhs: Self)
%= operation. Read moreSource§impl ShlAssign<&i16> for ISizeVec3
impl ShlAssign<&i16> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &i16)
fn shl_assign(&mut self, rhs: &i16)
<<= operation. Read moreSource§impl ShlAssign<&i32> for ISizeVec3
impl ShlAssign<&i32> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &i32)
fn shl_assign(&mut self, rhs: &i32)
<<= operation. Read moreSource§impl ShlAssign<&i64> for ISizeVec3
impl ShlAssign<&i64> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &i64)
fn shl_assign(&mut self, rhs: &i64)
<<= operation. Read moreSource§impl ShlAssign<&i8> for ISizeVec3
impl ShlAssign<&i8> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &i8)
fn shl_assign(&mut self, rhs: &i8)
<<= operation. Read moreSource§impl ShlAssign<&u16> for ISizeVec3
impl ShlAssign<&u16> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &u16)
fn shl_assign(&mut self, rhs: &u16)
<<= operation. Read moreSource§impl ShlAssign<&u32> for ISizeVec3
impl ShlAssign<&u32> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &u32)
fn shl_assign(&mut self, rhs: &u32)
<<= operation. Read moreSource§impl ShlAssign<&u64> for ISizeVec3
impl ShlAssign<&u64> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &u64)
fn shl_assign(&mut self, rhs: &u64)
<<= operation. Read moreSource§impl ShlAssign<&u8> for ISizeVec3
impl ShlAssign<&u8> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: &u8)
fn shl_assign(&mut self, rhs: &u8)
<<= operation. Read moreSource§impl ShlAssign<i16> for ISizeVec3
impl ShlAssign<i16> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: i16)
fn shl_assign(&mut self, rhs: i16)
<<= operation. Read moreSource§impl ShlAssign<i32> for ISizeVec3
impl ShlAssign<i32> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: i32)
fn shl_assign(&mut self, rhs: i32)
<<= operation. Read moreSource§impl ShlAssign<i64> for ISizeVec3
impl ShlAssign<i64> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: i64)
fn shl_assign(&mut self, rhs: i64)
<<= operation. Read moreSource§impl ShlAssign<i8> for ISizeVec3
impl ShlAssign<i8> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: i8)
fn shl_assign(&mut self, rhs: i8)
<<= operation. Read moreSource§impl ShlAssign<u16> for ISizeVec3
impl ShlAssign<u16> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: u16)
fn shl_assign(&mut self, rhs: u16)
<<= operation. Read moreSource§impl ShlAssign<u32> for ISizeVec3
impl ShlAssign<u32> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: u32)
fn shl_assign(&mut self, rhs: u32)
<<= operation. Read moreSource§impl ShlAssign<u64> for ISizeVec3
impl ShlAssign<u64> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: u64)
fn shl_assign(&mut self, rhs: u64)
<<= operation. Read moreSource§impl ShlAssign<u8> for ISizeVec3
impl ShlAssign<u8> for ISizeVec3
Source§fn shl_assign(&mut self, rhs: u8)
fn shl_assign(&mut self, rhs: u8)
<<= operation. Read moreSource§impl ShrAssign<&i16> for ISizeVec3
impl ShrAssign<&i16> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &i16)
fn shr_assign(&mut self, rhs: &i16)
>>= operation. Read moreSource§impl ShrAssign<&i32> for ISizeVec3
impl ShrAssign<&i32> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &i32)
fn shr_assign(&mut self, rhs: &i32)
>>= operation. Read moreSource§impl ShrAssign<&i64> for ISizeVec3
impl ShrAssign<&i64> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &i64)
fn shr_assign(&mut self, rhs: &i64)
>>= operation. Read moreSource§impl ShrAssign<&i8> for ISizeVec3
impl ShrAssign<&i8> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &i8)
fn shr_assign(&mut self, rhs: &i8)
>>= operation. Read moreSource§impl ShrAssign<&u16> for ISizeVec3
impl ShrAssign<&u16> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &u16)
fn shr_assign(&mut self, rhs: &u16)
>>= operation. Read moreSource§impl ShrAssign<&u32> for ISizeVec3
impl ShrAssign<&u32> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &u32)
fn shr_assign(&mut self, rhs: &u32)
>>= operation. Read moreSource§impl ShrAssign<&u64> for ISizeVec3
impl ShrAssign<&u64> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &u64)
fn shr_assign(&mut self, rhs: &u64)
>>= operation. Read moreSource§impl ShrAssign<&u8> for ISizeVec3
impl ShrAssign<&u8> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: &u8)
fn shr_assign(&mut self, rhs: &u8)
>>= operation. Read moreSource§impl ShrAssign<i16> for ISizeVec3
impl ShrAssign<i16> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: i16)
fn shr_assign(&mut self, rhs: i16)
>>= operation. Read moreSource§impl ShrAssign<i32> for ISizeVec3
impl ShrAssign<i32> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: i32)
fn shr_assign(&mut self, rhs: i32)
>>= operation. Read moreSource§impl ShrAssign<i64> for ISizeVec3
impl ShrAssign<i64> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: i64)
fn shr_assign(&mut self, rhs: i64)
>>= operation. Read moreSource§impl ShrAssign<i8> for ISizeVec3
impl ShrAssign<i8> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: i8)
fn shr_assign(&mut self, rhs: i8)
>>= operation. Read moreSource§impl ShrAssign<u16> for ISizeVec3
impl ShrAssign<u16> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: u16)
fn shr_assign(&mut self, rhs: u16)
>>= operation. Read moreSource§impl ShrAssign<u32> for ISizeVec3
impl ShrAssign<u32> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: u32)
fn shr_assign(&mut self, rhs: u32)
>>= operation. Read moreSource§impl ShrAssign<u64> for ISizeVec3
impl ShrAssign<u64> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: u64)
fn shr_assign(&mut self, rhs: u64)
>>= operation. Read moreSource§impl ShrAssign<u8> for ISizeVec3
impl ShrAssign<u8> for ISizeVec3
Source§fn shr_assign(&mut self, rhs: u8)
fn shr_assign(&mut self, rhs: u8)
>>= operation. Read moreSource§impl SubAssign<&ISizeVec3> for ISizeVec3
impl SubAssign<&ISizeVec3> for ISizeVec3
Source§fn sub_assign(&mut self, rhs: &Self)
fn sub_assign(&mut self, rhs: &Self)
-= operation. Read moreSource§impl SubAssign<&isize> for ISizeVec3
impl SubAssign<&isize> for ISizeVec3
Source§fn sub_assign(&mut self, rhs: &isize)
fn sub_assign(&mut self, rhs: &isize)
-= operation. Read moreSource§impl SubAssign<isize> for ISizeVec3
impl SubAssign<isize> for ISizeVec3
Source§fn sub_assign(&mut self, rhs: isize)
fn sub_assign(&mut self, rhs: isize)
-= operation. Read moreSource§impl SubAssign for ISizeVec3
impl SubAssign for ISizeVec3
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
-= operation. Read moreSource§impl Vec3Swizzles for ISizeVec3
impl Vec3Swizzles for ISizeVec3
type Vec2 = ISizeVec2
type Vec4 = ISizeVec4
fn xx(self) -> ISizeVec2
fn xy(self) -> ISizeVec2
fn with_xy(self, rhs: ISizeVec2) -> Self
fn xz(self) -> ISizeVec2
fn with_xz(self, rhs: ISizeVec2) -> Self
fn yx(self) -> ISizeVec2
fn with_yx(self, rhs: ISizeVec2) -> Self
fn yy(self) -> ISizeVec2
fn yz(self) -> ISizeVec2
fn with_yz(self, rhs: ISizeVec2) -> Self
fn zx(self) -> ISizeVec2
fn with_zx(self, rhs: ISizeVec2) -> Self
fn zy(self) -> ISizeVec2
fn with_zy(self, rhs: ISizeVec2) -> Self
fn zz(self) -> ISizeVec2
fn xxx(self) -> Self
fn xxy(self) -> Self
fn xxz(self) -> Self
fn xyx(self) -> Self
fn xyy(self) -> Self
fn xzx(self) -> Self
fn xzy(self) -> Self
fn xzz(self) -> Self
fn yxx(self) -> Self
fn yxy(self) -> Self
fn yxz(self) -> Self
fn yyx(self) -> Self
fn yyy(self) -> Self
fn yyz(self) -> Self
fn yzx(self) -> Self
fn yzy(self) -> Self
fn yzz(self) -> Self
fn zxx(self) -> Self
fn zxy(self) -> Self
fn zxz(self) -> Self
fn zyx(self) -> Self
fn zyy(self) -> Self
fn zyz(self) -> Self
fn zzx(self) -> Self
fn zzy(self) -> Self
fn zzz(self) -> Self
fn xxxx(self) -> ISizeVec4
fn xxxy(self) -> ISizeVec4
fn xxxz(self) -> ISizeVec4
fn xxyx(self) -> ISizeVec4
fn xxyy(self) -> ISizeVec4
fn xxyz(self) -> ISizeVec4
fn xxzx(self) -> ISizeVec4
fn xxzy(self) -> ISizeVec4
fn xxzz(self) -> ISizeVec4
fn xyxx(self) -> ISizeVec4
fn xyxy(self) -> ISizeVec4
fn xyxz(self) -> ISizeVec4
fn xyyx(self) -> ISizeVec4
fn xyyy(self) -> ISizeVec4
fn xyyz(self) -> ISizeVec4
fn xyzx(self) -> ISizeVec4
fn xyzy(self) -> ISizeVec4
fn xyzz(self) -> ISizeVec4
fn xzxx(self) -> ISizeVec4
fn xzxy(self) -> ISizeVec4
fn xzxz(self) -> ISizeVec4
fn xzyx(self) -> ISizeVec4
fn xzyy(self) -> ISizeVec4
fn xzyz(self) -> ISizeVec4
fn xzzx(self) -> ISizeVec4
fn xzzy(self) -> ISizeVec4
fn xzzz(self) -> ISizeVec4
fn yxxx(self) -> ISizeVec4
fn yxxy(self) -> ISizeVec4
fn yxxz(self) -> ISizeVec4
fn yxyx(self) -> ISizeVec4
fn yxyy(self) -> ISizeVec4
fn yxyz(self) -> ISizeVec4
fn yxzx(self) -> ISizeVec4
fn yxzy(self) -> ISizeVec4
fn yxzz(self) -> ISizeVec4
fn yyxx(self) -> ISizeVec4
fn yyxy(self) -> ISizeVec4
fn yyxz(self) -> ISizeVec4
fn yyyx(self) -> ISizeVec4
fn yyyy(self) -> ISizeVec4
fn yyyz(self) -> ISizeVec4
fn yyzx(self) -> ISizeVec4
fn yyzy(self) -> ISizeVec4
fn yyzz(self) -> ISizeVec4
fn yzxx(self) -> ISizeVec4
fn yzxy(self) -> ISizeVec4
fn yzxz(self) -> ISizeVec4
fn yzyx(self) -> ISizeVec4
fn yzyy(self) -> ISizeVec4
fn yzyz(self) -> ISizeVec4
fn yzzx(self) -> ISizeVec4
fn yzzy(self) -> ISizeVec4
fn yzzz(self) -> ISizeVec4
fn zxxx(self) -> ISizeVec4
fn zxxy(self) -> ISizeVec4
fn zxxz(self) -> ISizeVec4
fn zxyx(self) -> ISizeVec4
fn zxyy(self) -> ISizeVec4
fn zxyz(self) -> ISizeVec4
fn zxzx(self) -> ISizeVec4
fn zxzy(self) -> ISizeVec4
fn zxzz(self) -> ISizeVec4
fn zyxx(self) -> ISizeVec4
fn zyxy(self) -> ISizeVec4
fn zyxz(self) -> ISizeVec4
fn zyyx(self) -> ISizeVec4
fn zyyy(self) -> ISizeVec4
fn zyyz(self) -> ISizeVec4
fn zyzx(self) -> ISizeVec4
fn zyzy(self) -> ISizeVec4
fn zyzz(self) -> ISizeVec4
fn zzxx(self) -> ISizeVec4
fn zzxy(self) -> ISizeVec4
fn zzxz(self) -> ISizeVec4
fn zzyx(self) -> ISizeVec4
fn zzyy(self) -> ISizeVec4
fn zzyz(self) -> ISizeVec4
fn zzzx(self) -> ISizeVec4
fn zzzy(self) -> ISizeVec4
fn zzzz(self) -> ISizeVec4
fn xyz(self) -> Self
impl Copy for ISizeVec3
impl Eq for ISizeVec3
impl Pod for ISizeVec3
impl StructuralPartialEq for ISizeVec3
Auto Trait Implementations§
impl Freeze for ISizeVec3
impl RefUnwindSafe for ISizeVec3
impl Send for ISizeVec3
impl Sync for ISizeVec3
impl Unpin for ISizeVec3
impl UnwindSafe for ISizeVec3
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
bits
as &Self.