[−][src]Struct algebraics::mod_int::ModularInteger
Methods
impl<V, M> ModularInteger<V, M>
[src]
impl<V, M: PartialEq> ModularInteger<V, M>
[src]
pub fn has_matching_moduli(&self, rhs: &Self) -> bool
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> ModularInteger<V, M>
[src]
pub fn new(value: V, modulus: M) -> Self
[src]
pub fn neg_assign(&mut self)
[src]
*self = -*self
pub fn from_u8(value: u8, modulus: M) -> Self
[src]
pub fn from_i8(value: i8, modulus: M) -> Self
[src]
pub fn from_u16(value: u16, modulus: M) -> Self
[src]
pub fn from_i16(value: i16, modulus: M) -> Self
[src]
pub fn from_u32(value: u32, modulus: M) -> Self
[src]
pub fn from_i32(value: i32, modulus: M) -> Self
[src]
pub fn from_u64(value: u64, modulus: M) -> Self
[src]
pub fn from_i64(value: i64, modulus: M) -> Self
[src]
pub fn from_u128(value: u128, modulus: M) -> Self
[src]
pub fn from_i128(value: i128, modulus: M) -> Self
[src]
pub fn from_usize(value: usize, modulus: M) -> Self
[src]
pub fn from_isize(value: isize, modulus: M) -> Self
[src]
pub fn from_bigint(value: &BigInt, modulus: M) -> Self
[src]
pub fn from_biguint(value: &BigUint, modulus: M) -> Self
[src]
impl<V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> ModularInteger<V, M>
[src]
pub fn checked_inverse(&self) -> Option<Self>
[src]
pub fn inverse(&self) -> Self
[src]
Trait Implementations
impl<V, M> PolynomialCoefficient for ModularInteger<V, M> where
V: ModularReducePow<usize> + Eq + One + Zero + Debug + Hash,
M: Modulus<V> + Debug + Hash,
[src]
V: ModularReducePow<usize> + Eq + One + Zero + Debug + Hash,
M: Modulus<V> + Debug + Hash,
type Element = Self
type Divisor = DivisorIsOne
const NESTING_DEPTH: usize
[src]
fn is_element_zero(element: &Self::Element) -> bool
[src]
fn is_element_one(element: &Self::Element) -> bool
[src]
fn is_coefficient_zero(coefficient: &Self) -> bool
[src]
fn is_coefficient_one(coefficient: &Self) -> bool
[src]
fn set_element_zero(element: &mut Self::Element)
[src]
fn set_element_one(element: &mut Self::Element)
[src]
fn set_coefficient_zero(coefficient: &mut Self)
[src]
fn set_coefficient_one(coefficient: &mut Self)
[src]
fn make_zero_element(element: Cow<Self::Element>) -> Self::Element
[src]
fn make_one_element(element: Cow<Self::Element>) -> Self::Element
[src]
fn make_zero_coefficient_from_element(element: Cow<Self::Element>) -> Self
[src]
fn make_one_coefficient_from_element(element: Cow<Self::Element>) -> Self
[src]
fn make_zero_coefficient_from_coefficient(coefficient: Cow<Self>) -> Self
[src]
fn make_one_coefficient_from_coefficient(coefficient: Cow<Self>) -> Self
[src]
fn negate_element(element: &mut Self::Element)
[src]
fn mul_element_by_usize(
element: Cow<Self::Element>,
multiplier: usize
) -> Self::Element
[src]
element: Cow<Self::Element>,
multiplier: usize
) -> Self::Element
fn mul_assign_element_by_usize(element: &mut Self::Element, multiplier: usize)
[src]
fn divisor_to_element(
_v: Cow<Self::Divisor>,
other_element: Cow<Self::Element>
) -> Self::Element
[src]
_v: Cow<Self::Divisor>,
other_element: Cow<Self::Element>
) -> Self::Element
fn coefficients_to_elements(
coefficients: Cow<[Self]>
) -> (Vec<Self::Element>, Self::Divisor)
[src]
coefficients: Cow<[Self]>
) -> (Vec<Self::Element>, Self::Divisor)
fn make_coefficient(
element: Cow<Self::Element>,
_divisor: Cow<Self::Divisor>
) -> Self
[src]
element: Cow<Self::Element>,
_divisor: Cow<Self::Divisor>
) -> Self
fn reduce_divisor(_elements: &mut [Self::Element], _divisor: &mut Self::Divisor)
[src]
fn get_reduced_divisor(
elements: &[Self::Element],
_divisor: &Self::Divisor
) -> (Vec<Self::Element>, Self::Divisor)
[src]
elements: &[Self::Element],
_divisor: &Self::Divisor
) -> (Vec<Self::Element>, Self::Divisor)
fn coefficient_to_element(
coefficient: Cow<Self>
) -> (Self::Element, Self::Divisor)
[src]
coefficient: Cow<Self>
) -> (Self::Element, Self::Divisor)
fn divisor_pow_usize(_base: Self::Divisor, _exponent: usize) -> Self::Divisor
[src]
fn element_pow_usize(base: Self::Element, exponent: usize) -> Self::Element
[src]
fn coefficient_pow_usize(base: Self, exponent: usize) -> Self
[src]
fn from_iterator<I: Iterator<Item = Self>>(iter: I) -> Polynomial<Self>
[src]
impl<V, M> PolynomialReducingFactorSupported for ModularInteger<V, M> where
V: ModularReducePow<usize> + Integer + Debug + Hash,
M: PrimeModulus<V> + Debug + Hash,
[src]
V: ModularReducePow<usize> + Integer + Debug + Hash,
M: PrimeModulus<V> + Debug + Hash,
fn get_nonzero_reducing_factor(
elements: &[Self::Element],
_divisor: &Self::Divisor
) -> Option<Self>
[src]
elements: &[Self::Element],
_divisor: &Self::Divisor
) -> Option<Self>
impl<V, M> ExactDiv<ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
type Output = ModularInteger<V, M>
fn exact_div(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
fn checked_exact_div(self, rhs: ModularInteger<V, M>) -> Option<Self::Output>
[src]
impl<'r, V, M> ExactDiv<&'r ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
type Output = ModularInteger<V, M>
fn exact_div(self, rhs: &'r ModularInteger<V, M>) -> Self::Output
[src]
fn checked_exact_div(
self,
rhs: &'r ModularInteger<V, M>
) -> Option<Self::Output>
[src]
self,
rhs: &'r ModularInteger<V, M>
) -> Option<Self::Output>
impl<'l, V, M> ExactDiv<ModularInteger<V, M>> for &'l ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
type Output = ModularInteger<V, M>
fn exact_div(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
fn checked_exact_div(self, rhs: ModularInteger<V, M>) -> Option<Self::Output>
[src]
impl<'l, 'r, V, M> ExactDiv<&'r ModularInteger<V, M>> for &'l ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
type Output = ModularInteger<V, M>
fn exact_div(self, rhs: &'r ModularInteger<V, M>) -> Self::Output
[src]
fn checked_exact_div(
self,
rhs: &'r ModularInteger<V, M>
) -> Option<Self::Output>
[src]
self,
rhs: &'r ModularInteger<V, M>
) -> Option<Self::Output>
impl<V, M> ExactDivAssign<ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
fn exact_div_assign(&mut self, rhs: ModularInteger<V, M>)
[src]
fn checked_exact_div_assign(
&mut self,
rhs: ModularInteger<V, M>
) -> Result<(), ()>
[src]
&mut self,
rhs: ModularInteger<V, M>
) -> Result<(), ()>
impl<'r, V, M> ExactDivAssign<&'r ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
[src]
V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD,
M: Modulus<V>,
fn exact_div_assign(&mut self, rhs: &'r ModularInteger<V, M>)
[src]
fn checked_exact_div_assign(
&mut self,
rhs: &'r ModularInteger<V, M>
) -> Result<(), ()>
[src]
&mut self,
rhs: &'r ModularInteger<V, M>
) -> Result<(), ()>
impl<V, M> AlwaysExactDiv<ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<'r, V, M> AlwaysExactDiv<&'r ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<'l, V, M> AlwaysExactDiv<ModularInteger<V, M>> for &'l ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<'l, 'r, V, M> AlwaysExactDiv<&'r ModularInteger<V, M>> for &'l ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<V, M> AlwaysExactDivAssign<ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<'r, V, M> AlwaysExactDivAssign<&'r ModularInteger<V, M>> for ModularInteger<V, M> where
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
[src]
V: ModularReduce + Integer + GCD<Output = V> + ExtendedGCD,
M: PrimeModulus<V>,
impl<V, M> Into<(V, M)> for ModularInteger<V, M>
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> From<(V, M)> for ModularInteger<V, M>
[src]
impl<V: Clone, M: Clone> Clone for ModularInteger<V, M>
[src]
fn clone(&self) -> ModularInteger<V, M>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<V: Copy, M: Copy> Copy for ModularInteger<V, M>
[src]
impl<V: Eq, M: Eq> Eq for ModularInteger<V, M>
[src]
impl<V: PartialEq, M: PartialEq> PartialEq<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn eq(&self, other: &ModularInteger<V, M>) -> bool
[src]
fn ne(&self, other: &ModularInteger<V, M>) -> bool
[src]
impl<V: Display, M: Display> Display for ModularInteger<V, M>
[src]
impl<V: Debug, M: Debug> Debug for ModularInteger<V, M>
[src]
impl<V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> Div<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the /
operator.
fn div(self, rhs: ModularInteger<V, M>) -> ModularInteger<V, M>
[src]
impl<'_, V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> Div<ModularInteger<V, M>> for &'_ ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the /
operator.
fn div(self, rhs: ModularInteger<V, M>) -> ModularInteger<V, M>
[src]
impl<'_, V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> Div<&'_ ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the /
operator.
fn div(self, rhs: &ModularInteger<V, M>) -> ModularInteger<V, M>
[src]
impl<'a, 'b, V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> Div<&'a ModularInteger<V, M>> for &'b ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the /
operator.
fn div(self, rhs: &ModularInteger<V, M>) -> ModularInteger<V, M>
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> Sub<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn sub(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> Sub<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn sub(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, V: ModularReduce + Eq, M: Modulus<V>> Sub<ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn sub(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, 'r, V: ModularReduce + Eq, M: Modulus<V>> Sub<&'r ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn sub(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> Add<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the +
operator.
fn add(self, rhs: Self) -> Self::Output
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> Add<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the +
operator.
fn add(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, V: ModularReduce + Eq, M: Modulus<V>> Add<ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the +
operator.
fn add(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, 'r, V: ModularReduce + Eq, M: Modulus<V>> Add<&'r ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the +
operator.
fn add(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> Mul<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the *
operator.
fn mul(self, rhs: Self) -> Self::Output
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> Mul<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the *
operator.
fn mul(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, V: ModularReduce + Eq, M: Modulus<V>> Mul<ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the *
operator.
fn mul(self, rhs: ModularInteger<V, M>) -> Self::Output
[src]
impl<'l, 'r, V: ModularReduce + Eq, M: Modulus<V>> Mul<&'r ModularInteger<V, M>> for &'l ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the *
operator.
fn mul(self, rhs: &ModularInteger<V, M>) -> Self::Output
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> Neg for ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl<'a, V: ModularReduce + Eq, M: Modulus<V>> Neg for &'a ModularInteger<V, M>
[src]
type Output = ModularInteger<V, M>
The resulting type after applying the -
operator.
fn neg(self) -> Self::Output
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> AddAssign<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn add_assign(&mut self, rhs: Self)
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> AddAssign<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn add_assign(&mut self, rhs: &Self)
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> SubAssign<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn sub_assign(&mut self, rhs: Self)
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> SubAssign<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn sub_assign(&mut self, rhs: &Self)
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> MulAssign<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn mul_assign(&mut self, rhs: Self)
[src]
impl<'r, V: ModularReduce + Eq, M: Modulus<V>> MulAssign<&'r ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn mul_assign(&mut self, rhs: &Self)
[src]
impl<V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> DivAssign<ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn div_assign(&mut self, rhs: ModularInteger<V, M>)
[src]
impl<'_, V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> DivAssign<&'_ ModularInteger<V, M>> for ModularInteger<V, M>
[src]
fn div_assign(&mut self, rhs: &ModularInteger<V, M>)
[src]
impl<V: Hash, M: Hash> Hash for ModularInteger<V, M>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<V, M> StructuralPartialEq for ModularInteger<V, M>
[src]
impl<V, M> StructuralEq for ModularInteger<V, M>
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> CheckedAdd for ModularInteger<V, M>
[src]
fn checked_add(&self, rhs: &Self) -> Option<Self>
[src]
impl<V: ModularReduce + Eq + One + Zero + GCD<Output = V> + ExtendedGCD, M: Modulus<V>> CheckedDiv for ModularInteger<V, M>
[src]
fn checked_div(&self, rhs: &Self) -> Option<Self>
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> CheckedMul for ModularInteger<V, M>
[src]
fn checked_mul(&self, rhs: &Self) -> Option<Self>
[src]
impl<V: ModularReduce + Eq, M: Modulus<V>> CheckedSub for ModularInteger<V, M>
[src]
fn checked_sub(&self, rhs: &Self) -> Option<Self>
[src]
Auto Trait Implementations
impl<V, M> Send for ModularInteger<V, M> where
M: Send,
V: Send,
M: Send,
V: Send,
impl<V, M> Sync for ModularInteger<V, M> where
M: Sync,
V: Sync,
M: Sync,
V: Sync,
impl<V, M> Unpin for ModularInteger<V, M> where
M: Unpin,
V: Unpin,
M: Unpin,
V: Unpin,
impl<V, M> UnwindSafe for ModularInteger<V, M> where
M: UnwindSafe,
V: UnwindSafe,
M: UnwindSafe,
V: UnwindSafe,
impl<V, M> RefUnwindSafe for ModularInteger<V, M> where
M: RefUnwindSafe,
V: RefUnwindSafe,
M: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T> PolynomialCoefficientElement for T where
T: Neg<Output = T> + AddAssign<T> + AddAssign<&'a T> + SubAssign<T> + SubAssign<&'a T> + MulAssign<T> + MulAssign<&'a T> + PolynomialCoefficient<Divisor = DivisorIsOne, Output = T, Output = T, Output = T, Output = T, Output = T, Output = T> + Add<T> + Add<&'a T> + Sub<T> + Sub<&'a T> + Mul<T> + Mul<&'a T>,
[src]
T: Neg<Output = T> + AddAssign<T> + AddAssign<&'a T> + SubAssign<T> + SubAssign<&'a T> + MulAssign<T> + MulAssign<&'a T> + PolynomialCoefficient<Divisor = DivisorIsOne, Output = T, Output = T, Output = T, Output = T, Output = T, Output = T> + Add<T> + Add<&'a T> + Sub<T> + Sub<&'a T> + Mul<T> + Mul<&'a T>,
impl<T> PolynomialDivSupported for T where
T: PolynomialCoefficient + AlwaysExactDivAssign<T> + AlwaysExactDivAssign<&'a T>,
[src]
T: PolynomialCoefficient + AlwaysExactDivAssign<T> + AlwaysExactDivAssign<&'a T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,