pub struct Power(/* private fields */);Expand description
A newtype representing an electric power (wraps f32)
Trait Implementations§
Source§impl AddAssign for Power
impl AddAssign for Power
Source§fn add_assign(&mut self, rhs: Power)
fn add_assign(&mut self, rhs: Power)
Performs the
+= operation. Read moreSource§impl MulAssign<Cos> for Power
impl MulAssign<Cos> for Power
Source§fn mul_assign(&mut self, other: Cos)
fn mul_assign(&mut self, other: Cos)
Performs the
*= operation. Read moreSource§impl MulAssign<Sin> for Power
impl MulAssign<Sin> for Power
Source§fn mul_assign(&mut self, other: Sin)
fn mul_assign(&mut self, other: Sin)
Performs the
*= operation. Read moreimpl Copy for Power
impl Num for Power
impl StructuralPartialEq for Power
Auto Trait Implementations§
impl Freeze for Power
impl RefUnwindSafe for Power
impl Send for Power
impl Sync for Power
impl Unpin for Power
impl UnwindSafe for Power
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