pub struct Factor<T: Coeff> {
pub base: Base<T>,
pub power: i32,
}Fields§
§base: Base<T>§power: i32Implementations§
Trait Implementations§
source§impl<T: Coeff> Ord for Factor<T>
impl<T: Coeff> Ord for Factor<T>
source§impl<T: PartialEq + Coeff> PartialEq<Factor<T>> for Factor<T>
impl<T: PartialEq + Coeff> PartialEq<Factor<T>> for Factor<T>
source§impl<T: Coeff> PartialOrd<Factor<T>> for Factor<T>
impl<T: Coeff> PartialOrd<Factor<T>> for Factor<T>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<T: Eq + Coeff> Eq for Factor<T>
impl<T: Coeff> StructuralEq for Factor<T>
impl<T: Coeff> StructuralPartialEq for Factor<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Factor<T>where T: RefUnwindSafe,
impl<T> Send for Factor<T>where T: Send,
impl<T> Sync for Factor<T>where T: Sync,
impl<T> Unpin for Factor<T>where T: Unpin,
impl<T> UnwindSafe for Factor<T>where T: 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