Type Alias tracing_core::stdlib::ffi::c_ushort
1.64.0 · source · pub type c_ushort = u16;
Expand description
Trait Implementations§
1.22.0 · source§impl AddAssign<&u16> for u16
impl AddAssign<&u16> for u16
source§fn add_assign(&mut self, other: &u16)
fn add_assign(&mut self, other: &u16)
+=
operation. Read more1.8.0 · source§impl AddAssign<u16> for u16
impl AddAssign<u16> for u16
source§fn add_assign(&mut self, other: u16)
fn add_assign(&mut self, other: u16)
+=
operation. Read more1.22.0 · source§impl BitAndAssign<&u16> for u16
impl BitAndAssign<&u16> for u16
source§fn bitand_assign(&mut self, other: &u16)
fn bitand_assign(&mut self, other: &u16)
&=
operation. Read more1.8.0 · source§impl BitAndAssign<u16> for u16
impl BitAndAssign<u16> for u16
source§fn bitand_assign(&mut self, other: u16)
fn bitand_assign(&mut self, other: u16)
&=
operation. Read more1.45.0 · source§impl BitOr<NonZeroU16> for u16
impl BitOr<NonZeroU16> for u16
§type Output = NonZeroU16
type Output = NonZeroU16
|
operator.source§fn bitor(self, rhs: NonZeroU16) -> <u16 as BitOr<NonZeroU16>>::Output
fn bitor(self, rhs: NonZeroU16) -> <u16 as BitOr<NonZeroU16>>::Output
|
operation. Read more1.22.0 · source§impl BitOrAssign<&u16> for u16
impl BitOrAssign<&u16> for u16
source§fn bitor_assign(&mut self, other: &u16)
fn bitor_assign(&mut self, other: &u16)
|=
operation. Read more1.8.0 · source§impl BitOrAssign<u16> for u16
impl BitOrAssign<u16> for u16
source§fn bitor_assign(&mut self, other: u16)
fn bitor_assign(&mut self, other: u16)
|=
operation. Read more1.22.0 · source§impl BitXorAssign<&u16> for u16
impl BitXorAssign<&u16> for u16
source§fn bitxor_assign(&mut self, other: &u16)
fn bitxor_assign(&mut self, other: &u16)
^=
operation. Read more1.8.0 · source§impl BitXorAssign<u16> for u16
impl BitXorAssign<u16> for u16
source§fn bitxor_assign(&mut self, other: u16)
fn bitxor_assign(&mut self, other: u16)
^=
operation. Read more1.51.0 · source§impl Div<NonZeroU16> for u16
impl Div<NonZeroU16> for u16
1.0.0 · source§impl Div<u16> for u16
impl Div<u16> for u16
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<&u16> for u16
impl DivAssign<&u16> for u16
source§fn div_assign(&mut self, other: &u16)
fn div_assign(&mut self, other: &u16)
/=
operation. Read more1.8.0 · source§impl DivAssign<u16> for u16
impl DivAssign<u16> for u16
source§fn div_assign(&mut self, other: u16)
fn div_assign(&mut self, other: u16)
/=
operation. Read more1.31.0 · source§impl From<NonZeroU16> for u16
impl From<NonZeroU16> for u16
source§fn from(nonzero: NonZeroU16) -> u16
fn from(nonzero: NonZeroU16) -> u16
Converts a NonZeroU16
into an u16
1.22.0 · source§impl MulAssign<&u16> for u16
impl MulAssign<&u16> for u16
source§fn mul_assign(&mut self, other: &u16)
fn mul_assign(&mut self, other: &u16)
*=
operation. Read more1.8.0 · source§impl MulAssign<u16> for u16
impl MulAssign<u16> for u16
source§fn mul_assign(&mut self, other: u16)
fn mul_assign(&mut self, other: u16)
*=
operation. Read more1.0.0 · source§impl Ord for u16
impl Ord for u16
1.0.0 · source§impl PartialOrd<u16> for u16
impl PartialOrd<u16> for u16
source§fn le(&self, other: &u16) -> bool
fn le(&self, other: &u16) -> bool
self
and other
) and is used by the <=
operator. Read more1.51.0 · source§impl Rem<NonZeroU16> for u16
impl Rem<NonZeroU16> for u16
1.0.0 · source§impl Rem<u16> for u16
impl Rem<u16> for u16
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<&u16> for u16
impl RemAssign<&u16> for u16
source§fn rem_assign(&mut self, other: &u16)
fn rem_assign(&mut self, other: &u16)
%=
operation. Read more1.8.0 · source§impl RemAssign<u16> for u16
impl RemAssign<u16> for u16
source§fn rem_assign(&mut self, other: u16)
fn rem_assign(&mut self, other: u16)
%=
operation. Read more1.22.0 · source§impl ShlAssign<&i128> for u16
impl ShlAssign<&i128> for u16
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 u16
impl ShlAssign<&i16> for u16
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 u16
impl ShlAssign<&i32> for u16
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 u16
impl ShlAssign<&i64> for u16
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 u16
impl ShlAssign<&i8> for u16
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 u16
impl ShlAssign<&isize> for u16
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 u16
impl ShlAssign<&u128> for u16
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 u16
impl ShlAssign<&u16> for u16
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 u16
impl ShlAssign<&u32> for u16
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 u16
impl ShlAssign<&u64> for u16
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 u16
impl ShlAssign<&u8> for u16
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 u16
impl ShlAssign<&usize> for u16
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 u16
impl ShlAssign<i128> for u16
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 u16
impl ShlAssign<i16> for u16
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 u16
impl ShlAssign<i32> for u16
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 u16
impl ShlAssign<i64> for u16
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 u16
impl ShlAssign<i8> for u16
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 u16
impl ShlAssign<isize> for u16
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 u16
impl ShlAssign<u128> for u16
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 u16
impl ShlAssign<u16> for u16
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 u16
impl ShlAssign<u32> for u16
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 u16
impl ShlAssign<u64> for u16
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 u16
impl ShlAssign<u8> for u16
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 u16
impl ShlAssign<usize> for u16
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 u16
impl ShrAssign<&i128> for u16
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 u16
impl ShrAssign<&i16> for u16
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 u16
impl ShrAssign<&i32> for u16
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 u16
impl ShrAssign<&i64> for u16
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 u16
impl ShrAssign<&i8> for u16
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 u16
impl ShrAssign<&isize> for u16
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 u16
impl ShrAssign<&u128> for u16
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 u16
impl ShrAssign<&u16> for u16
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 u16
impl ShrAssign<&u32> for u16
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 u16
impl ShrAssign<&u64> for u16
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 u16
impl ShrAssign<&u8> for u16
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 u16
impl ShrAssign<&usize> for u16
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 u16
impl ShrAssign<i128> for u16
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 u16
impl ShrAssign<i16> for u16
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 u16
impl ShrAssign<i32> for u16
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 u16
impl ShrAssign<i64> for u16
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 u16
impl ShrAssign<i8> for u16
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 u16
impl ShrAssign<isize> for u16
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 u16
impl ShrAssign<u128> for u16
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 u16
impl ShrAssign<u16> for u16
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 u16
impl ShrAssign<u32> for u16
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 u16
impl ShrAssign<u64> for u16
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 u16
impl ShrAssign<u8> for u16
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 u16
impl ShrAssign<usize> for u16
source§fn shr_assign(&mut self, other: usize)
fn shr_assign(&mut self, other: usize)
>>=
operation. Read moresource§impl SimdElement for u16
impl SimdElement for u16
source§impl Step for u16
impl Step for u16
source§unsafe fn forward_unchecked(start: u16, n: usize) -> u16
unsafe fn forward_unchecked(start: u16, n: usize) -> u16
step_trait
#42168)source§unsafe fn backward_unchecked(start: u16, n: usize) -> u16
unsafe fn backward_unchecked(start: u16, n: usize) -> u16
step_trait
#42168)source§fn forward(start: u16, n: usize) -> u16
fn forward(start: u16, n: usize) -> u16
step_trait
#42168)source§fn backward(start: u16, n: usize) -> u16
fn backward(start: u16, n: usize) -> u16
step_trait
#42168)source§fn steps_between(start: &u16, end: &u16) -> Option<usize>
fn steps_between(start: &u16, end: &u16) -> Option<usize>
step_trait
#42168)1.22.0 · source§impl SubAssign<&u16> for u16
impl SubAssign<&u16> for u16
source§fn sub_assign(&mut self, other: &u16)
fn sub_assign(&mut self, other: &u16)
-=
operation. Read more1.8.0 · source§impl SubAssign<u16> for u16
impl SubAssign<u16> for u16
source§fn sub_assign(&mut self, other: u16)
fn sub_assign(&mut self, other: u16)
-=
operation. Read more1.74.0 · source§impl TryFrom<char> for u16
impl TryFrom<char> for u16
Maps a char
with code point in U+0000..=U+FFFF to a u16
in 0x0000..=0xFFFF with same value,
failing if the code point is greater than U+FFFF.
This corresponds to the UCS-2 encoding, as specified in ISO/IEC 10646:2003.
1.34.0 · source§impl TryFrom<i128> for u16
impl TryFrom<i128> for u16
source§fn try_from(u: i128) -> Result<u16, <u16 as TryFrom<i128>>::Error>
fn try_from(u: i128) -> Result<u16, <u16 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 u16
impl TryFrom<i16> for u16
source§fn try_from(u: i16) -> Result<u16, <u16 as TryFrom<i16>>::Error>
fn try_from(u: i16) -> Result<u16, <u16 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 u16
impl TryFrom<i32> for u16
source§fn try_from(u: i32) -> Result<u16, <u16 as TryFrom<i32>>::Error>
fn try_from(u: i32) -> Result<u16, <u16 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 u16
impl TryFrom<i64> for u16
source§fn try_from(u: i64) -> Result<u16, <u16 as TryFrom<i64>>::Error>
fn try_from(u: i64) -> Result<u16, <u16 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 u16
impl TryFrom<i8> for u16
source§fn try_from(u: i8) -> Result<u16, <u16 as TryFrom<i8>>::Error>
fn try_from(u: i8) -> Result<u16, <u16 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 u16
impl TryFrom<isize> for u16
source§fn try_from(u: isize) -> Result<u16, <u16 as TryFrom<isize>>::Error>
fn try_from(u: isize) -> Result<u16, <u16 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 u16
impl TryFrom<u128> for u16
source§fn try_from(u: u128) -> Result<u16, <u16 as TryFrom<u128>>::Error>
fn try_from(u: u128) -> Result<u16, <u16 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<u32> for u16
impl TryFrom<u32> for u16
source§fn try_from(u: u32) -> Result<u16, <u16 as TryFrom<u32>>::Error>
fn try_from(u: u32) -> Result<u16, <u16 as TryFrom<u32>>::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 u16
impl TryFrom<u64> for u16
source§fn try_from(u: u64) -> Result<u16, <u16 as TryFrom<u64>>::Error>
fn try_from(u: u64) -> Result<u16, <u16 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 u16
impl TryFrom<usize> for u16
source§fn try_from(u: usize) -> Result<u16, <u16 as TryFrom<usize>>::Error>
fn try_from(u: usize) -> Result<u16, <u16 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.