Enum uom::si::radiant_exposure::Units

source ·
#[non_exhaustive]
pub enum Units {
Show 43 variants yottajoule_per_square_meter(yottajoule_per_square_meter), zettajoule_per_square_meter(zettajoule_per_square_meter), exajoule_per_square_meter(exajoule_per_square_meter), petajoule_per_square_meter(petajoule_per_square_meter), terajoule_per_square_meter(terajoule_per_square_meter), gigajoule_per_square_meter(gigajoule_per_square_meter), megajoule_per_square_meter(megajoule_per_square_meter), kilojoule_per_square_meter(kilojoule_per_square_meter), hectojoule_per_square_meter(hectojoule_per_square_meter), decajoule_per_square_meter(decajoule_per_square_meter), joule_per_square_meter(joule_per_square_meter), decijoule_per_square_meter(decijoule_per_square_meter), centijoule_per_square_meter(centijoule_per_square_meter), millijoule_per_square_meter(millijoule_per_square_meter), microjoule_per_square_meter(microjoule_per_square_meter), nanojoule_per_square_meter(nanojoule_per_square_meter), picojoule_per_square_meter(picojoule_per_square_meter), femtojoule_per_square_meter(femtojoule_per_square_meter), attojoule_per_square_meter(attojoule_per_square_meter), zeptojoule_per_square_meter(zeptojoule_per_square_meter), yoctojoule_per_square_meter(yoctojoule_per_square_meter), gigajoule_per_square_centimeter(gigajoule_per_square_centimeter), megajoule_per_square_centimeter(megajoule_per_square_centimeter), kilojoule_per_square_centimeter(kilojoule_per_square_centimeter), hectojoule_per_square_centimeter(hectojoule_per_square_centimeter), decajoule_per_square_centimeter(decajoule_per_square_centimeter), joule_per_square_centimeter(joule_per_square_centimeter), decijoule_per_square_centimeter(decijoule_per_square_centimeter), centijoule_per_square_centimeter(centijoule_per_square_centimeter), millijoule_per_square_centimeter(millijoule_per_square_centimeter), microjoule_per_square_centimeter(microjoule_per_square_centimeter), nanojoule_per_square_centimeter(nanojoule_per_square_centimeter), gigajoule_per_square_millimeter(gigajoule_per_square_millimeter), megajoule_per_square_millimeter(megajoule_per_square_millimeter), kilojoule_per_square_millimeter(kilojoule_per_square_millimeter), hectojoule_per_square_millimeter(hectojoule_per_square_millimeter), decajoule_per_square_millimeter(decajoule_per_square_millimeter), joule_per_square_millimeter(joule_per_square_millimeter), decijoule_per_square_millimeter(decijoule_per_square_millimeter), centijoule_per_square_millimeter(centijoule_per_square_millimeter), millijoule_per_square_millimeter(millijoule_per_square_millimeter), microjoule_per_square_millimeter(microjoule_per_square_millimeter), nanojoule_per_square_millimeter(nanojoule_per_square_millimeter),
}
Expand description

Unit enum.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

yottajoule_per_square_meter(yottajoule_per_square_meter)

yottajoules per square meter

§

zettajoule_per_square_meter(zettajoule_per_square_meter)

zettajoules per square meter

§

exajoule_per_square_meter(exajoule_per_square_meter)

exajoules per square meter

§

petajoule_per_square_meter(petajoule_per_square_meter)

petajoules per square meter

§

terajoule_per_square_meter(terajoule_per_square_meter)

terajoules per square meter

§

gigajoule_per_square_meter(gigajoule_per_square_meter)

gigajoules per square meter

§

megajoule_per_square_meter(megajoule_per_square_meter)

megajoules per square meter

§

kilojoule_per_square_meter(kilojoule_per_square_meter)

kilojoules per square meter

§

hectojoule_per_square_meter(hectojoule_per_square_meter)

hectojoules per square meter

§

decajoule_per_square_meter(decajoule_per_square_meter)

decajoules per square meter

§

joule_per_square_meter(joule_per_square_meter)

