Skip to main content

i8x32

Struct i8x32 

Source
pub struct i8x32 { /* private fields */ }

Implementations§

Source§

impl i8x32

Source

pub const ONE: i8x32

Source

pub const ZERO: i8x32

Source

pub const MAX: i8x32

Source

pub const MIN: i8x32

Source

pub const LANES: u16 = 32

The number of lanes in this SIMD vector.

Source

pub const BITS: u16 = 256

The size of this SIMD vector in bits.

Source§

impl i8x32

Source

pub const fn new(array: [i8; 32]) -> Self

Source

pub fn simd_eq<Rhs>(self, other: Rhs) -> <Self as CmpEq<Rhs>>::Output
where Self: CmpEq<Rhs>,

Test if each element is equal to the corresponding element in other.

Source

pub fn simd_ne<Rhs>(self, other: Rhs) -> <Self as CmpNe<Rhs>>::Output
where Self: CmpNe<Rhs>,

Test if each element is not equal to the corresponding element in other.

Source

pub fn simd_lt<Rhs>(self, other: Rhs) -> <Self as CmpLt<Rhs>>::Output
where Self: CmpLt<Rhs>,

Test if each element is less than the corresponding element in other.

Source

pub fn simd_gt<Rhs>(self, other: Rhs) -> <Self as CmpGt<Rhs>>::Output
where Self: CmpGt<Rhs>,

Test if each element is greater than the corresponding element in other.

Source

pub fn simd_le<Rhs>(self, other: Rhs) -> <Self as CmpLe<Rhs>>::Output
where Self: CmpLe<Rhs>,

Test if each element is less than or equal to the corresponding element in other.

Source

pub fn simd_ge<Rhs>(self, other: Rhs) -> <Self as CmpGe<Rhs>>::Output
where Self: CmpGe<Rhs>,

Test if each element is greater than or equal to the corresponding element in other.

Source

pub fn blend(self, t: Self, f: Self) -> Self

Source

pub fn is_positive(self) -> Self

Returns true for each positive element and false if it is zero or negative.

Source

pub fn is_negative(self) -> Self

Returns true for each negative element and false if it is zero or positive.

Source

pub fn reduce_add(self) -> i8

Source

pub fn reduce_max(self) -> i8

Source

pub fn reduce_min(self) -> i8

Source

pub fn abs(self) -> Self

Source

pub fn unsigned_abs(self) -> u8x32

Source

pub fn signum(self) -> Self

Returns numbers representing the sign of each element.

  • 0 if the number is zero
  • 1 if the number is positive
  • -1 if the number is negative
Source

pub fn max(self, rhs: Self) -> Self

Source

pub fn min(self, rhs: Self) -> Self

Source

pub fn clamp(self, min: Self, max: Self) -> Self

Restrict each element to a certain interval.

If min > max, the result is unspeficied. Consider manually checking for that case.

Source

pub fn saturating_add(self, rhs: Self) -> Self

Source

pub fn saturating_sub(self, rhs: Self) -> Self

Source

pub fn saturating_mul(self, rhs: Self) -> Self

Lanewise saturating multiply.

Source

pub fn saturating_div(self, rhs: Self) -> Self

Lanewise saturating divide.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source

pub fn to_bitmask(self) -> u32

Source

pub fn any(self) -> bool

Source

pub fn all(self) -> bool

Source

pub fn none(self) -> bool

Source

pub fn swizzle_half(self, rhs: i8x32) -> i8x32

Returns a new vector with lanes selected from the lanes of the first input vector a specified in the second input vector rhs. The indices i in range [0, 15] select the i-th element of self. For indices outside of the range the resulting lane is 0.

This note that is the equivalent of two parallel swizzle operations on the two halves of the vector, and the indexes each refer to the corresponding half.

Source

pub fn swizzle_half_relaxed(self, rhs: i8x32) -> i8x32

Indices in the range [0, 15] will select the i-th element of self. If the high bit of any element of rhs is set (negative) then the corresponding output lane is guaranteed to be zero. Otherwise if the element of rhs is within the range [32, 127] then the output lane is either 0 or self[rhs[i] % 16] depending on the implementation.

This is the equivalent to two parallel swizzle operations on the two halves of the vector, and the indexes each refer to their corresponding half.

Source

pub fn transpose(data: [i8x32; 32]) -> [i8x32; 32]

Transpose matrix of 32x32 i8 matrix. Currently not accelerated.

Source

pub fn to_array(self) -> [i8; 32]

Source

pub fn as_array(&self) -> &[i8; 32]

Source

pub fn as_mut_array(&mut self) -> &mut [i8; 32]

Source§

impl i8x32

Source

pub const fn splat(elem: i8) -> i8x32

