Skip to main content

Dimensionless

Struct Dimensionless 

Source
pub struct Dimensionless;
Expand description

A quantity carrying no unit.

Implementations§

Source§

impl Dimensionless

Source

pub const fn percent(value: TensorRank0) -> Quantity<Dimensionless>

A quantity of percent.

Source§

impl Dimensionless

Source

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

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for Dimensionless

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Dimensionless

Source§

fn eq(&self, other: &Dimensionless) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl UnitDiv<Amount> for Dimensionless

Source§

type Output = ReciprocalAmount

The unit of the quotient.
Source§

impl UnitDiv<Area> for Dimensionless

Source§

type Output = ReciprocalArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Action

Source§

type Output = Action

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Amount

Source§

type Output = Amount

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Area

Source§

type Output = Area

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Charge

Source§

type Output = Charge

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Dimensionless

Source§

type Output = Dimensionless

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Energy

Source§

type Output = Energy

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Entropy

Source§

type Output = Entropy

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Force

Source§

type Output = Force

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ForcePerLength

Source§

type Output = ForcePerLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ForcePerVelocity

Source§

type Output = ForcePerVelocity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Length

Source§

type Output = Length

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for MolarEnergy

Source§

type Output = MolarEnergy

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for MolarEntropy

Source§

type Output = MolarEntropy

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Power

Source§

type Output = Power

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerDensity

Source§

type Output = PowerDensity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerPerArea

Source§

type Output = PowerPerArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerPerAreaTemperature

Source§

type Output = PowerPerAreaTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerPerLengthTemperature

Source§

type Output = PowerPerLengthTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerPerTemperature

Source§

type Output = PowerPerTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerPerVolumeTemperature

Source§

type Output = PowerPerVolumeTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerTemperature

Source§

type Output = PowerTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for PowerTemperatureDensity

Source§

type Output = PowerTemperatureDensity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Rate

Source§

type Output = Rate

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalAmount

Source§

type Output = ReciprocalAmount

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalArea

Source§

type Output = ReciprocalArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalForcePerLength

Source§

type Output = ReciprocalForcePerLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalLength

Source§

type Output = ReciprocalLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalStress

Source§

type Output = ReciprocalStress

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalTemperature

Source§

type Output = ReciprocalTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ReciprocalViscosity

Source§

type Output = ReciprocalViscosity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for SecondMomentOfArea

Source§

type Output = SecondMomentOfArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Stress

Source§

type Output = Stress

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for StressPerArea

Source§

type Output = StressPerArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for StressPerLength

Source§

type Output = StressPerLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for StressPerTemperature

Source§

type Output = StressPerTemperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Temperature

Source§

type Output = Temperature

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for TemperaturePerLength

Source§

type Output = TemperaturePerLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Time

Source§

type Output = Time

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Velocity

Source§

type Output = Velocity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Viscosity

Source§

type Output = Viscosity

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ViscosityPerArea

Source§

type Output = ViscosityPerArea

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for ViscosityPerLength

Source§

type Output = ViscosityPerLength

The unit of the quotient.
Source§

impl UnitDiv<Dimensionless> for Volume

Source§

type Output = Volume

The unit of the quotient.
Source§

impl UnitDiv<Length> for Dimensionless

Source§

type Output = ReciprocalLength

The unit of the quotient.
Source§

impl UnitDiv<Rate> for Dimensionless

Source§

type Output = Time

The unit of the quotient.
Source§

impl UnitDiv<ReciprocalAmount> for Dimensionless

Source§

type Output = Amount

The unit of the quotient.
Source§

impl UnitDiv<ReciprocalArea> for Dimensionless

Source§

type Output = Area

The unit of the quotient.
Source§

impl UnitDiv<ReciprocalLength> for Dimensionless

Source§

type Output = Length

The unit of the quotient.
Source§

impl UnitDiv<ReciprocalStress> for Dimensionless

Source§

type Output = Stress

The unit of the quotient.
Source§

impl UnitDiv<ReciprocalTemperature> for Dimensionless

Source§

type Output = Temperature

The unit of the quotient.
Source§

impl UnitDiv<Stress> for Dimensionless

Source§

type Output = ReciprocalStress

The unit of the quotient.
Source§

impl UnitDiv<Temperature> for Dimensionless

Source§

type Output = ReciprocalTemperature

The unit of the quotient.
Source§

impl UnitDiv<Time> for Dimensionless

Source§

type Output = Rate

