pub struct Monomial {
pub exponent: u32,
pub coefficients: f32,
}Expand description
Represents a single term in a polynomial, consisting of an exponent and a coefficient.
Fields§
§exponent: u32The exponent of the monomial.
coefficients: f32The coefficient of the monomial.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Monomial
impl RefUnwindSafe for Monomial
impl Send for Monomial
impl Sync for Monomial
impl Unpin for Monomial
impl UnwindSafe for Monomial
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