pub struct Dimensionless;Expand description
A quantity carrying no unit.
Implementations§
Source§impl Dimensionless
impl Dimensionless
Sourcepub const fn percent(value: TensorRank0) -> Quantity<Dimensionless>
pub const fn percent(value: TensorRank0) -> Quantity<Dimensionless>
A quantity of percent.
Source§impl Dimensionless
impl Dimensionless
Sourcepub const fn of(value: TensorRank0) -> Quantity<Dimensionless>
pub const fn of(value: TensorRank0) -> Quantity<Dimensionless>
A quantity of no unit at all.
Named here rather than in the table, since a row names a reader as well
and there is no word to read a ratio back in. A quantity of no unit is
the number it holds, which value already gives.
Trait Implementations§
Source§impl Clone for Dimensionless
impl Clone for Dimensionless
Source§fn clone(&self) -> Dimensionless
fn clone(&self) -> Dimensionless
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Dimensionless
impl Debug for Dimensionless
Source§impl PartialEq for Dimensionless
impl PartialEq for Dimensionless
Source§fn eq(&self, other: &Dimensionless) -> bool
fn eq(&self, other: &Dimensionless) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl UnitDiv<Amount> for Dimensionless
impl UnitDiv<Amount> for Dimensionless
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the quotient.
Source§impl UnitDiv<Area> for Dimensionless
impl UnitDiv<Area> for Dimensionless
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for Dimensionless
impl UnitDiv<Dimensionless> for Dimensionless
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ForcePerLength
impl UnitDiv<Dimensionless> for ForcePerLength
Source§type Output = ForcePerLength
type Output = ForcePerLength
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ForcePerVelocity
impl UnitDiv<Dimensionless> for ForcePerVelocity
Source§type Output = ForcePerVelocity
type Output = ForcePerVelocity
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for MolarEnergy
impl UnitDiv<Dimensionless> for MolarEnergy
Source§type Output = MolarEnergy
type Output = MolarEnergy
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for MolarEntropy
impl UnitDiv<Dimensionless> for MolarEntropy
Source§type Output = MolarEntropy
type Output = MolarEntropy
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerDensity
impl UnitDiv<Dimensionless> for PowerDensity
Source§type Output = PowerDensity
type Output = PowerDensity
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerPerArea
impl UnitDiv<Dimensionless> for PowerPerArea
Source§type Output = PowerPerArea
type Output = PowerPerArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerPerAreaTemperature
impl UnitDiv<Dimensionless> for PowerPerAreaTemperature
Source§type Output = PowerPerAreaTemperature
type Output = PowerPerAreaTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerPerLengthTemperature
impl UnitDiv<Dimensionless> for PowerPerLengthTemperature
Source§type Output = PowerPerLengthTemperature
type Output = PowerPerLengthTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerPerTemperature
impl UnitDiv<Dimensionless> for PowerPerTemperature
Source§type Output = PowerPerTemperature
type Output = PowerPerTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerPerVolumeTemperature
impl UnitDiv<Dimensionless> for PowerPerVolumeTemperature
Source§type Output = PowerPerVolumeTemperature
type Output = PowerPerVolumeTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerTemperature
impl UnitDiv<Dimensionless> for PowerTemperature
Source§type Output = PowerTemperature
type Output = PowerTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for PowerTemperatureDensity
impl UnitDiv<Dimensionless> for PowerTemperatureDensity
Source§type Output = PowerTemperatureDensity
type Output = PowerTemperatureDensity
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalAmount
impl UnitDiv<Dimensionless> for ReciprocalAmount
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalArea
impl UnitDiv<Dimensionless> for ReciprocalArea
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalForcePerLength
impl UnitDiv<Dimensionless> for ReciprocalForcePerLength
Source§type Output = ReciprocalForcePerLength
type Output = ReciprocalForcePerLength
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalLength
impl UnitDiv<Dimensionless> for ReciprocalLength
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalStress
impl UnitDiv<Dimensionless> for ReciprocalStress
Source§type Output = ReciprocalStress
type Output = ReciprocalStress
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalTemperature
impl UnitDiv<Dimensionless> for ReciprocalTemperature
Source§type Output = ReciprocalTemperature
type Output = ReciprocalTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ReciprocalViscosity
impl UnitDiv<Dimensionless> for ReciprocalViscosity
Source§type Output = ReciprocalViscosity
type Output = ReciprocalViscosity
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for SecondMomentOfArea
impl UnitDiv<Dimensionless> for SecondMomentOfArea
Source§type Output = SecondMomentOfArea
type Output = SecondMomentOfArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for StressPerArea
impl UnitDiv<Dimensionless> for StressPerArea
Source§type Output = StressPerArea
type Output = StressPerArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for StressPerLength
impl UnitDiv<Dimensionless> for StressPerLength
Source§type Output = StressPerLength
type Output = StressPerLength
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for StressPerTemperature
impl UnitDiv<Dimensionless> for StressPerTemperature
Source§type Output = StressPerTemperature
type Output = StressPerTemperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for Temperature
impl UnitDiv<Dimensionless> for Temperature
Source§type Output = Temperature
type Output = Temperature
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for TemperaturePerLength
impl UnitDiv<Dimensionless> for TemperaturePerLength
Source§type Output = TemperaturePerLength
type Output = TemperaturePerLength
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for Velocity
impl UnitDiv<Dimensionless> for Velocity
Source§impl UnitDiv<Dimensionless> for Viscosity
impl UnitDiv<Dimensionless> for Viscosity
Source§impl UnitDiv<Dimensionless> for ViscosityPerArea
impl UnitDiv<Dimensionless> for ViscosityPerArea
Source§type Output = ViscosityPerArea
type Output = ViscosityPerArea
The unit of the quotient.
Source§impl UnitDiv<Dimensionless> for ViscosityPerLength
impl UnitDiv<Dimensionless> for ViscosityPerLength
Source§type Output = ViscosityPerLength
type Output = ViscosityPerLength
The unit of the quotient.
Source§impl UnitDiv<Length> for Dimensionless
impl UnitDiv<Length> for Dimensionless
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the quotient.
Source§impl UnitDiv<ReciprocalAmount> for Dimensionless
impl UnitDiv<ReciprocalAmount> for Dimensionless
Source§impl UnitDiv<ReciprocalArea> for Dimensionless
impl UnitDiv<ReciprocalArea> for Dimensionless
Source§impl UnitDiv<ReciprocalLength> for Dimensionless
impl UnitDiv<ReciprocalLength> for Dimensionless
Source§impl UnitDiv<ReciprocalStress> for Dimensionless
impl UnitDiv<ReciprocalStress> for Dimensionless
Source§impl UnitDiv<ReciprocalTemperature> for Dimensionless
impl UnitDiv<ReciprocalTemperature> for Dimensionless
Source§type Output = Temperature
type Output = Temperature
The unit of the quotient.
Source§impl UnitDiv<Stress> for Dimensionless
impl UnitDiv<Stress> for Dimensionless
Source§type Output = ReciprocalStress
type Output = ReciprocalStress
The unit of the quotient.
Source§impl UnitDiv<Temperature> for Dimensionless
impl UnitDiv<Temperature> for Dimensionless
Source§type Output = ReciprocalTemperature
type Output = ReciprocalTemperature
The unit of the quotient.
Source§impl UnitHalves for Dimensionless
impl UnitHalves for Dimensionless
Source§type First = Dimensionless
type First = Dimensionless
The unit the first half takes.
Source§type Second = Dimensionless
type Second = Dimensionless
The unit the second half takes.
Source§impl UnitInv for Dimensionless
impl UnitInv for Dimensionless
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the inverse.
Source§impl UnitMul<Dimensionless> for Dimensionless
impl UnitMul<Dimensionless> for Dimensionless
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the product.
Source§impl UnitMul<Dimensionless> for ForcePerLength
impl UnitMul<Dimensionless> for ForcePerLength
Source§type Output = ForcePerLength
type Output = ForcePerLength
The unit of the product.
Source§impl UnitMul<Dimensionless> for ForcePerVelocity
impl UnitMul<Dimensionless> for ForcePerVelocity
Source§type Output = ForcePerVelocity
type Output = ForcePerVelocity
The unit of the product.
Source§impl UnitMul<Dimensionless> for MolarEnergy
impl UnitMul<Dimensionless> for MolarEnergy
Source§type Output = MolarEnergy
type Output = MolarEnergy
The unit of the product.
Source§impl UnitMul<Dimensionless> for MolarEntropy
impl UnitMul<Dimensionless> for MolarEntropy
Source§type Output = MolarEntropy
type Output = MolarEntropy
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerDensity
impl UnitMul<Dimensionless> for PowerDensity
Source§type Output = PowerDensity
type Output = PowerDensity
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerPerArea
impl UnitMul<Dimensionless> for PowerPerArea
Source§type Output = PowerPerArea
type Output = PowerPerArea
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerPerAreaTemperature
impl UnitMul<Dimensionless> for PowerPerAreaTemperature
Source§type Output = PowerPerAreaTemperature
type Output = PowerPerAreaTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerPerLengthTemperature
impl UnitMul<Dimensionless> for PowerPerLengthTemperature
Source§type Output = PowerPerLengthTemperature
type Output = PowerPerLengthTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerPerTemperature
impl UnitMul<Dimensionless> for PowerPerTemperature
Source§type Output = PowerPerTemperature
type Output = PowerPerTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerPerVolumeTemperature
impl UnitMul<Dimensionless> for PowerPerVolumeTemperature
Source§type Output = PowerPerVolumeTemperature
type Output = PowerPerVolumeTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerTemperature
impl UnitMul<Dimensionless> for PowerTemperature
Source§type Output = PowerTemperature
type Output = PowerTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for PowerTemperatureDensity
impl UnitMul<Dimensionless> for PowerTemperatureDensity
Source§type Output = PowerTemperatureDensity
type Output = PowerTemperatureDensity
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalAmount
impl UnitMul<Dimensionless> for ReciprocalAmount
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalArea
impl UnitMul<Dimensionless> for ReciprocalArea
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalForcePerLength
impl UnitMul<Dimensionless> for ReciprocalForcePerLength
Source§type Output = ReciprocalForcePerLength
type Output = ReciprocalForcePerLength
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalLength
impl UnitMul<Dimensionless> for ReciprocalLength
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalStress
impl UnitMul<Dimensionless> for ReciprocalStress
Source§type Output = ReciprocalStress
type Output = ReciprocalStress
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalTemperature
impl UnitMul<Dimensionless> for ReciprocalTemperature
Source§type Output = ReciprocalTemperature
type Output = ReciprocalTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for ReciprocalViscosity
impl UnitMul<Dimensionless> for ReciprocalViscosity
Source§type Output = ReciprocalViscosity
type Output = ReciprocalViscosity
The unit of the product.
Source§impl UnitMul<Dimensionless> for SecondMomentOfArea
impl UnitMul<Dimensionless> for SecondMomentOfArea
Source§type Output = SecondMomentOfArea
type Output = SecondMomentOfArea
The unit of the product.
Source§impl UnitMul<Dimensionless> for StressPerArea
impl UnitMul<Dimensionless> for StressPerArea
Source§type Output = StressPerArea
type Output = StressPerArea
The unit of the product.
Source§impl UnitMul<Dimensionless> for StressPerLength
impl UnitMul<Dimensionless> for StressPerLength
Source§type Output = StressPerLength
type Output = StressPerLength
The unit of the product.
Source§impl UnitMul<Dimensionless> for StressPerTemperature
impl UnitMul<Dimensionless> for StressPerTemperature
Source§type Output = StressPerTemperature
type Output = StressPerTemperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for Temperature
impl UnitMul<Dimensionless> for Temperature
Source§type Output = Temperature
type Output = Temperature
The unit of the product.
Source§impl UnitMul<Dimensionless> for TemperaturePerLength
impl UnitMul<Dimensionless> for TemperaturePerLength
Source§type Output = TemperaturePerLength
type Output = TemperaturePerLength
The unit of the product.
Source§impl UnitMul<Dimensionless> for Velocity
impl UnitMul<Dimensionless> for Velocity
Source§impl UnitMul<Dimensionless> for Viscosity
impl UnitMul<Dimensionless> for Viscosity
Source§impl UnitMul<Dimensionless> for ViscosityPerArea
impl UnitMul<Dimensionless> for ViscosityPerArea
Source§type Output = ViscosityPerArea
type Output = ViscosityPerArea
The unit of the product.
Source§impl UnitMul<Dimensionless> for ViscosityPerLength
impl UnitMul<Dimensionless> for ViscosityPerLength
Source§type Output = ViscosityPerLength
type Output = ViscosityPerLength
The unit of the product.
Source§impl UnitMul<ForcePerLength> for Dimensionless
impl UnitMul<ForcePerLength> for Dimensionless
Source§type Output = ForcePerLength
type Output = ForcePerLength
The unit of the product.
Source§impl UnitMul<ForcePerVelocity> for Dimensionless
impl UnitMul<ForcePerVelocity> for Dimensionless
Source§type Output = ForcePerVelocity
type Output = ForcePerVelocity
The unit of the product.
Source§impl UnitMul<MolarEnergy> for Dimensionless
impl UnitMul<MolarEnergy> for Dimensionless
Source§type Output = MolarEnergy
type Output = MolarEnergy
The unit of the product.
Source§impl UnitMul<MolarEntropy> for Dimensionless
impl UnitMul<MolarEntropy> for Dimensionless
Source§type Output = MolarEntropy
type Output = MolarEntropy
The unit of the product.
Source§impl UnitMul<PowerDensity> for Dimensionless
impl UnitMul<PowerDensity> for Dimensionless
Source§type Output = PowerDensity
type Output = PowerDensity
The unit of the product.
Source§impl UnitMul<PowerPerArea> for Dimensionless
impl UnitMul<PowerPerArea> for Dimensionless
Source§type Output = PowerPerArea
type Output = PowerPerArea
The unit of the product.
Source§impl UnitMul<PowerPerAreaTemperature> for Dimensionless
impl UnitMul<PowerPerAreaTemperature> for Dimensionless
Source§type Output = PowerPerAreaTemperature
type Output = PowerPerAreaTemperature
The unit of the product.
Source§impl UnitMul<PowerPerLengthTemperature> for Dimensionless
impl UnitMul<PowerPerLengthTemperature> for Dimensionless
Source§type Output = PowerPerLengthTemperature
type Output = PowerPerLengthTemperature
The unit of the product.
Source§impl UnitMul<PowerPerTemperature> for Dimensionless
impl UnitMul<PowerPerTemperature> for Dimensionless
Source§type Output = PowerPerTemperature
type Output = PowerPerTemperature
The unit of the product.
Source§impl UnitMul<PowerPerVolumeTemperature> for Dimensionless
impl UnitMul<PowerPerVolumeTemperature> for Dimensionless
Source§type Output = PowerPerVolumeTemperature
type Output = PowerPerVolumeTemperature
The unit of the product.
Source§impl UnitMul<PowerTemperature> for Dimensionless
impl UnitMul<PowerTemperature> for Dimensionless
Source§type Output = PowerTemperature
type Output = PowerTemperature
The unit of the product.
Source§impl UnitMul<PowerTemperatureDensity> for Dimensionless
impl UnitMul<PowerTemperatureDensity> for Dimensionless
Source§type Output = PowerTemperatureDensity
type Output = PowerTemperatureDensity
The unit of the product.
Source§impl UnitMul<ReciprocalAmount> for Dimensionless
impl UnitMul<ReciprocalAmount> for Dimensionless
Source§type Output = ReciprocalAmount
type Output = ReciprocalAmount
The unit of the product.
Source§impl UnitMul<ReciprocalArea> for Dimensionless
impl UnitMul<ReciprocalArea> for Dimensionless
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the product.
Source§impl UnitMul<ReciprocalForcePerLength> for Dimensionless
impl UnitMul<ReciprocalForcePerLength> for Dimensionless
Source§type Output = ReciprocalForcePerLength
type Output = ReciprocalForcePerLength
The unit of the product.
Source§impl UnitMul<ReciprocalLength> for Dimensionless
impl UnitMul<ReciprocalLength> for Dimensionless
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the product.
Source§impl UnitMul<ReciprocalStress> for Dimensionless
impl UnitMul<ReciprocalStress> for Dimensionless
Source§type Output = ReciprocalStress
type Output = ReciprocalStress
The unit of the product.
Source§impl UnitMul<ReciprocalTemperature> for Dimensionless
impl UnitMul<ReciprocalTemperature> for Dimensionless
Source§type Output = ReciprocalTemperature
type Output = ReciprocalTemperature
The unit of the product.
Source§impl UnitMul<ReciprocalViscosity> for Dimensionless
impl UnitMul<ReciprocalViscosity> for Dimensionless
Source§type Output = ReciprocalViscosity
type Output = ReciprocalViscosity
The unit of the product.
Source§impl UnitMul<SecondMomentOfArea> for Dimensionless
impl UnitMul<SecondMomentOfArea> for Dimensionless
Source§type Output = SecondMomentOfArea
type Output = SecondMomentOfArea
The unit of the product.
Source§impl UnitMul<StressPerArea> for Dimensionless
impl UnitMul<StressPerArea> for Dimensionless
Source§type Output = StressPerArea
type Output = StressPerArea
The unit of the product.
Source§impl UnitMul<StressPerLength> for Dimensionless
impl UnitMul<StressPerLength> for Dimensionless
Source§type Output = StressPerLength
type Output = StressPerLength
The unit of the product.
Source§impl UnitMul<StressPerTemperature> for Dimensionless
impl UnitMul<StressPerTemperature> for Dimensionless
Source§type Output = StressPerTemperature
type Output = StressPerTemperature
The unit of the product.
Source§impl UnitMul<Temperature> for Dimensionless
impl UnitMul<Temperature> for Dimensionless
Source§type Output = Temperature
type Output = Temperature
The unit of the product.
Source§impl UnitMul<TemperaturePerLength> for Dimensionless
impl UnitMul<TemperaturePerLength> for Dimensionless
Source§type Output = TemperaturePerLength
type Output = TemperaturePerLength
The unit of the product.
Source§impl UnitMul<Velocity> for Dimensionless
impl UnitMul<Velocity> for Dimensionless
Source§impl UnitMul<Viscosity> for Dimensionless
impl UnitMul<Viscosity> for Dimensionless
Source§impl UnitMul<ViscosityPerArea> for Dimensionless
impl UnitMul<ViscosityPerArea> for Dimensionless
Source§type Output = ViscosityPerArea
type Output = ViscosityPerArea
The unit of the product.
Source§impl UnitMul<ViscosityPerLength> for Dimensionless
impl UnitMul<ViscosityPerLength> for Dimensionless
Source§type Output = ViscosityPerLength
type Output = ViscosityPerLength
The unit of the product.
Source§impl UnitSum for Dimensionless
impl UnitSum for Dimensionless
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the sum.
impl Copy for Dimensionless
impl Eq for Dimensionless
impl StructuralPartialEq for Dimensionless
impl Unit for Dimensionless
Auto Trait Implementations§
impl Freeze for Dimensionless
impl RefUnwindSafe for Dimensionless
impl Send for Dimensionless
impl Sync for Dimensionless
impl Unpin for Dimensionless
impl UnsafeUnpin for Dimensionless
impl UnwindSafe for Dimensionless
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