Trait Implementations§

Source§

impl CmpEq<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_eq(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpEq for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_eq(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGe<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ge(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGe for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ge(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGt<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_gt(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpGt for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_gt(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLe<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_le(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLe for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_le(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLt<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_lt(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpLt for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_lt(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpNe<i8> for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ne(self, rhs: i8) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl CmpNe for i8x32

Source§

type Output = i8x32

👎Deprecated since 1.5.0:

use inherit function instead

Source§

fn simd_ne(self, rhs: Self) -> Self::Output

👎Deprecated since 1.5.0:

use inherit function instead

Source§

impl Add<&i8x32> for i8x32

Source§

type Output = i8x32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Self) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i8> for i8x32

Source§

type Output = i8x32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> Self::Output

Performs the + operation. Read more
Source§

impl Add<i8x32> for i8

Source§

type Output = i8x32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8x32) -> Self::Output

Performs the + operation. Read more
Source§

impl Add for i8x32

Source§

type Output = i8x32

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Self) -> Self::Output

Performs the + operation. Read more
Source§

impl AddAssign<&i8x32> for i8x32

Source§

fn add_assign(&mut self, rhs: &Self)

Performs the += operation. Read more
Source§

impl AddAssign for i8x32

Source§

fn add_assign(&mut self, rhs: Self)

Performs the += operation. Read more
Source§

impl AlignTo for i8x32

Source§

type Elem = i8

Source§

fn simd_align_to( slice: &[Self::Elem], ) -> (&[Self::Elem], &[Self], &[Self::Elem])

Source§

fn simd_align_to_mut( slice: &mut [Self::Elem], ) -> (&mut [Self::Elem], &mut [Self], &mut [Self::Elem])

Source§

impl Binary for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl BitAnd<&i8x32> for i8x32

Source§

type Output = i8x32

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAnd for i8x32

Source§

type Output = i8x32

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Self) -> Self::Output

Performs the & operation. Read more
Source§

impl BitAndAssign<&i8x32> for i8x32

Source§

fn bitand_assign(&mut self, rhs: &Self)

Performs the &= operation. Read more
Source§

impl BitAndAssign for i8x32

Source§

fn bitand_assign(&mut self, rhs: Self)

Performs the &= operation. Read more
Source§

impl BitOr<&i8x32> for i8x32

Source§

type Output = i8x32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr for i8x32

Source§

type Output = i8x32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Self) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOrAssign<&i8x32> for i8x32

Source§

fn bitor_assign(&mut self, rhs: &Self)

Performs the |= operation. Read more
Source§

impl BitOrAssign for i8x32

Source§

fn bitor_assign(&mut self, rhs: Self)

Performs the |= operation. Read more
Source§

impl BitXor<&i8x32> for i8x32

Source§

type Output = i8x32

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXor for i8x32

Source§

type Output = i8x32

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Self) -> Self::Output

Performs the ^ operation. Read more
Source§

impl BitXorAssign<&i8x32> for i8x32

Source§

fn bitxor_assign(&mut self, rhs: &Self)

Performs the ^= operation. Read more
Source§

impl BitXorAssign for i8x32

Source§

fn bitxor_assign(&mut self, rhs: Self)

Performs the ^= operation. Read more
Source§

impl Clone for i8x32

Source§

fn clone(&self) -> i8x32

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for i8x32

Source§

fn default() -> i8x32

Returns the “default value” for a type. Read more
Source§

impl Display for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Div<i8> for i8x32

Source§

fn div(self, rhs: i8) -> Self::Output

Lanewise divide.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the / operator.
Source§

impl Div<i8x32> for i8

Source§

fn div(self, rhs: i8x32) -> Self::Output

Lanewise divide.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the / operator.
Source§

impl Div for i8x32

Source§

fn div(self, rhs: Self) -> Self::Output

Lanewise divide.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the / operator.
Source§

impl From<&[i8]> for i8x32

Source§

fn from(src: &[i8]) -> i8x32

Converts to this type from the input type.
Source§

impl From<[i8; 32]> for i8x32

Source§

fn from(arr: [i8; 32]) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for i8x32

Source§

fn from(elem: i8) -> Self

Splats the single value given across all lanes.

Source§

impl From<i8x32> for [i8; 32]

Source§

fn from(simd: i8x32) -> Self

Converts to this type from the input type.
Source§

impl LowerExp for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl LowerHex for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Mul<i8> for i8x32

Source§

type Output = i8x32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<i8x32> for i8

Source§

type Output = i8x32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8x32) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul for i8x32

Source§

type Output = i8x32

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Self) -> Self::Output

Performs the * operation. Read more
Source§

impl Neg for &i8x32

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Neg for i8x32

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self::Output

Performs the unary - operation. Read more
Source§

impl Not for &i8x32

Source§

type Output = i8x32

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self::Output

Performs the unary ! operation. Read more
Source§

impl Not for i8x32

Source§

type Output = i8x32

The resulting type after applying the ! operator.
Source§

fn not(self) -> Self

Performs the unary ! operation. Read more
Source§

impl Octal for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for i8x32

Source§

fn eq(&self, other: &i8x32) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Rem<i8> for i8x32

Source§

fn rem(self, rhs: i8) -> Self::Output

Lanewise remainder.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the % operator.
Source§

impl Rem<i8x32> for i8

Source§

fn rem(self, rhs: i8x32) -> Self::Output

Lanewise remainder.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the % operator.
Source§

impl Rem for i8x32

Source§

fn rem(self, rhs: Self) -> Self::Output

Lanewise remainder.

Note that because division has no hardware support, this operation is very slow and should be avoided if possible.

Source§

type Output = i8x32

The resulting type after applying the % operator.
Source§

impl Shl<i128> for i8x32

Source§

fn shl(self, rhs: i128) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<i16> for i8x32

Source§

fn shl(self, rhs: i16) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<i32> for i8x32

Source§

fn shl(self, rhs: i32) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<i64> for i8x32

Source§

fn shl(self, rhs: i64) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<i8> for i8x32

Source§

fn shl(self, rhs: i8) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<u128> for i8x32

Source§

fn shl(self, rhs: u128) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<u16> for i8x32

Source§

fn shl(self, rhs: u16) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<u32> for i8x32

Source§

fn shl(self, rhs: u32) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<u64> for i8x32

Source§

fn shl(self, rhs: u64) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl<u8> for i8x32

Source§

fn shl(self, rhs: u8) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

impl Shl for i8x32

Source§

type Output = i8x32

The resulting type after applying the << operator.
Source§

fn shl(self, rhs: Self) -> Self::Output

Performs the << operation. Read more
Source§

impl Shr<i128> for i8x32

Source§

fn shr(self, rhs: i128) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<i16> for i8x32

Source§

fn shr(self, rhs: i16) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<i32> for i8x32

Source§

fn shr(self, rhs: i32) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<i64> for i8x32

Source§

fn shr(self, rhs: i64) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<i8> for i8x32

Source§

fn shr(self, rhs: i8) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<u128> for i8x32

Source§

fn shr(self, rhs: u128) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<u16> for i8x32

Source§

fn shr(self, rhs: u16) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<u32> for i8x32

Source§

fn shr(self, rhs: u32) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<u64> for i8x32

Source§

fn shr(self, rhs: u64) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr<u8> for i8x32

Source§

fn shr(self, rhs: u8) -> Self::Output

Shifts all lanes by a uniform value.

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

impl Shr for i8x32

Source§

type Output = i8x32

The resulting type after applying the >> operator.
Source§

fn shr(self, rhs: Self) -> Self::Output

Performs the >> operation. Read more
Source§

impl Sub<&i8x32> for i8x32

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Self) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i8> for i8x32

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub<i8x32> for i8

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8x32) -> Self::Output

