pub struct VarPower {
pub var: Var,
pub power: u32,
}Expand description
Power of a variable (variable, exponent).
Fields§
§var: VarThe variable identifier.
power: u32The exponent (power) of the variable.
Implementations§
Trait Implementations§
impl Copy for VarPower
impl Eq for VarPower
Source§impl Ord for VarPower
impl Ord for VarPower
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VarPower
impl PartialOrd for VarPower
impl StructuralPartialEq for VarPower
Auto Trait Implementations§
impl Freeze for VarPower
impl RefUnwindSafe for VarPower
impl Send for VarPower
impl Sync for VarPower
impl Unpin for VarPower
impl UnsafeUnpin for VarPower
impl UnwindSafe for VarPower
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