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