Performs the - operation. Read more
Source§

impl Sub for i8x32

Source§

type Output = i8x32

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Self) -> Self::Output

Performs the - operation. Read more
Source§

impl SubAssign<&i8x32> for i8x32

Source§

fn sub_assign(&mut self, rhs: &Self)

Performs the -= operation. Read more
Source§

impl SubAssign for i8x32

Source§

fn sub_assign(&mut self, rhs: Self)

Performs the -= operation. Read more
Source§

impl<RHS> Sum<RHS> for i8x32
where i8x32: AddAssign<RHS>,

Source§

fn sum<I: Iterator<Item = RHS>>(iter: I) -> Self

Takes an iterator and generates Self from the elements by “summing up” the items.
Source§

impl UpperExp for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl UpperHex for i8x32

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Zeroable for i8x32

Source§

fn zeroed() -> Self

Source§

impl Copy for i8x32

Source§

impl Eq for i8x32

Source§

impl Pod for i8x32

Source§

impl StructuralPartialEq for i8x32

Auto Trait Implementations§

§

impl Freeze for i8x32

§

impl RefUnwindSafe for i8x32

§

impl Send for i8x32

§

impl Sync for i8x32

§

impl Unpin for i8x32

§

impl UnsafeUnpin for i8x32

§

impl UnwindSafe for i8x32

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CheckedBitPattern for T
where T: AnyBitPattern,

Source§

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

If this function returns true, then it must be valid to reinterpret bits as &Self.
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> AnyBitPattern for T
where T: Pod,

Source§

impl<T> NoUninit for T
where T: Pod,