The unit of the quotient.
Source§

impl UnitHalves for Dimensionless

Source§

type First = Dimensionless

The unit the first half takes.
Source§

type Second = Dimensionless

The unit the second half takes.
Source§

impl UnitInv for Dimensionless

Source§

type Output = Dimensionless

The unit of the inverse.
Source§

impl UnitMul<Action> for Dimensionless

Source§

type Output = Action

The unit of the product.
Source§

impl UnitMul<Amount> for Dimensionless

Source§

type Output = Amount

The unit of the product.
Source§

impl UnitMul<Area> for Dimensionless

Source§

type Output = Area

The unit of the product.
Source§

impl UnitMul<Charge> for Dimensionless

Source§

type Output = Charge

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Action

Source§

type Output = Action

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Amount

Source§

type Output = Amount

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Area

Source§

type Output = Area

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Charge

Source§

type Output = Charge

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Dimensionless

Source§

type Output = Dimensionless

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Energy

Source§

type Output = Energy

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Entropy

Source§

type Output = Entropy

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Force

Source§

type Output = Force

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ForcePerLength

Source§

type Output = ForcePerLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ForcePerVelocity

Source§

type Output = ForcePerVelocity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Length

Source§

type Output = Length

The unit of the product.
Source§

impl UnitMul<Dimensionless> for MolarEnergy

Source§

type Output = MolarEnergy

The unit of the product.
Source§

impl UnitMul<Dimensionless> for MolarEntropy

Source§

type Output = MolarEntropy

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Power

Source§

type Output = Power

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerDensity

Source§

type Output = PowerDensity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerPerArea

Source§

type Output = PowerPerArea

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerPerAreaTemperature

Source§

type Output = PowerPerAreaTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerPerLengthTemperature

Source§

type Output = PowerPerLengthTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerPerTemperature

Source§

type Output = PowerPerTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerPerVolumeTemperature

Source§

type Output = PowerPerVolumeTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerTemperature

Source§

type Output = PowerTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for PowerTemperatureDensity

Source§

type Output = PowerTemperatureDensity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Rate

Source§

type Output = Rate

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalAmount

Source§

type Output = ReciprocalAmount

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalArea

Source§

type Output = ReciprocalArea

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalForcePerLength

Source§

type Output = ReciprocalForcePerLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalLength

Source§

type Output = ReciprocalLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalStress

Source§

type Output = ReciprocalStress

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalTemperature

Source§

type Output = ReciprocalTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ReciprocalViscosity

Source§

type Output = ReciprocalViscosity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for SecondMomentOfArea

Source§

type Output = SecondMomentOfArea

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Stress

Source§

type Output = Stress

The unit of the product.
Source§

impl UnitMul<Dimensionless> for StressPerArea

Source§

type Output = StressPerArea

The unit of the product.
Source§

impl UnitMul<Dimensionless> for StressPerLength

Source§

type Output = StressPerLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for StressPerTemperature

Source§

type Output = StressPerTemperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Temperature

Source§

type Output = Temperature

The unit of the product.
Source§

impl UnitMul<Dimensionless> for TemperaturePerLength

Source§

type Output = TemperaturePerLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Time

Source§

type Output = Time

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Velocity

Source§

type Output = Velocity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Viscosity

Source§

type Output = Viscosity

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ViscosityPerArea

Source§

type Output = ViscosityPerArea

The unit of the product.
Source§

impl UnitMul<Dimensionless> for ViscosityPerLength

Source§

type Output = ViscosityPerLength

The unit of the product.
Source§

impl UnitMul<Dimensionless> for Volume

Source§

type Output = Volume

The unit of the product.
Source§

impl UnitMul<Energy> for Dimensionless

Source§

type Output = Energy

The unit of the product.
Source§

impl UnitMul<Entropy> for Dimensionless

Source§

type Output = Entropy

The unit of the product.
Source§

impl UnitMul<Force> for Dimensionless

Source§

type Output = Force

The unit of the product.
Source§

impl UnitMul<ForcePerLength> for Dimensionless

Source§

type Output = ForcePerLength

The unit of the product.
Source§

impl UnitMul<ForcePerVelocity> for Dimensionless

Source§

type Output = ForcePerVelocity

The unit of the product.
Source§

impl UnitMul<Length> for Dimensionless

Source§

type Output = Length

The unit of the product.
Source§

impl UnitMul<MolarEnergy> for Dimensionless

Source§

type Output = MolarEnergy

The unit of the product.
Source§

