Skip to main content

SimpleNumber

Enum SimpleNumber 

Source
#[repr(align(16))]
pub enum SimpleNumber { FixedInteger(i64), BigInteger(Integer), Rational(Rational), Real(f64), }
Expand description

Scheme simple numeric type (i.e. numbers that satisfy real?)

Variants§

§

FixedInteger(i64)

§

BigInteger(Integer)

§

Rational(Rational)

§

Real(f64)

Implementations§

Source§

impl SimpleNumber

Source

pub fn zero() -> Self

Source

pub fn one() -> Self

Source

pub fn infinity() -> Self

Source

pub fn neg_infinity() -> Self

Source

pub fn is_zero(&self) -> bool

Source

pub fn is_one(&self) -> bool

Source

pub fn is_neg_one(&self) -> bool

Source

pub fn is_exact(&self) -> bool

Source

pub fn to_string(&self, radix: u32, precision: Option<usize>) -> Option<String>

Source

pub fn is_nan(&self) -> bool

Source

pub fn is_finite(&self) -> bool

Source

pub fn is_infinite(&self) -> bool

Source

pub fn is_negative(&self) -> bool

Source

pub fn is_positive(&self) -> bool

Source

pub fn is_integer(&self) -> bool

Source

pub fn is_rational(&self) -> bool

Source

pub fn to_integer(&self, rounding_mode: RoundingMode) -> Self

Source

pub fn inexact(&self) -> Self

Source

pub fn exact(&self) -> Self

Source

pub fn abs(&self) -> Self

Source

pub fn powi(&self, p: i32) -> Self

Source

pub fn div_euclid(&self, rhs: &Self) -> Self

Source

pub fn pow(&self, p: &SimpleNumber) -> Self

Source

pub fn sqrt(&self) -> Self

Source

pub fn eqv(&self, rhs: &Self) -> bool

Source

pub fn to_f64(&self) -> f64

Source

pub fn exp(&self) -> Self

Source

pub fn ln(&self) -> Self

Source

pub fn sin(&self) -> Self

Source

pub fn cos(&self) -> Self

Source

pub fn tan(&self) -> Self

Source

pub fn sinh(&self) -> Self

Source

pub fn cosh(&self) -> Self

Source

pub fn tanh(&self) -> Self

Source

pub fn asin(&self) -> Self

Source

pub fn acos(&self) -> Self

Source

pub fn atan(&self) -> Self

Source

pub fn atan2(&self, num2: &Self) -> Self

Trait Implementations§

Source§

impl Add for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &SimpleNumber) -> SimpleNumber

Performs the + operation. Read more
Source§

impl Add for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the + operator.
Source§

fn add(self, rhs: SimpleNumber) -> SimpleNumber

Performs the + operation. Read more
Source§

impl Clone for SimpleNumber

Source§

fn clone(&self) -> SimpleNumber

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 SimpleNumber

Source§

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

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

impl Display for SimpleNumber

Source§

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

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

impl Div for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &SimpleNumber) -> SimpleNumber

Performs the / operation. Read more
Source§

impl Div for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the / operator.
Source§

fn div(self, rhs: SimpleNumber) -> SimpleNumber

Performs the / operation. Read more
Source§

impl From<&SimpleNumber> for Option<Integer>

Source§

fn from(num: &SimpleNumber) -> Option<Integer>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<f64>

Source§

fn from(num: &SimpleNumber) -> Option<f64>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<i128>

Source§

fn from(num: &SimpleNumber) -> Option<i128>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<i16>

Source§

fn from(num: &SimpleNumber) -> Option<i16>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<i32>

Source§

fn from(num: &SimpleNumber) -> Option<i32>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<i64>

Source§

fn from(num: &SimpleNumber) -> Option<i64>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<i8>

Source§

fn from(num: &SimpleNumber) -> Option<i8>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<isize>

Source§

fn from(num: &SimpleNumber) -> Option<isize>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<u128>

Source§

fn from(num: &SimpleNumber) -> Option<u128>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<u16>

Source§

fn from(num: &SimpleNumber) -> Option<u16>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<u32>

Source§

fn from(num: &SimpleNumber) -> Option<u32>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<u64>

Source§

fn from(num: &SimpleNumber) -> Option<u64>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<u8>

Source§

fn from(num: &SimpleNumber) -> Option<u8>

Converts to this type from the input type.
Source§

impl From<&SimpleNumber> for Option<usize>

Source§

fn from(num: &SimpleNumber) -> Option<usize>

Converts to this type from the input type.
Source§

impl From<Integer> for SimpleNumber

Source§

fn from(i: Integer) -> Self

Converts to this type from the input type.
Source§

impl From<Rational> for SimpleNumber

Source§

fn from(r: Rational) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for ComplexNumber

Source§

fn from(value: SimpleNumber) -> Self

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<Integer>

Source§

fn from(num: SimpleNumber) -> Option<Integer>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<f64>

Source§

fn from(num: SimpleNumber) -> Option<f64>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<i128>

Source§

fn from(num: SimpleNumber) -> Option<i128>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<i16>

Source§

fn from(num: SimpleNumber) -> Option<i16>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<i32>

Source§

fn from(num: SimpleNumber) -> Option<i32>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<i64>

Source§

fn from(num: SimpleNumber) -> Option<i64>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<i8>

Source§

fn from(num: SimpleNumber) -> Option<i8>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<isize>

Source§

fn from(num: SimpleNumber) -> Option<isize>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<u128>

Source§

fn from(num: SimpleNumber) -> Option<u128>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<u16>

Source§