joules per square meter

§

decijoule_per_square_meter(decijoule_per_square_meter)

decijoules per square meter

§

centijoule_per_square_meter(centijoule_per_square_meter)

centijoules per square meter

§

millijoule_per_square_meter(millijoule_per_square_meter)

millijoules per square meter

§

microjoule_per_square_meter(microjoule_per_square_meter)

microjoules per square meter

§

nanojoule_per_square_meter(nanojoule_per_square_meter)

nanojoules per square meter

§

picojoule_per_square_meter(picojoule_per_square_meter)

picojoules per square meter

§

femtojoule_per_square_meter(femtojoule_per_square_meter)

femtojoules per square meter

§

attojoule_per_square_meter(attojoule_per_square_meter)

attojoules per square meter

§

zeptojoule_per_square_meter(zeptojoule_per_square_meter)

zeptojoules per square meter

§

yoctojoule_per_square_meter(yoctojoule_per_square_meter)

yoctojoules per square meter

§

gigajoule_per_square_centimeter(gigajoule_per_square_centimeter)

gigajoules per square centimeter

§

megajoule_per_square_centimeter(megajoule_per_square_centimeter)

megajoules per square centimeter

§

kilojoule_per_square_centimeter(kilojoule_per_square_centimeter)

kilojoules per square centimeter

§

hectojoule_per_square_centimeter(hectojoule_per_square_centimeter)

hectojoules per square centimeter

§

decajoule_per_square_centimeter(decajoule_per_square_centimeter)

decajoules per square centimeter

§

joule_per_square_centimeter(joule_per_square_centimeter)

joules per square centimeter

§

decijoule_per_square_centimeter(decijoule_per_square_centimeter)

decijoules per square centimeter

§

centijoule_per_square_centimeter(centijoule_per_square_centimeter)

centijoules per square centimeter

§

millijoule_per_square_centimeter(millijoule_per_square_centimeter)

millijoules per square centimeter

§

microjoule_per_square_centimeter(microjoule_per_square_centimeter)

microjoules per square centimeter

§

nanojoule_per_square_centimeter(nanojoule_per_square_centimeter)

nanojoules per square centimeter

§

gigajoule_per_square_millimeter(gigajoule_per_square_millimeter)

gigajoules per square millimeter

§

megajoule_per_square_millimeter(megajoule_per_square_millimeter)

megajoules per square millimeter

§

kilojoule_per_square_millimeter(kilojoule_per_square_millimeter)

kilojoules per square millimeter

§

hectojoule_per_square_millimeter(hectojoule_per_square_millimeter)

hectojoules per square millimeter

§

decajoule_per_square_millimeter(decajoule_per_square_millimeter)

decajoules per square millimeter

§

joule_per_square_millimeter(joule_per_square_millimeter)

joules per square millimeter

§

decijoule_per_square_millimeter(decijoule_per_square_millimeter)

decijoules per square millimeter

§

centijoule_per_square_millimeter(centijoule_per_square_millimeter)

centijoules per square millimeter

§

millijoule_per_square_millimeter(millijoule_per_square_millimeter)

millijoules per square millimeter

§

microjoule_per_square_millimeter(microjoule_per_square_millimeter)

microjoules per square millimeter

§

nanojoule_per_square_millimeter(nanojoule_per_square_millimeter)

nanojoules per square millimeter

Implementations§

source§

impl Units

source

pub fn abbreviation(&self) -> &'static str

Unit abbreviation.

source

pub fn singular(&self) -> &'static str

Unit singular description.

source

pub fn plural(&self) -> &'static str

Unit plural description.

Trait Implementations§

source§

impl Clone for Units

source§

fn clone(&self) -> Units

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Units

source§

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

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

impl Copy for Units

Auto Trait Implementations§

§

impl Freeze for Units

§

impl RefUnwindSafe for Units

§

impl Send for Units

§

impl Sync for Units

§

impl Unpin for Units

§

impl UnwindSafe for Units

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> 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> Same for T

§

type Output = T

Should always be Self
source§

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

§

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>,

§

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.