Struct fraction::division::DivisionState
source · pub struct DivisionState<I> {
pub remainder: I,
pub divisor: I,
}
Expand description
Division state encapsulates remainder and divisor
Fields§
§remainder: I
§divisor: I
Implementations§
source§impl<I> DivisionState<I>
impl<I> DivisionState<I>
Trait Implementations§
source§impl<I: Clone> Clone for DivisionState<I>
impl<I: Clone> Clone for DivisionState<I>
source§fn clone(&self) -> DivisionState<I>
fn clone(&self) -> DivisionState<I>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<I: Debug> Debug for DivisionState<I>
impl<I: Debug> Debug for DivisionState<I>
source§impl<I> PartialEq for DivisionState<I>where
I: PartialEq,
impl<I> PartialEq for DivisionState<I>where
I: PartialEq,
impl<I> Eq for DivisionState<I>where
I: Eq,
Auto Trait Implementations§
impl<I> Freeze for DivisionState<I>where
I: Freeze,
impl<I> RefUnwindSafe for DivisionState<I>where
I: RefUnwindSafe,
impl<I> Send for DivisionState<I>where
I: Send,
impl<I> Sync for DivisionState<I>where
I: Sync,
impl<I> Unpin for DivisionState<I>where
I: Unpin,
impl<I> UnwindSafe for DivisionState<I>where
I: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)