fn from(num: SimpleNumber) -> Option<u16>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<u32>

Source§

fn from(num: SimpleNumber) -> Option<u32>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<u64>

Source§

fn from(num: SimpleNumber) -> Option<u64>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<u8>

Source§

fn from(num: SimpleNumber) -> Option<u8>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Option<usize>

Source§

fn from(num: SimpleNumber) -> Option<usize>

Converts to this type from the input type.
Source§

impl From<SimpleNumber> for Value

Source§

fn from(n: SimpleNumber) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for SimpleNumber

Source§

fn from(r: f64) -> Self

Converts to this type from the input type.
Source§

impl From<i128> for SimpleNumber

Source§

fn from(u: i128) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for SimpleNumber

Source§

fn from(i: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for SimpleNumber

Source§

fn from(i: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for SimpleNumber

Source§

fn from(i: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for SimpleNumber

Source§

fn from(i: i8) -> Self

Converts to this type from the input type.
Source§

impl From<isize> for SimpleNumber

Source§

fn from(u: isize) -> Self

Converts to this type from the input type.
Source§

impl From<u128> for SimpleNumber

Source§

fn from(u: u128) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for SimpleNumber

Source§

fn from(i: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for SimpleNumber

Source§

fn from(i: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for SimpleNumber

Source§

fn from(i: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for SimpleNumber

Source§

fn from(i: u8) -> Self

Converts to this type from the input type.
Source§

impl From<usize> for SimpleNumber

Source§

fn from(u: usize) -> Self

Converts to this type from the input type.
Source§

impl Hash for SimpleNumber

Hash implementation for SimpleNumber is the eqv-hash procedure from r6rs.

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Mul for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &SimpleNumber) -> SimpleNumber

Performs the * operation. Read more
Source§

impl Mul for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: SimpleNumber) -> SimpleNumber

Performs the * operation. Read more
Source§

impl Neg for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the - operator.
Source§

fn neg(self) -> SimpleNumber

Performs the unary - operation. Read more
Source§

impl Neg for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the - operator.
Source§

fn neg(self) -> Self

Performs the unary - operation. Read more
Source§

impl PartialEq for SimpleNumber

Source§

fn eq(&self, rhs: &Self) -> 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 PartialOrd for SimpleNumber

Source§

fn partial_cmp(&self, rhs: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Rem for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &SimpleNumber) -> SimpleNumber

Performs the % operation. Read more
Source§

impl Rem for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: SimpleNumber) -> SimpleNumber

Performs the % operation. Read more
Source§

impl Sub for &SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &SimpleNumber) -> SimpleNumber

Performs the - operation. Read more
Source§

impl Sub for SimpleNumber

Source§

type Output = SimpleNumber

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: SimpleNumber) -> SimpleNumber

Performs the - operation. Read more
Source§

impl TryFrom<&Number> for SimpleNumber

Source§

type Error = Exception

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

fn try_from(value: &Number) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for Integer

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<Integer, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for f64

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<f64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for i128

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<i128, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for i16

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<i16, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for i32

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<i32, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for i64

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<i64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for i8

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<i8, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for isize

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<isize, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for u128

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<u128, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for u16

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<u16, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for u32

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<u32, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for u64

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<u64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for u8

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<u8, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&SimpleNumber> for usize

Source§

type Error = Exception

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

fn try_from(num: &SimpleNumber) -> Result<usize, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&Value> for SimpleNumber

Source§

type Error = Exception

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

fn try_from(value: &Value) -> Result<SimpleNumber, Self::Error>

Performs the conversion.
Source§

impl TryFrom<(Part, u32)> for SimpleNumber

Source§

type Error = ParseNumberError

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

fn try_from((part, radix): (Part, u32)) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Number> for SimpleNumber

Source§

type Error = Exception

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

fn try_from(value: Number) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for Integer

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<Integer, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for f64

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<f64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for i128

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<i128, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for i16

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<i16, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for i32

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<i32, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for i64

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<i64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for i8

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<i8, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for isize

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<isize, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for u128

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<u128, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for u16

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<u16, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for u32

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<u32, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for u64

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<u64, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for u8

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<u8, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SimpleNumber> for usize

Source§

type Error = Exception

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

fn try_from(num: SimpleNumber) -> Result<usize, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Value> for SimpleNumber

Source§

type Error = Exception

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

fn try_from(value: Value) -> Result<SimpleNumber, Self::Error>

Performs the conversion.

Auto Trait Implementations§

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> 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, U> ExactFrom<T> for U
where U: TryFrom<T>,

Source§

fn exact_from(value: T) -> U

Source§

impl<T, U> ExactInto<U> for T
where U: ExactFrom<T>,

Source§

fn exact_into(self) -> U

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T, U> OverflowingInto<U> for T
where U: OverflowingFrom<T>,

Source§

impl<T, U> RoundingInto<U> for T
where U: RoundingFrom<T>,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> SaturatingInto<U> for T
where U: SaturatingFrom<T>,

Source§

impl<T> ToDebugString for T
where T: Debug,

Source§

fn to_debug_string(&self) -> String

Returns the String produced by Ts Debug implementation.

§Examples
use malachite_base::strings::ToDebugString;

assert_eq!([1, 2, 3].to_debug_string(), "[1, 2, 3]");
assert_eq!(
    [vec![2, 3], vec![], vec![4]].to_debug_string(),
    "[[2, 3], [], [4]]"
);
assert_eq!(Some(5).to_debug_string(), "Some(5)");
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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T, U> WrappingInto<U> for T
where U: WrappingFrom<T>,

Source§

fn wrapping_into(self) -> U

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,