pub struct Capacitance(/* private fields */);Expand description
Implementations§
Source§impl Capacitance
impl Capacitance
Sourcepub fn in_unit(self, unit: CapacitanceUnit) -> f64
pub fn in_unit(self, unit: CapacitanceUnit) -> f64
Get value in the specified CapacitanceUnit.
Sourcepub fn display_as(self, unit: CapacitanceUnit) -> DisplayWithUnit
pub fn display_as(self, unit: CapacitanceUnit) -> DisplayWithUnit
Return a display wrapper that formats this capacitance in the given unit.
Trait Implementations§
Source§impl Add for Capacitance
impl Add for Capacitance
Source§impl AddAssign for Capacitance
impl AddAssign for Capacitance
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl Clone for Capacitance
impl Clone for Capacitance
Source§fn clone(&self) -> Capacitance
fn clone(&self) -> Capacitance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Capacitance
impl Debug for Capacitance
Source§impl Default for Capacitance
impl Default for Capacitance
Source§fn default() -> Capacitance
fn default() -> Capacitance
Returns the “default value” for a type. Read more
Source§impl Display for Capacitance
impl Display for Capacitance
Source§impl Div<f64> for Capacitance
impl Div<f64> for Capacitance
Source§impl Div for Capacitance
impl Div for Capacitance
Source§impl DivAssign<f64> for Capacitance
impl DivAssign<f64> for Capacitance
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Mul<Capacitance> for Voltage
impl Mul<Capacitance> for Voltage
Source§type Output = ElectricCharge
type Output = ElectricCharge
The resulting type after applying the
* operator.Source§fn mul(self, rhs: Capacitance) -> ElectricCharge
fn mul(self, rhs: Capacitance) -> ElectricCharge
Performs the
* operation. Read moreSource§impl Mul<Capacitance> for f64
impl Mul<Capacitance> for f64
Source§type Output = Capacitance
type Output = Capacitance
The resulting type after applying the
* operator.Source§fn mul(self, rhs: Capacitance) -> Capacitance
fn mul(self, rhs: Capacitance) -> Capacitance
Performs the
* operation. Read moreSource§impl Mul<Voltage> for Capacitance
impl Mul<Voltage> for Capacitance
Source§type Output = ElectricCharge
type Output = ElectricCharge
The resulting type after applying the
* operator.Source§impl Mul<f64> for Capacitance
impl Mul<f64> for Capacitance
Source§impl MulAssign<f64> for Capacitance
impl MulAssign<f64> for Capacitance
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for Capacitance
impl Neg for Capacitance
Source§impl PartialEq for Capacitance
impl PartialEq for Capacitance
Source§impl PartialOrd for Capacitance
impl PartialOrd for Capacitance
Source§impl Sub for Capacitance
impl Sub for Capacitance
Source§impl SubAssign for Capacitance
impl SubAssign for Capacitance
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreSource§impl Sum for Capacitance
impl Sum for Capacitance
impl Copy for Capacitance
impl StructuralPartialEq for Capacitance
Auto Trait Implementations§
impl Freeze for Capacitance
impl RefUnwindSafe for Capacitance
impl Send for Capacitance
impl Sync for Capacitance
impl Unpin for Capacitance
impl UnsafeUnpin for Capacitance
impl UnwindSafe for Capacitance
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