pub type mode_t = u32;
libc
crate on crates.io should be used instead for the correct definitionsTrait Implementations§
1.22.0 · source§impl AddAssign<&u32> for u32
impl AddAssign<&u32> for u32
source§fn add_assign(&mut self, other: &u32)
fn add_assign(&mut self, other: &u32)
+=
operation. Read more1.8.0 · source§impl AddAssign<u32> for u32
impl AddAssign<u32> for u32
source§fn add_assign(&mut self, other: u32)
fn add_assign(&mut self, other: u32)
+=
operation. Read more1.22.0 · source§impl BitAndAssign<&u32> for u32
impl BitAndAssign<&u32> for u32
source§fn bitand_assign(&mut self, other: &u32)
fn bitand_assign(&mut self, other: &u32)
&=
operation. Read more1.8.0 · source§impl BitAndAssign<u32> for u32
impl BitAndAssign<u32> for u32
source§fn bitand_assign(&mut self, other: u32)
fn bitand_assign(&mut self, other: u32)
&=
operation. Read more1.45.0 · source§impl BitOr<NonZeroU32> for u32
impl BitOr<NonZeroU32> for u32
§type Output = NonZeroU32
type Output = NonZeroU32
|
operator.source§fn bitor(self, rhs: NonZeroU32) -> <u32 as BitOr<NonZeroU32>>::Output
fn bitor(self, rhs: NonZeroU32) -> <u32 as BitOr<NonZeroU32>>::Output
|
operation. Read more1.22.0 · source§impl BitOrAssign<&u32> for u32
impl BitOrAssign<&u32> for u32
source§fn bitor_assign(&mut self, other: &u32)
fn bitor_assign(&mut self, other: &u32)
|=
operation. Read more1.8.0 · source§impl BitOrAssign<u32> for u32
impl BitOrAssign<u32> for u32
source§fn bitor_assign(&mut self, other: u32)
fn bitor_assign(&mut self, other: u32)
|=
operation. Read more1.22.0 · source§impl BitXorAssign<&u32> for u32
impl BitXorAssign<&u32> for u32
source§fn bitxor_assign(&mut self, other: &u32)
fn bitxor_assign(&mut self, other: &u32)
^=
operation. Read more1.8.0 · source§impl BitXorAssign<u32> for u32
impl BitXorAssign<u32> for u32
source§fn bitxor_assign(&mut self, other: u32)
fn bitxor_assign(&mut self, other: u32)
^=
operation. Read more1.51.0 · source§impl Div<NonZeroU32> for u32
impl Div<NonZeroU32> for u32
1.0.0 · source§impl Div<u32> for u32
impl Div<u32> for u32
This operation rounds towards zero, truncating any fractional part of the exact result.
Panics
This operation will panic if other == 0
.
1.22.0 · source§impl DivAssign<&u32> for u32
impl DivAssign<&u32> for u32
source§fn div_assign(&mut self, other: &u32)
fn div_assign(&mut self, other: &u32)
/=
operation. Read more1.8.0 · source§impl DivAssign<u32> for u32
impl DivAssign<u32> for u32
source§fn div_assign(&mut self, other: u32)
fn div_assign(&mut self, other: u32)
/=
operation. Read more1.31.0 · source§impl From<NonZeroU32> for u32
impl From<NonZeroU32> for u32
source§fn from(nonzero: NonZeroU32) -> u32
fn from(nonzero: NonZeroU32) -> u32
Converts a NonZeroU32
into an u32
1.22.0 · source§impl MulAssign<&u32> for u32
impl MulAssign<&u32> for u32
source§fn mul_assign(&mut self, other: &u32)
fn mul_assign(&mut self, other: &u32)
*=
operation. Read more1.8.0 · source§impl MulAssign<u32> for u32
impl MulAssign<u32> for u32
source§fn mul_assign(&mut self, other: u32)
fn mul_assign(&mut self, other: u32)
*=
operation. Read more1.0.0 · source§impl Ord for u32
impl Ord for u32
1.0.0 · source§impl PartialOrd<u32> for u32
impl PartialOrd<u32> for u32
source§fn le(&self, other: &u32) -> bool
fn le(&self, other: &u32) -> bool
self
and other
) and is used by the <=
operator. Read more1.51.0 · source§impl Rem<NonZeroU32> for u32
impl Rem<NonZeroU32> for u32
1.0.0 · source§impl Rem<u32> for u32
impl Rem<u32> for u32
This operation satisfies n % d == n - (n / d) * d
. The
result has the same sign as the left operand.
Panics
This operation will panic if other == 0
.
1.22.0 · source§impl RemAssign<&u32> for u32
impl RemAssign<&u32> for u32
source§fn rem_assign(&mut self, other: &u32)
fn rem_assign(&mut self, other: &u32)
%=
operation. Read more1.8.0 · source§impl RemAssign<u32> for u32
impl RemAssign<u32> for u32
source§fn rem_assign(&mut self, other: u32)
fn rem_assign(&mut self, other: u32)
%=
operation. Read more1.22.0 · source§impl ShlAssign<&i128> for u32
impl ShlAssign<&i128> for u32
source§fn shl_assign(&mut self, other: &i128)
fn shl_assign(&mut self, other: &i128)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&i16> for u32
impl ShlAssign<&i16> for u32
source§fn shl_assign(&mut self, other: &i16)
fn shl_assign(&mut self, other: &i16)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&i32> for u32
impl ShlAssign<&i32> for u32
source§fn shl_assign(&mut self, other: &i32)
fn shl_assign(&mut self, other: &i32)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&i64> for u32
impl ShlAssign<&i64> for u32
source§fn shl_assign(&mut self, other: &i64)
fn shl_assign(&mut self, other: &i64)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&i8> for u32
impl ShlAssign<&i8> for u32
source§fn shl_assign(&mut self, other: &i8)
fn shl_assign(&mut self, other: &i8)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&isize> for u32
impl ShlAssign<&isize> for u32
source§fn shl_assign(&mut self, other: &isize)
fn shl_assign(&mut self, other: &isize)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&u128> for u32
impl ShlAssign<&u128> for u32
source§fn shl_assign(&mut self, other: &u128)
fn shl_assign(&mut self, other: &u128)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&u16> for u32
impl ShlAssign<&u16> for u32
source§fn shl_assign(&mut self, other: &u16)
fn shl_assign(&mut self, other: &u16)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&u32> for u32
impl ShlAssign<&u32> for u32
source§fn shl_assign(&mut self, other: &u32)
fn shl_assign(&mut self, other: &u32)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&u64> for u32
impl ShlAssign<&u64> for u32
source§fn shl_assign(&mut self, other: &u64)
fn shl_assign(&mut self, other: &u64)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&u8> for u32
impl ShlAssign<&u8> for u32
source§fn shl_assign(&mut self, other: &u8)
fn shl_assign(&mut self, other: &u8)
<<=
operation. Read more1.22.0 · source§impl ShlAssign<&usize> for u32
impl ShlAssign<&usize> for u32
source§fn shl_assign(&mut self, other: &usize)
fn shl_assign(&mut self, other: &usize)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<i128> for u32
impl ShlAssign<i128> for u32
source§fn shl_assign(&mut self, other: i128)
fn shl_assign(&mut self, other: i128)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<i16> for u32
impl ShlAssign<i16> for u32
source§fn shl_assign(&mut self, other: i16)
fn shl_assign(&mut self, other: i16)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<i32> for u32
impl ShlAssign<i32> for u32
source§fn shl_assign(&mut self, other: i32)
fn shl_assign(&mut self, other: i32)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<i64> for u32
impl ShlAssign<i64> for u32
source§fn shl_assign(&mut self, other: i64)
fn shl_assign(&mut self, other: i64)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<i8> for u32
impl ShlAssign<i8> for u32
source§fn shl_assign(&mut self, other: i8)
fn shl_assign(&mut self, other: i8)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<isize> for u32
impl ShlAssign<isize> for u32
source§fn shl_assign(&mut self, other: isize)
fn shl_assign(&mut self, other: isize)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<u128> for u32
impl ShlAssign<u128> for u32
source§fn shl_assign(&mut self, other: u128)
fn shl_assign(&mut self, other: u128)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<u16> for u32
impl ShlAssign<u16> for u32
source§fn shl_assign(&mut self, other: u16)
fn shl_assign(&mut self, other: u16)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<u32> for u32
impl ShlAssign<u32> for u32
source§fn shl_assign(&mut self, other: u32)
fn shl_assign(&mut self, other: u32)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<u64> for u32
impl ShlAssign<u64> for u32
source§fn shl_assign(&mut self, other: u64)
fn shl_assign(&mut self, other: u64)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<u8> for u32
impl ShlAssign<u8> for u32
source§fn shl_assign(&mut self, other: u8)
fn shl_assign(&mut self, other: u8)
<<=
operation. Read more1.8.0 · source§impl ShlAssign<usize> for u32
impl ShlAssign<usize> for u32
source§fn shl_assign(&mut self, other: usize)
fn shl_assign(&mut self, other: usize)
<<=
operation. Read more1.22.0 · source§impl ShrAssign<&i128> for u32
impl ShrAssign<&i128> for u32
source§fn shr_assign(&mut self, other: &i128)
fn shr_assign(&mut self, other: &i128)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&i16> for u32
impl ShrAssign<&i16> for u32
source§fn shr_assign(&mut self, other: &i16)
fn shr_assign(&mut self, other: &i16)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&i32> for u32
impl ShrAssign<&i32> for u32
source§fn shr_assign(&mut self, other: &i32)
fn shr_assign(&mut self, other: &i32)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&i64> for u32
impl ShrAssign<&i64> for u32
source§fn shr_assign(&mut self, other: &i64)
fn shr_assign(&mut self, other: &i64)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&i8> for u32
impl ShrAssign<&i8> for u32
source§fn shr_assign(&mut self, other: &i8)
fn shr_assign(&mut self, other: &i8)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&isize> for u32
impl ShrAssign<&isize> for u32
source§fn shr_assign(&mut self, other: &isize)
fn shr_assign(&mut self, other: &isize)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&u128> for u32
impl ShrAssign<&u128> for u32
source§fn shr_assign(&mut self, other: &u128)
fn shr_assign(&mut self, other: &u128)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&u16> for u32
impl ShrAssign<&u16> for u32
source§fn shr_assign(&mut self, other: &u16)
fn shr_assign(&mut self, other: &u16)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&u32> for u32
impl ShrAssign<&u32> for u32
source§fn shr_assign(&mut self, other: &u32)
fn shr_assign(&mut self, other: &u32)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&u64> for u32
impl ShrAssign<&u64> for u32
source§fn shr_assign(&mut self, other: &u64)
fn shr_assign(&mut self, other: &u64)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&u8> for u32
impl ShrAssign<&u8> for u32
source§fn shr_assign(&mut self, other: &u8)
fn shr_assign(&mut self, other: &u8)
>>=
operation. Read more1.22.0 · source§impl ShrAssign<&usize> for u32
impl ShrAssign<&usize> for u32
source§fn shr_assign(&mut self, other: &usize)
fn shr_assign(&mut self, other: &usize)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<i128> for u32
impl ShrAssign<i128> for u32
source§fn shr_assign(&mut self, other: i128)
fn shr_assign(&mut self, other: i128)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<i16> for u32
impl ShrAssign<i16> for u32
source§fn shr_assign(&mut self, other: i16)
fn shr_assign(&mut self, other: i16)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<i32> for u32
impl ShrAssign<i32> for u32
source§fn shr_assign(&mut self, other: i32)
fn shr_assign(&mut self, other: i32)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<i64> for u32
impl ShrAssign<i64> for u32
source§fn shr_assign(&mut self, other: i64)
fn shr_assign(&mut self, other: i64)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<i8> for u32
impl ShrAssign<i8> for u32
source§fn shr_assign(&mut self, other: i8)
fn shr_assign(&mut self, other: i8)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<isize> for u32
impl ShrAssign<isize> for u32
source§fn shr_assign(&mut self, other: isize)
fn shr_assign(&mut self, other: isize)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<u128> for u32
impl ShrAssign<u128> for u32
source§fn shr_assign(&mut self, other: u128)
fn shr_assign(&mut self, other: u128)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<u16> for u32
impl ShrAssign<u16> for u32
source§fn shr_assign(&mut self, other: u16)
fn shr_assign(&mut self, other: u16)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<u32> for u32
impl ShrAssign<u32> for u32
source§fn shr_assign(&mut self, other: u32)
fn shr_assign(&mut self, other: u32)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<u64> for u32
impl ShrAssign<u64> for u32
source§fn shr_assign(&mut self, other: u64)
fn shr_assign(&mut self, other: u64)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<u8> for u32
impl ShrAssign<u8> for u32
source§fn shr_assign(&mut self, other: u8)
fn shr_assign(&mut self, other: u8)
>>=
operation. Read more1.8.0 · source§impl ShrAssign<usize> for u32
impl ShrAssign<usize> for u32
source§fn shr_assign(&mut self, other: usize)
fn shr_assign(&mut self, other: usize)
>>=
operation. Read moresource§impl SimdElement for u32
impl SimdElement for u32
source§impl Step for u32
impl Step for u32
source§unsafe fn forward_unchecked(start: u32, n: usize) -> u32
unsafe fn forward_unchecked(start: u32, n: usize) -> u32
step_trait
#42168)source§unsafe fn backward_unchecked(start: u32, n: usize) -> u32
unsafe fn backward_unchecked(start: u32, n: usize) -> u32
step_trait
#42168)source§fn forward(start: u32, n: usize) -> u32
fn forward(start: u32, n: usize) -> u32
step_trait
#42168)source§fn backward(start: u32, n: usize) -> u32
fn backward(start: u32, n: usize) -> u32
step_trait
#42168)source§fn steps_between(start: &u32, end: &u32) -> Option<usize>
fn steps_between(start: &u32, end: &u32) -> Option<usize>
step_trait
#42168)1.22.0 · source§impl SubAssign<&u32> for u32
impl SubAssign<&u32> for u32
source§fn sub_assign(&mut self, other: &u32)
fn sub_assign(&mut self, other: &u32)
-=
operation. Read more1.8.0 · source§impl SubAssign<u32> for u32
impl SubAssign<u32> for u32
source§fn sub_assign(&mut self, other: u32)
fn sub_assign(&mut self, other: u32)
-=
operation. Read more1.34.0 · source§impl TryFrom<i128> for u32
impl TryFrom<i128> for u32
source§fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<u32, <u32 as TryFrom<i128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i16> for u32
impl TryFrom<i16> for u32
source§fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>
fn try_from(u: i16) -> Result<u32, <u32 as TryFrom<i16>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i32> for u32
impl TryFrom<i32> for u32
source§fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>
fn try_from(u: i32) -> Result<u32, <u32 as TryFrom<i32>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i64> for u32
impl TryFrom<i64> for u32
source§fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>
fn try_from(u: i64) -> Result<u32, <u32 as TryFrom<i64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<i8> for u32
impl TryFrom<i8> for u32
source§fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>
fn try_from(u: i8) -> Result<u32, <u32 as TryFrom<i8>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<isize> for u32
impl TryFrom<isize> for u32
source§fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>
fn try_from(u: isize) -> Result<u32, <u32 as TryFrom<isize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u128> for u32
impl TryFrom<u128> for u32
source§fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>
fn try_from(u: u128) -> Result<u32, <u32 as TryFrom<u128>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<u64> for u32
impl TryFrom<u64> for u32
source§fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>
fn try_from(u: u64) -> Result<u32, <u32 as TryFrom<u64>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.
§type Error = TryFromIntError
type Error = TryFromIntError
1.34.0 · source§impl TryFrom<usize> for u32
impl TryFrom<usize> for u32
source§fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>
fn try_from(u: usize) -> Result<u32, <u32 as TryFrom<usize>>::Error>
Try to create the target number type from a source number type. This returns an error if the source value is outside of the range of the target type.