pub struct LuminousIntensity(/* private fields */);Implementations§
Source§impl LuminousIntensity
impl LuminousIntensity
pub fn new<U>(value: f64) -> Selfwhere
U: Conversion<f64>,
pub fn get<U>(&self) -> f64where
U: Conversion<f64>,
pub fn raw(&self) -> f64
pub fn into_uom(self) -> LuminousIntensity
pub fn as_uom(&self) -> &LuminousIntensity
pub fn from_uom(inner: LuminousIntensity) -> Self
Methods from Deref<Target = LuminousIntensity>§
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const HALF_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const FULL_TURN: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn AngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f32, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f32>
pub const SPHERE: Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = Z0, Th = Z0, Kind = dyn SolidAngleKind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
Trait Implementations§
Source§impl Add for LuminousIntensity
impl Add for LuminousIntensity
Source§impl AddAssign for LuminousIntensity
impl AddAssign for LuminousIntensity
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl<'de, Context> BorrowDecode<'de, Context> for LuminousIntensity
impl<'de, Context> BorrowDecode<'de, Context> for LuminousIntensity
Source§fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>(
decoder: &mut D,
) -> Result<Self, DecodeError>
fn borrow_decode<D: BorrowDecoder<'de, Context = Context>>( decoder: &mut D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for LuminousIntensity
impl Clone for LuminousIntensity
Source§fn clone(&self) -> LuminousIntensity
fn clone(&self) -> LuminousIntensity
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 LuminousIntensity
impl Debug for LuminousIntensity
Source§impl<Context> Decode<Context> for LuminousIntensity
impl<Context> Decode<Context> for LuminousIntensity
Source§impl Default for LuminousIntensity
impl Default for LuminousIntensity
Source§impl Deref for LuminousIntensity
impl Deref for LuminousIntensity
Source§type Target = Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = PInt<UInt<UTerm, B1>>, Th = Z0, Kind = dyn Kind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
type Target = Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = PInt<UInt<UTerm, B1>>, Th = Z0, Kind = dyn Kind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>
The resulting type after dereferencing.
Source§impl<'de> Deserialize<'de> for LuminousIntensity
impl<'de> Deserialize<'de> for LuminousIntensity
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Div<f64> for LuminousIntensity
impl Div<f64> for LuminousIntensity
Source§impl DivAssign<f64> for LuminousIntensity
impl DivAssign<f64> for LuminousIntensity
Source§fn div_assign(&mut self, rhs: f64)
fn div_assign(&mut self, rhs: f64)
Performs the
/= operation. Read moreSource§impl Encode for LuminousIntensity
impl Encode for LuminousIntensity
Source§impl From<LuminousIntensity> for LuminousIntensity
impl From<LuminousIntensity> for LuminousIntensity
Source§fn from(value: LuminousIntensity) -> Self
fn from(value: LuminousIntensity) -> Self
Converts to this type from the input type.
Source§impl From<Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = PInt<UInt<UTerm, B1>>, Th = Z0, Kind = dyn Kind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>> for LuminousIntensity
impl From<Quantity<dyn Dimension<T = Z0, L = Z0, M = Z0, N = Z0, I = Z0, J = PInt<UInt<UTerm, B1>>, Th = Z0, Kind = dyn Kind>, dyn Units<f64, thermodynamic_temperature = kelvin, luminous_intensity = candela, time = second, mass = kilogram, length = meter, amount_of_substance = mole, electric_current = ampere>, f64>> for LuminousIntensity
Source§fn from(value: LuminousIntensity) -> Self
fn from(value: LuminousIntensity) -> Self
Converts to this type from the input type.
Source§impl Mul<f64> for LuminousIntensity
impl Mul<f64> for LuminousIntensity
Source§impl MulAssign<f64> for LuminousIntensity
impl MulAssign<f64> for LuminousIntensity
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreSource§impl Neg for LuminousIntensity
impl Neg for LuminousIntensity
Source§impl PartialEq for LuminousIntensity
impl PartialEq for LuminousIntensity
Source§impl PartialOrd for LuminousIntensity
impl PartialOrd for LuminousIntensity
Source§impl Serialize for LuminousIntensity
impl Serialize for LuminousIntensity
Source§impl Sub for LuminousIntensity
impl Sub for LuminousIntensity
Source§impl SubAssign for LuminousIntensity
impl SubAssign for LuminousIntensity
Source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-= operation. Read moreimpl Copy for LuminousIntensity
impl StructuralPartialEq for LuminousIntensity
Auto Trait Implementations§
impl Freeze for LuminousIntensity
impl RefUnwindSafe for LuminousIntensity
impl Send for LuminousIntensity
impl Sync for LuminousIntensity
impl Unpin for LuminousIntensity
impl UnwindSafe for LuminousIntensity
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