pub struct UnitNumber<U> { /* private fields */ }Implementations§
Source§impl UnitNumber<FrequencyUnit>
impl UnitNumber<FrequencyUnit>
pub fn to_period(&self) -> UnitNumber<TimeUnit>
Source§impl UnitNumber<TimeUnit>
impl UnitNumber<TimeUnit>
pub fn to_frquency(&self) -> UnitNumber<FrequencyUnit>
Source§impl<U> UnitNumber<U>where
U: Unit,
impl<U> UnitNumber<U>where
U: Unit,
Source§impl<U> UnitNumber<U>where
U: Unit,
impl<U> UnitNumber<U>where
U: Unit,
pub fn abs(&self) -> UnitNumber<U>
pub fn ceil(&self) -> UnitNumber<U>
pub fn floor(&self) -> UnitNumber<U>
pub fn round(&self) -> UnitNumber<U>
pub fn trunc(&self) -> UnitNumber<U>
pub fn fract(&self) -> UnitNumber<U>
pub fn sqrt(&self) -> UnitNumber<U>
pub fn exp(&self) -> UnitNumber<U>
pub fn ln(&self) -> UnitNumber<U>
pub fn log10(&self) -> UnitNumber<U>
pub fn log2(&self) -> UnitNumber<U>
pub fn recip(&self) -> UnitNumber<U>
pub fn sin(&self) -> UnitNumber<U>
pub fn cos(&self) -> UnitNumber<U>
pub fn tan(&self) -> UnitNumber<U>
pub fn asin(&self) -> UnitNumber<U>
pub fn acos(&self) -> UnitNumber<U>
pub fn atan(&self) -> UnitNumber<U>
pub fn sinh(&self) -> UnitNumber<U>
pub fn cosh(&self) -> UnitNumber<U>
pub fn tanh(&self) -> UnitNumber<U>
pub fn to_degrees(&self) -> UnitNumber<U>
pub fn to_radians(&self) -> UnitNumber<U>
Trait Implementations§
Source§impl<U> Add for UnitNumber<U>where
U: Unit,
impl<U> Add for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
+ operator.Source§fn add(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Add>::Output
fn add(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Add>::Output
Performs the
+ operation. Read moreSource§impl<U> Clone for UnitNumber<U>where
U: Clone,
impl<U> Clone for UnitNumber<U>where
U: Clone,
Source§fn clone(&self) -> UnitNumber<U>
fn clone(&self) -> UnitNumber<U>
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<U> Debug for UnitNumber<U>where
U: Debug,
impl<U> Debug for UnitNumber<U>where
U: Debug,
Source§impl<'de, U> Deserialize<'de> for UnitNumber<U>where
U: Unit,
impl<'de, U> Deserialize<'de> for UnitNumber<U>where
U: Unit,
Source§fn deserialize<D>(
deserializer: D,
) -> Result<UnitNumber<U>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<UnitNumber<U>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<U> Display for UnitNumber<U>where
U: Unit,
impl<U> Display for UnitNumber<U>where
U: Unit,
Source§impl<U> Div<Number> for UnitNumber<U>where
U: Unit,
impl<U> Div<Number> for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
/ operator.Source§impl Div<UnitNumber<AreaUnit>> for UnitNumber<ForceUnit>
impl Div<UnitNumber<AreaUnit>> for UnitNumber<ForceUnit>
Source§type Output = UnitNumber<PressureUnit>
type Output = UnitNumber<PressureUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<AreaUnit>,
) -> <UnitNumber<ForceUnit> as Div<UnitNumber<AreaUnit>>>::Output
fn div( self, rhs: UnitNumber<AreaUnit>, ) -> <UnitNumber<ForceUnit> as Div<UnitNumber<AreaUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<AreaUnit>> for UnitNumber<MagneticFluxUnit>
impl Div<UnitNumber<AreaUnit>> for UnitNumber<MagneticFluxUnit>
Source§type Output = UnitNumber<FluxDensityUnit>
type Output = UnitNumber<FluxDensityUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<AreaUnit>,
) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<AreaUnit>>>::Output
fn div( self, rhs: UnitNumber<AreaUnit>, ) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<AreaUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<CapacitanceUnit>> for UnitNumber<ChargeUnit>
impl Div<UnitNumber<CapacitanceUnit>> for UnitNumber<ChargeUnit>
Source§type Output = UnitNumber<VoltageUnit>
type Output = UnitNumber<VoltageUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<CapacitanceUnit>,
) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<CapacitanceUnit>>>::Output
fn div( self, rhs: UnitNumber<CapacitanceUnit>, ) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<CapacitanceUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<ChargeUnit>> for UnitNumber<CurrentUnit>
impl Div<UnitNumber<ChargeUnit>> for UnitNumber<CurrentUnit>
Source§type Output = UnitNumber<TimeUnit>
type Output = UnitNumber<TimeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<ChargeUnit>,
) -> <UnitNumber<CurrentUnit> as Div<UnitNumber<ChargeUnit>>>::Output
fn div( self, rhs: UnitNumber<ChargeUnit>, ) -> <UnitNumber<CurrentUnit> as Div<UnitNumber<ChargeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<CurrentUnit>> for UnitNumber<ChargeUnit>
impl Div<UnitNumber<CurrentUnit>> for UnitNumber<ChargeUnit>
Source§type Output = UnitNumber<TimeUnit>
type Output = UnitNumber<TimeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<CurrentUnit>,
) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<CurrentUnit>>>::Output
fn div( self, rhs: UnitNumber<CurrentUnit>, ) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<CurrentUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<CurrentUnit>> for UnitNumber<PowerUnit>
impl Div<UnitNumber<CurrentUnit>> for UnitNumber<PowerUnit>
Source§type Output = UnitNumber<VoltageUnit>
type Output = UnitNumber<VoltageUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<CurrentUnit>,
) -> <UnitNumber<PowerUnit> as Div<UnitNumber<CurrentUnit>>>::Output
fn div( self, rhs: UnitNumber<CurrentUnit>, ) -> <UnitNumber<PowerUnit> as Div<UnitNumber<CurrentUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<CurrentUnit>> for UnitNumber<VoltageUnit>
impl Div<UnitNumber<CurrentUnit>> for UnitNumber<VoltageUnit>
Source§type Output = UnitNumber<ResistanceUnit>
type Output = UnitNumber<ResistanceUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<CurrentUnit>,
) -> <UnitNumber<VoltageUnit> as Div<UnitNumber<CurrentUnit>>>::Output
fn div( self, rhs: UnitNumber<CurrentUnit>, ) -> <UnitNumber<VoltageUnit> as Div<UnitNumber<CurrentUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<FluxDensityUnit>> for UnitNumber<MagneticFluxUnit>
impl Div<UnitNumber<FluxDensityUnit>> for UnitNumber<MagneticFluxUnit>
Source§type Output = UnitNumber<AreaUnit>
type Output = UnitNumber<AreaUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<FluxDensityUnit>,
) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<FluxDensityUnit>>>::Output
fn div( self, rhs: UnitNumber<FluxDensityUnit>, ) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<FluxDensityUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<ForceUnit>> for UnitNumber<EnergyUnit>
impl Div<UnitNumber<ForceUnit>> for UnitNumber<EnergyUnit>
Source§type Output = UnitNumber<LengthUnit>
type Output = UnitNumber<LengthUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<ForceUnit>,
) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<ForceUnit>>>::Output
fn div( self, rhs: UnitNumber<ForceUnit>, ) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<ForceUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<ForceUnit>> for UnitNumber<PowerUnit>
impl Div<UnitNumber<ForceUnit>> for UnitNumber<PowerUnit>
Source§type Output = UnitNumber<VelocityUnit>
type Output = UnitNumber<VelocityUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<ForceUnit>,
) -> <UnitNumber<PowerUnit> as Div<UnitNumber<ForceUnit>>>::Output
fn div( self, rhs: UnitNumber<ForceUnit>, ) -> <UnitNumber<PowerUnit> as Div<UnitNumber<ForceUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<LengthUnit>> for UnitNumber<AreaUnit>
impl Div<UnitNumber<LengthUnit>> for UnitNumber<AreaUnit>
Source§type Output = UnitNumber<LengthUnit>
type Output = UnitNumber<LengthUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<LengthUnit>,
) -> <UnitNumber<AreaUnit> as Div<UnitNumber<LengthUnit>>>::Output
fn div( self, rhs: UnitNumber<LengthUnit>, ) -> <UnitNumber<AreaUnit> as Div<UnitNumber<LengthUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<LengthUnit>> for UnitNumber<EnergyUnit>
impl Div<UnitNumber<LengthUnit>> for UnitNumber<EnergyUnit>
Source§type Output = UnitNumber<ForceUnit>
type Output = UnitNumber<ForceUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<LengthUnit>,
) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<LengthUnit>>>::Output
fn div( self, rhs: UnitNumber<LengthUnit>, ) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<LengthUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<PowerUnit>> for UnitNumber<EnergyUnit>
impl Div<UnitNumber<PowerUnit>> for UnitNumber<EnergyUnit>
Source§type Output = UnitNumber<TimeUnit>
type Output = UnitNumber<TimeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<PowerUnit>,
) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<PowerUnit>>>::Output
fn div( self, rhs: UnitNumber<PowerUnit>, ) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<PowerUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<PressureUnit>> for UnitNumber<ForceUnit>
impl Div<UnitNumber<PressureUnit>> for UnitNumber<ForceUnit>
Source§type Output = UnitNumber<AreaUnit>
type Output = UnitNumber<AreaUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<PressureUnit>,
) -> <UnitNumber<ForceUnit> as Div<UnitNumber<PressureUnit>>>::Output
fn div( self, rhs: UnitNumber<PressureUnit>, ) -> <UnitNumber<ForceUnit> as Div<UnitNumber<PressureUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<ResistanceUnit>> for UnitNumber<VoltageUnit>
impl Div<UnitNumber<ResistanceUnit>> for UnitNumber<VoltageUnit>
Source§type Output = UnitNumber<CurrentUnit>
type Output = UnitNumber<CurrentUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<ResistanceUnit>,
) -> <UnitNumber<VoltageUnit> as Div<UnitNumber<ResistanceUnit>>>::Output
fn div( self, rhs: UnitNumber<ResistanceUnit>, ) -> <UnitNumber<VoltageUnit> as Div<UnitNumber<ResistanceUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<TimeUnit>> for UnitNumber<ChargeUnit>
impl Div<UnitNumber<TimeUnit>> for UnitNumber<ChargeUnit>
Source§type Output = UnitNumber<CurrentUnit>
type Output = UnitNumber<CurrentUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<TimeUnit>>>::Output
fn div( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<TimeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<TimeUnit>> for UnitNumber<CurrentUnit>
impl Div<UnitNumber<TimeUnit>> for UnitNumber<CurrentUnit>
Source§type Output = UnitNumber<ChargeUnit>
type Output = UnitNumber<ChargeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<CurrentUnit> as Div<UnitNumber<TimeUnit>>>::Output
fn div( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<CurrentUnit> as Div<UnitNumber<TimeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<TimeUnit>> for UnitNumber<EnergyUnit>
impl Div<UnitNumber<TimeUnit>> for UnitNumber<EnergyUnit>
Source§type Output = UnitNumber<PowerUnit>
type Output = UnitNumber<PowerUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<TimeUnit>>>::Output
fn div( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<EnergyUnit> as Div<UnitNumber<TimeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<TimeUnit>> for UnitNumber<LengthUnit>
impl Div<UnitNumber<TimeUnit>> for UnitNumber<LengthUnit>
Source§type Output = UnitNumber<VelocityUnit>
type Output = UnitNumber<VelocityUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<LengthUnit> as Div<UnitNumber<TimeUnit>>>::Output
fn div( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<LengthUnit> as Div<UnitNumber<TimeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<TimeUnit>> for UnitNumber<MagneticFluxUnit>
impl Div<UnitNumber<TimeUnit>> for UnitNumber<MagneticFluxUnit>
Source§type Output = UnitNumber<VoltageUnit>
type Output = UnitNumber<VoltageUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<TimeUnit>>>::Output
fn div( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<TimeUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<VelocityUnit>> for UnitNumber<LengthUnit>
impl Div<UnitNumber<VelocityUnit>> for UnitNumber<LengthUnit>
Source§type Output = UnitNumber<TimeUnit>
type Output = UnitNumber<TimeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<VelocityUnit>,
) -> <UnitNumber<LengthUnit> as Div<UnitNumber<VelocityUnit>>>::Output
fn div( self, rhs: UnitNumber<VelocityUnit>, ) -> <UnitNumber<LengthUnit> as Div<UnitNumber<VelocityUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<VelocityUnit>> for UnitNumber<PowerUnit>
impl Div<UnitNumber<VelocityUnit>> for UnitNumber<PowerUnit>
Source§type Output = UnitNumber<ForceUnit>
type Output = UnitNumber<ForceUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<VelocityUnit>,
) -> <UnitNumber<PowerUnit> as Div<UnitNumber<VelocityUnit>>>::Output
fn div( self, rhs: UnitNumber<VelocityUnit>, ) -> <UnitNumber<PowerUnit> as Div<UnitNumber<VelocityUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<VoltageUnit>> for UnitNumber<ChargeUnit>
impl Div<UnitNumber<VoltageUnit>> for UnitNumber<ChargeUnit>
Source§type Output = UnitNumber<CapacitanceUnit>
type Output = UnitNumber<CapacitanceUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<VoltageUnit>,
) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<VoltageUnit>>>::Output
fn div( self, rhs: UnitNumber<VoltageUnit>, ) -> <UnitNumber<ChargeUnit> as Div<UnitNumber<VoltageUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<VoltageUnit>> for UnitNumber<MagneticFluxUnit>
impl Div<UnitNumber<VoltageUnit>> for UnitNumber<MagneticFluxUnit>
Source§type Output = UnitNumber<TimeUnit>
type Output = UnitNumber<TimeUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<VoltageUnit>,
) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<VoltageUnit>>>::Output
fn div( self, rhs: UnitNumber<VoltageUnit>, ) -> <UnitNumber<MagneticFluxUnit> as Div<UnitNumber<VoltageUnit>>>::Output
Performs the
/ operation. Read moreSource§impl Div<UnitNumber<VoltageUnit>> for UnitNumber<PowerUnit>
impl Div<UnitNumber<VoltageUnit>> for UnitNumber<PowerUnit>
Source§type Output = UnitNumber<CurrentUnit>
type Output = UnitNumber<CurrentUnit>
The resulting type after applying the
/ operator.Source§fn div(
self,
rhs: UnitNumber<VoltageUnit>,
) -> <UnitNumber<PowerUnit> as Div<UnitNumber<VoltageUnit>>>::Output
fn div( self, rhs: UnitNumber<VoltageUnit>, ) -> <UnitNumber<PowerUnit> as Div<UnitNumber<VoltageUnit>>>::Output
Performs the
/ operation. Read moreSource§impl<U> Div<f64> for UnitNumber<U>where
U: Unit,
impl<U> Div<f64> for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
/ operator.Source§impl<U> Div for UnitNumber<U>where
U: Unit,
impl<U> Div for UnitNumber<U>where
U: Unit,
Source§impl<U> From<Number> for UnitNumber<U>where
U: Unit,
impl<U> From<Number> for UnitNumber<U>where
U: Unit,
Source§fn from(value: Number) -> UnitNumber<U>
fn from(value: Number) -> UnitNumber<U>
Converts to this type from the input type.
Source§impl<U> From<f32> for UnitNumber<U>where
U: Unit,
impl<U> From<f32> for UnitNumber<U>where
U: Unit,
Source§fn from(value: f32) -> UnitNumber<U>
fn from(value: f32) -> UnitNumber<U>
Converts to this type from the input type.
Source§impl<U> From<f64> for UnitNumber<U>where
U: Unit,
impl<U> From<f64> for UnitNumber<U>where
U: Unit,
Source§fn from(value: f64) -> UnitNumber<U>
fn from(value: f64) -> UnitNumber<U>
Converts to this type from the input type.
Source§impl<U> From<i32> for UnitNumber<U>where
U: Unit,
impl<U> From<i32> for UnitNumber<U>where
U: Unit,
Source§fn from(value: i32) -> UnitNumber<U>
fn from(value: i32) -> UnitNumber<U>
Converts to this type from the input type.
Source§impl<U> From<u32> for UnitNumber<U>where
U: Unit,
impl<U> From<u32> for UnitNumber<U>where
U: Unit,
Source§fn from(value: u32) -> UnitNumber<U>
fn from(value: u32) -> UnitNumber<U>
Converts to this type from the input type.
Source§impl<U> FromStr for UnitNumber<U>where
U: Unit,
impl<U> FromStr for UnitNumber<U>where
U: Unit,
Source§impl<U> Mul<Number> for UnitNumber<U>where
U: Unit,
impl<U> Mul<Number> for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
* operator.Source§impl Mul<UnitNumber<AreaUnit>> for UnitNumber<FluxDensityUnit>
impl Mul<UnitNumber<AreaUnit>> for UnitNumber<FluxDensityUnit>
Source§type Output = UnitNumber<MagneticFluxUnit>
type Output = UnitNumber<MagneticFluxUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<AreaUnit>,
) -> <UnitNumber<FluxDensityUnit> as Mul<UnitNumber<AreaUnit>>>::Output
fn mul( self, rhs: UnitNumber<AreaUnit>, ) -> <UnitNumber<FluxDensityUnit> as Mul<UnitNumber<AreaUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<AreaUnit>> for UnitNumber<PressureUnit>
impl Mul<UnitNumber<AreaUnit>> for UnitNumber<PressureUnit>
Source§type Output = UnitNumber<ForceUnit>
type Output = UnitNumber<ForceUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<AreaUnit>,
) -> <UnitNumber<PressureUnit> as Mul<UnitNumber<AreaUnit>>>::Output
fn mul( self, rhs: UnitNumber<AreaUnit>, ) -> <UnitNumber<PressureUnit> as Mul<UnitNumber<AreaUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<CurrentUnit>> for UnitNumber<ResistanceUnit>
impl Mul<UnitNumber<CurrentUnit>> for UnitNumber<ResistanceUnit>
Source§type Output = UnitNumber<VoltageUnit>
type Output = UnitNumber<VoltageUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<CurrentUnit>,
) -> <UnitNumber<ResistanceUnit> as Mul<UnitNumber<CurrentUnit>>>::Output
fn mul( self, rhs: UnitNumber<CurrentUnit>, ) -> <UnitNumber<ResistanceUnit> as Mul<UnitNumber<CurrentUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<CurrentUnit>> for UnitNumber<VoltageUnit>
impl Mul<UnitNumber<CurrentUnit>> for UnitNumber<VoltageUnit>
Source§type Output = UnitNumber<PowerUnit>
type Output = UnitNumber<PowerUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<CurrentUnit>,
) -> <UnitNumber<VoltageUnit> as Mul<UnitNumber<CurrentUnit>>>::Output
fn mul( self, rhs: UnitNumber<CurrentUnit>, ) -> <UnitNumber<VoltageUnit> as Mul<UnitNumber<CurrentUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<FrequencyUnit>> for UnitNumber<TimeUnit>
impl Mul<UnitNumber<FrequencyUnit>> for UnitNumber<TimeUnit>
Source§fn mul(
self,
rhs: UnitNumber<FrequencyUnit>,
) -> <UnitNumber<TimeUnit> as Mul<UnitNumber<FrequencyUnit>>>::Output
fn mul( self, rhs: UnitNumber<FrequencyUnit>, ) -> <UnitNumber<TimeUnit> as Mul<UnitNumber<FrequencyUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<LengthUnit>> for UnitNumber<ForceUnit>
impl Mul<UnitNumber<LengthUnit>> for UnitNumber<ForceUnit>
Source§type Output = UnitNumber<EnergyUnit>
type Output = UnitNumber<EnergyUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<LengthUnit>,
) -> <UnitNumber<ForceUnit> as Mul<UnitNumber<LengthUnit>>>::Output
fn mul( self, rhs: UnitNumber<LengthUnit>, ) -> <UnitNumber<ForceUnit> as Mul<UnitNumber<LengthUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<ChargeUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<ChargeUnit>
Source§type Output = UnitNumber<CurrentUnit>
type Output = UnitNumber<CurrentUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<ChargeUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<ChargeUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<CurrentUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<CurrentUnit>
Source§type Output = UnitNumber<ChargeUnit>
type Output = UnitNumber<ChargeUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<CurrentUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<CurrentUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<FrequencyUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<FrequencyUnit>
Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<FrequencyUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<FrequencyUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<PowerUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<PowerUnit>
Source§type Output = UnitNumber<EnergyUnit>
type Output = UnitNumber<EnergyUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<PowerUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<PowerUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<VelocityUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<VelocityUnit>
Source§type Output = UnitNumber<LengthUnit>
type Output = UnitNumber<LengthUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<VelocityUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<VelocityUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<TimeUnit>> for UnitNumber<VoltageUnit>
impl Mul<UnitNumber<TimeUnit>> for UnitNumber<VoltageUnit>
Source§type Output = UnitNumber<MagneticFluxUnit>
type Output = UnitNumber<MagneticFluxUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<TimeUnit>,
) -> <UnitNumber<VoltageUnit> as Mul<UnitNumber<TimeUnit>>>::Output
fn mul( self, rhs: UnitNumber<TimeUnit>, ) -> <UnitNumber<VoltageUnit> as Mul<UnitNumber<TimeUnit>>>::Output
Performs the
* operation. Read moreSource§impl<U> Mul<UnitNumber<U>> for Numberwhere
U: Unit,
impl<U> Mul<UnitNumber<U>> for Numberwhere
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
* operator.Source§fn mul(self, rhs: UnitNumber<U>) -> UnitNumber<U>
fn mul(self, rhs: UnitNumber<U>) -> UnitNumber<U>
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<VelocityUnit>> for UnitNumber<ForceUnit>
impl Mul<UnitNumber<VelocityUnit>> for UnitNumber<ForceUnit>
Source§type Output = UnitNumber<PowerUnit>
type Output = UnitNumber<PowerUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<VelocityUnit>,
) -> <UnitNumber<ForceUnit> as Mul<UnitNumber<VelocityUnit>>>::Output
fn mul( self, rhs: UnitNumber<VelocityUnit>, ) -> <UnitNumber<ForceUnit> as Mul<UnitNumber<VelocityUnit>>>::Output
Performs the
* operation. Read moreSource§impl Mul<UnitNumber<VoltageUnit>> for UnitNumber<CapacitanceUnit>
impl Mul<UnitNumber<VoltageUnit>> for UnitNumber<CapacitanceUnit>
Source§type Output = UnitNumber<ChargeUnit>
type Output = UnitNumber<ChargeUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<VoltageUnit>,
) -> <UnitNumber<CapacitanceUnit> as Mul<UnitNumber<VoltageUnit>>>::Output
fn mul( self, rhs: UnitNumber<VoltageUnit>, ) -> <UnitNumber<CapacitanceUnit> as Mul<UnitNumber<VoltageUnit>>>::Output
Performs the
* operation. Read moreSource§impl<U> Mul<f64> for UnitNumber<U>where
U: Unit,
impl<U> Mul<f64> for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
* operator.Source§impl Mul for UnitNumber<LengthUnit>
impl Mul for UnitNumber<LengthUnit>
Source§type Output = UnitNumber<AreaUnit>
type Output = UnitNumber<AreaUnit>
The resulting type after applying the
* operator.Source§fn mul(
self,
rhs: UnitNumber<LengthUnit>,
) -> <UnitNumber<LengthUnit> as Mul>::Output
fn mul( self, rhs: UnitNumber<LengthUnit>, ) -> <UnitNumber<LengthUnit> as Mul>::Output
Performs the
* operation. Read moreSource§impl<U> Neg for UnitNumber<U>where
U: Unit,
impl<U> Neg for UnitNumber<U>where
U: Unit,
Source§impl<U> Ord for UnitNumber<U>where
U: Unit,
impl<U> Ord for UnitNumber<U>where
U: Unit,
Source§fn cmp(&self, other: &UnitNumber<U>) -> Ordering
fn cmp(&self, other: &UnitNumber<U>) -> Ordering
1.21.0 · 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<U> PartialEq for UnitNumber<U>where
U: PartialEq,
impl<U> PartialEq for UnitNumber<U>where
U: PartialEq,
Source§impl<U> PartialOrd for UnitNumber<U>where
U: Unit,
impl<U> PartialOrd for UnitNumber<U>where
U: Unit,
Source§impl<U> Rem for UnitNumber<U>where
U: Unit,
impl<U> Rem for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
% operator.Source§fn rem(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Rem>::Output
fn rem(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Rem>::Output
Performs the
% operation. Read moreSource§impl<U> Serialize for UnitNumber<U>where
U: Unit,
impl<U> Serialize for UnitNumber<U>where
U: Unit,
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<U> Sub for UnitNumber<U>where
U: Unit,
impl<U> Sub for UnitNumber<U>where
U: Unit,
Source§type Output = UnitNumber<U>
type Output = UnitNumber<U>
The resulting type after applying the
- operator.Source§fn sub(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Sub>::Output
fn sub(self, rhs: UnitNumber<U>) -> <UnitNumber<U> as Sub>::Output
Performs the
- operation. Read moreimpl<U> Copy for UnitNumber<U>where
U: Copy,
impl<U> Eq for UnitNumber<U>where
U: Eq,
impl<U> StructuralPartialEq for UnitNumber<U>
Auto Trait Implementations§
impl<U> Freeze for UnitNumber<U>
impl<U> RefUnwindSafe for UnitNumber<U>where
U: RefUnwindSafe,
impl<U> Send for UnitNumber<U>where
U: Send,
impl<U> Sync for UnitNumber<U>where
U: Sync,
impl<U> Unpin for UnitNumber<U>where
U: Unpin,
impl<U> UnwindSafe for UnitNumber<U>where
U: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> PipeAsRef for T
impl<T> PipeAsRef for T
Source§impl<T> PipeBorrow for T
impl<T> PipeBorrow for T
Source§impl<T> PipeDeref for T
impl<T> PipeDeref for T
Source§impl<T> PipeRef for T
impl<T> PipeRef for T
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&Self) -> R,
fn tap<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&Self) -> R,
Provides immutable access for inspection. Read more
Source§fn tap_dbg<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&Self) -> R,
fn tap_dbg<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&Self) -> R,
Calls
tap in debug builds, and does nothing in release builds.Source§fn tap_mut<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&mut Self) -> R,
fn tap_mut<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&mut Self) -> R,
Provides mutable access for modification. Read more
Source§fn tap_mut_dbg<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&mut Self) -> R,
fn tap_mut_dbg<F, R>(self, func: F) -> Selfwhere
F: FnOnce(&mut Self) -> R,
Calls
tap_mut in debug builds, and does nothing in release builds.Source§impl<T, U> TapAsRef<U> for Twhere
U: ?Sized,
impl<T, U> TapAsRef<U> for Twhere
U: ?Sized,
Source§fn tap_ref<F, R>(self, func: F) -> Self
fn tap_ref<F, R>(self, func: F) -> Self
Provides immutable access to the reference for inspection.
Source§fn tap_ref_dbg<F, R>(self, func: F) -> Self
fn tap_ref_dbg<F, R>(self, func: F) -> Self
Calls
tap_ref in debug builds, and does nothing in release builds.Source§fn tap_ref_mut<F, R>(self, func: F) -> Self
fn tap_ref_mut<F, R>(self, func: F) -> Self
Provides mutable access to the reference for modification.
Source§impl<T, U> TapBorrow<U> for Twhere
U: ?Sized,
impl<T, U> TapBorrow<U> for Twhere
U: ?Sized,
Source§fn tap_borrow<F, R>(self, func: F) -> Self
fn tap_borrow<F, R>(self, func: F) -> Self
Provides immutable access to the borrow for inspection. Read more
Source§fn tap_borrow_dbg<F, R>(self, func: F) -> Self
fn tap_borrow_dbg<F, R>(self, func: F) -> Self
Calls
tap_borrow in debug builds, and does nothing in release builds.Source§fn tap_borrow_mut<F, R>(self, func: F) -> Self
fn tap_borrow_mut<F, R>(self, func: F) -> Self
Provides mutable access to the borrow for modification.
Source§impl<T> TapDeref for T
impl<T> TapDeref for T
Source§fn tap_deref_dbg<F, R>(self, func: F) -> Self
fn tap_deref_dbg<F, R>(self, func: F) -> Self
Calls
tap_deref in debug builds, and does nothing in release builds.Source§fn tap_deref_mut<F, R>(self, func: F) -> Self
fn tap_deref_mut<F, R>(self, func: F) -> Self
Mutably dereferences
self for modification.