pub struct RationalFieldEl<I>(/* private fields */)
where
I: RingStore,
I::Type: IntegerRing;Expand description
An element of RationalField, i.e. a fraction of two integers.
Trait Implementations§
Source§impl<I> Clone for RationalFieldEl<I>
impl<I> Clone for RationalFieldEl<I>
impl<I> Copy for RationalFieldEl<I>
Auto Trait Implementations§
impl<I> Freeze for RationalFieldEl<I>
impl<I> RefUnwindSafe for RationalFieldEl<I>
impl<I> Send for RationalFieldEl<I>
impl<I> Sync for RationalFieldEl<I>
impl<I> Unpin for RationalFieldEl<I>
impl<I> UnsafeUnpin for RationalFieldEl<I>
impl<I> UnwindSafe for RationalFieldEl<I>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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