pub struct candela;
Expand description

The candela is the SI unit of luminous intensity in a given direction. It is defined by taking the fixed numerical value of the luminous efficacy of monochromatic radiation of frequency 540 × 10¹² Hz, Kcd, to be 683 when expressed in the unit lm W⁻¹, which is equal to cd sr W⁻¹, or cd sr kg⁻¹ m⁻² s³, where the kilogram, meter, and second are defined in terms of h, c and ∆νCs.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Conversion factor type specific to the underlying storage type.

Coefficient portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the multiplicative identity (Self::T::one()) if no coefficient exists. Read more

Constant portion of conversion factor for converting the given unit to the base unit for the quantity: (value * coefficient()) + constant(). Implementation should return the additive identity (Self::T::zero()) if no constant exists. See ConstantOp documentation for details about parameter use to ensure the method optimizes correctly. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Unit abbreviation.

Unit singular description.

Unit plural description.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.