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