impl UnitMul<MolarEntropy> for Dimensionless

Source§

type Output = MolarEntropy

The unit of the product.
Source§

impl UnitMul<Power> for Dimensionless

Source§

type Output = Power

The unit of the product.
Source§

impl UnitMul<PowerDensity> for Dimensionless

Source§

type Output = PowerDensity

The unit of the product.
Source§

impl UnitMul<PowerPerArea> for Dimensionless

Source§

type Output = PowerPerArea

The unit of the product.
Source§

impl UnitMul<PowerPerAreaTemperature> for Dimensionless

Source§

type Output = PowerPerAreaTemperature

The unit of the product.
Source§

impl UnitMul<PowerPerLengthTemperature> for Dimensionless

Source§

type Output = PowerPerLengthTemperature

The unit of the product.
Source§

impl UnitMul<PowerPerTemperature> for Dimensionless

Source§

type Output = PowerPerTemperature

The unit of the product.
Source§

impl UnitMul<PowerPerVolumeTemperature> for Dimensionless

Source§

type Output = PowerPerVolumeTemperature

The unit of the product.
Source§

impl UnitMul<PowerTemperature> for Dimensionless

Source§

type Output = PowerTemperature

The unit of the product.
Source§

impl UnitMul<PowerTemperatureDensity> for Dimensionless

Source§

type Output = PowerTemperatureDensity

The unit of the product.
Source§

impl UnitMul<Rate> for Dimensionless

Source§

type Output = Rate

The unit of the product.
Source§

impl UnitMul<ReciprocalAmount> for Dimensionless

Source§

type Output = ReciprocalAmount

The unit of the product.
Source§

impl UnitMul<ReciprocalArea> for Dimensionless

Source§

type Output = ReciprocalArea

The unit of the product.
Source§

impl UnitMul<ReciprocalForcePerLength> for Dimensionless

Source§

type Output = ReciprocalForcePerLength

The unit of the product.
Source§

impl UnitMul<ReciprocalLength> for Dimensionless

Source§

type Output = ReciprocalLength

The unit of the product.
Source§

impl UnitMul<ReciprocalStress> for Dimensionless

Source§

type Output = ReciprocalStress

The unit of the product.
Source§

impl UnitMul<ReciprocalTemperature> for Dimensionless

Source§

type Output = ReciprocalTemperature

The unit of the product.
Source§

impl UnitMul<ReciprocalViscosity> for Dimensionless

Source§

type Output = ReciprocalViscosity

The unit of the product.
Source§

impl UnitMul<SecondMomentOfArea> for Dimensionless

Source§

type Output = SecondMomentOfArea

The unit of the product.
Source§

impl UnitMul<Stress> for Dimensionless

Source§

type Output = Stress

The unit of the product.
Source§

impl UnitMul<StressPerArea> for Dimensionless

Source§

type Output = StressPerArea

The unit of the product.
Source§

impl UnitMul<StressPerLength> for Dimensionless

Source§

type Output = StressPerLength

The unit of the product.
Source§

impl UnitMul<StressPerTemperature> for Dimensionless

Source§

type Output = StressPerTemperature

The unit of the product.
Source§

impl UnitMul<Temperature> for Dimensionless

Source§

type Output = Temperature

The unit of the product.
Source§

impl UnitMul<TemperaturePerLength> for Dimensionless

Source§

type Output = TemperaturePerLength

The unit of the product.
Source§

impl UnitMul<Time> for Dimensionless

Source§

type Output = Time

The unit of the product.
Source§

impl UnitMul<Velocity> for Dimensionless

Source§

type Output = Velocity

The unit of the product.
Source§

impl UnitMul<Viscosity> for Dimensionless

Source§

type Output = Viscosity

The unit of the product.
Source§

impl UnitMul<ViscosityPerArea> for Dimensionless

Source§

type Output = ViscosityPerArea

The unit of the product.
Source§

impl UnitMul<ViscosityPerLength> for Dimensionless

Source§

type Output = ViscosityPerLength

The unit of the product.
Source§

impl UnitMul<Volume> for Dimensionless

Source§

type Output = Volume

The unit of the product.
Source§

impl UnitSum for Dimensionless

Source§

type Output = Dimensionless

The unit of the sum.
Source§

impl Copy for Dimensionless

Source§

impl Eq for Dimensionless

Source§

impl StructuralPartialEq for Dimensionless

Source§

impl Unit for Dimensionless

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Is<T> for T