#[non_exhaustive]
pub enum Units {
Show 99 variants yottakatal_per_cubic_meter(yottakatal_per_cubic_meter), zettakatal_per_cubic_meter(zettakatal_per_cubic_meter), exakatal_per_cubic_meter(exakatal_per_cubic_meter), petakatal_per_cubic_meter(petakatal_per_cubic_meter), terakatal_per_cubic_meter(terakatal_per_cubic_meter), gigakatal_per_cubic_meter(gigakatal_per_cubic_meter), megakatal_per_cubic_meter(megakatal_per_cubic_meter), kilokatal_per_cubic_meter(kilokatal_per_cubic_meter), hectokatal_per_cubic_meter(hectokatal_per_cubic_meter), decakatal_per_cubic_meter(decakatal_per_cubic_meter), katal_per_cubic_meter(katal_per_cubic_meter), decikatal_per_cubic_meter(decikatal_per_cubic_meter), centikatal_per_cubic_meter(centikatal_per_cubic_meter), millikatal_per_cubic_meter(millikatal_per_cubic_meter), microkatal_per_cubic_meter(microkatal_per_cubic_meter), nanokatal_per_cubic_meter(nanokatal_per_cubic_meter), picokatal_per_cubic_meter(picokatal_per_cubic_meter), femtokatal_per_cubic_meter(femtokatal_per_cubic_meter), attokatal_per_cubic_meter(attokatal_per_cubic_meter), zeptokatal_per_cubic_meter(zeptokatal_per_cubic_meter), yoctokatal_per_cubic_meter(yoctokatal_per_cubic_meter), kilokatal_per_cubic_decimeter(kilokatal_per_cubic_decimeter), kilokatal_per_liter(kilokatal_per_liter), katal_per_cubic_decimeter(katal_per_cubic_decimeter), katal_per_liter(katal_per_liter), millikatal_per_cubic_decimeter(millikatal_per_cubic_decimeter), millikatal_per_liter(millikatal_per_liter), microkatal_per_cubic_decimeter(microkatal_per_cubic_decimeter), microkatal_per_liter(microkatal_per_liter), nanokatal_per_cubic_decimeter(nanokatal_per_cubic_decimeter), nanokatal_per_liter(nanokatal_per_liter), picokatal_per_cubic_decimeter(picokatal_per_cubic_decimeter), picokatal_per_liter(picokatal_per_liter), femtokatal_per_cubic_decimeter(femtokatal_per_cubic_decimeter), femtokatal_per_liter(femtokatal_per_liter), kilokatal_per_deciliter(kilokatal_per_deciliter), katal_per_deciliter(katal_per_deciliter), millikatal_per_deciliter(millikatal_per_deciliter), microkatal_per_deciliter(microkatal_per_deciliter), nanokatal_per_deciliter(nanokatal_per_deciliter), picokatal_per_deciliter(picokatal_per_deciliter), femtokatal_per_deciliter(femtokatal_per_deciliter), kilokatal_per_milliliter(kilokatal_per_milliliter), katal_per_milliliter(katal_per_milliliter), millikatal_per_milliliter(millikatal_per_milliliter), microkatal_per_milliliter(microkatal_per_milliliter), nanokatal_per_milliliter(nanokatal_per_milliliter), picokatal_per_milliliter(picokatal_per_milliliter), femtokatal_per_milliliter(femtokatal_per_milliliter), yotta_enzyme_unit_per_cubic_meter(yotta_enzyme_unit_per_cubic_meter), zetta_enzyme_unit_per_cubic_meter(zetta_enzyme_unit_per_cubic_meter), exa_enzyme_unit_per_cubic_meter(exa_enzyme_unit_per_cubic_meter), peta_enzyme_unit_per_cubic_meter(peta_enzyme_unit_per_cubic_meter), tera_enzyme_unit_per_cubic_meter(tera_enzyme_unit_per_cubic_meter), giga_enzyme_unit_per_cubic_meter(giga_enzyme_unit_per_cubic_meter), mega_enzyme_unit_per_cubic_meter(mega_enzyme_unit_per_cubic_meter), kilo_enzyme_unit_per_cubic_meter(kilo_enzyme_unit_per_cubic_meter), hecto_enzyme_unit_per_cubic_meter(hecto_enzyme_unit_per_cubic_meter), deca_enzyme_unit_per_cubic_meter(deca_enzyme_unit_per_cubic_meter), enzyme_unit_per_cubic_meter(enzyme_unit_per_cubic_meter), deci_enzyme_unit_per_cubic_meter(deci_enzyme_unit_per_cubic_meter), centi_enzyme_unit_per_cubic_meter(centi_enzyme_unit_per_cubic_meter), milli_enzyme_unit_per_cubic_meter(milli_enzyme_unit_per_cubic_meter), micro_enzyme_unit_per_cubic_meter(micro_enzyme_unit_per_cubic_meter), nano_enzyme_unit_per_cubic_meter(nano_enzyme_unit_per_cubic_meter), pico_enzyme_unit_per_cubic_meter(pico_enzyme_unit_per_cubic_meter), femto_enzyme_unit_per_cubic_meter(femto_enzyme_unit_per_cubic_meter), atto_enzyme_unit_per_cubic_meter(atto_enzyme_unit_per_cubic_meter), zepto_enzyme_unit_per_cubic_meter(zepto_enzyme_unit_per_cubic_meter), yocto_enzyme_unit_per_cubic_meter(yocto_enzyme_unit_per_cubic_meter), kilo_enzyme_unit_per_cubic_decimeter(kilo_enzyme_unit_per_cubic_decimeter), kilo_enzyme_unit_per_liter(kilo_enzyme_unit_per_liter), enzyme_unit_per_cubic_decimeter(enzyme_unit_per_cubic_decimeter), enzyme_unit_per_liter(enzyme_unit_per_liter), milli_enzyme_unit_per_cubic_decimeter(milli_enzyme_unit_per_cubic_decimeter), milli_enzyme_unit_per_liter(milli_enzyme_unit_per_liter), micro_enzyme_unit_per_cubic_decimeter(micro_enzyme_unit_per_cubic_decimeter), micro_enzyme_unit_per_liter(micro_enzyme_unit_per_liter), nano_enzyme_unit_per_cubic_decimeter(nano_enzyme_unit_per_cubic_decimeter), nano_enzyme_unit_per_liter(nano_enzyme_unit_per_liter), pico_enzyme_unit_per_cubic_decimeter(pico_enzyme_unit_per_cubic_decimeter), pico_enzyme_unit_per_liter(pico_enzyme_unit_per_liter), femto_enzyme_unit_per_cubic_decimeter(femto_enzyme_unit_per_cubic_decimeter), femto_enzyme_unit_per_liter(femto_enzyme_unit_per_liter), kilo_enzyme_unit_per_deciliter(kilo_enzyme_unit_per_deciliter), enzyme_unit_per_deciliter(enzyme_unit_per_deciliter), milli_enzyme_unit_per_deciliter(milli_enzyme_unit_per_deciliter), micro_enzyme_unit_per_deciliter(micro_enzyme_unit_per_deciliter), nano_enzyme_unit_per_deciliter(nano_enzyme_unit_per_deciliter), pico_enzyme_unit_per_deciliter(pico_enzyme_unit_per_deciliter), femto_enzyme_unit_per_deciliter(femto_enzyme_unit_per_deciliter), kilo_enzyme_unit_per_milliliter(kilo_enzyme_unit_per_milliliter), enzyme_unit_per_milliliter(enzyme_unit_per_milliliter), milli_enzyme_unit_per_milliliter(milli_enzyme_unit_per_milliliter), micro_enzyme_unit_per_milliliter(micro_enzyme_unit_per_milliliter), nano_enzyme_unit_per_milliliter(nano_enzyme_unit_per_milliliter), pico_enzyme_unit_per_milliliter(pico_enzyme_unit_per_milliliter), femto_enzyme_unit_per_milliliter(femto_enzyme_unit_per_milliliter), particle_per_second_cubic_meter(particle_per_second_cubic_meter),
}
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.
§

yottakatal_per_cubic_meter(yottakatal_per_cubic_meter)

yottakatals per cubic meter

§

zettakatal_per_cubic_meter(zettakatal_per_cubic_meter)

zettakatals per cubic meter

§

exakatal_per_cubic_meter(exakatal_per_cubic_meter)

exakatals per cubic meter

§

petakatal_per_cubic_meter(petakatal_per_cubic_meter)

petakatals per cubic meter

§

terakatal_per_cubic_meter(terakatal_per_cubic_meter)

terakatals per cubic meter

§

gigakatal_per_cubic_meter(gigakatal_per_cubic_meter)

gigakatals per cubic meter

§

megakatal_per_cubic_meter(megakatal_per_cubic_meter)

megakatals per cubic meter

§

kilokatal_per_cubic_meter(kilokatal_per_cubic_meter)

kilokatals per cubic meter

§

hectokatal_per_cubic_meter(hectokatal_per_cubic_meter)

hectokatals per cubic meter

§

decakatal_per_cubic_meter(decakatal_per_cubic_meter)

decakatals per cubic meter

§

katal_per_cubic_meter(katal_per_cubic_meter)

katals per cubic meter

§

decikatal_per_cubic_meter(decikatal_per_cubic_meter)

decikatals per cubic meter

§

centikatal_per_cubic_meter(centikatal_per_cubic_meter)

centikatals per cubic meter

§

millikatal_per_cubic_meter(millikatal_per_cubic_meter)

millikatals per cubic meter

§

microkatal_per_cubic_meter(microkatal_per_cubic_meter)

microkatals per cubic meter

§

nanokatal_per_cubic_meter(nanokatal_per_cubic_meter)

nanokatals per cubic meter

§

picokatal_per_cubic_meter(picokatal_per_cubic_meter)

picokatals per cubic meter

§

femtokatal_per_cubic_meter(femtokatal_per_cubic_meter)

femtokatals per cubic meter

§

attokatal_per_cubic_meter(attokatal_per_cubic_meter)

attokatals per cubic meter

§

zeptokatal_per_cubic_meter(zeptokatal_per_cubic_meter)

zeptokatals per cubic meter

§

yoctokatal_per_cubic_meter(yoctokatal_per_cubic_meter)

yoctokatals per cubic meter

§

kilokatal_per_cubic_decimeter(kilokatal_per_cubic_decimeter)

kilokatals per cubic decimeter

§

kilokatal_per_liter(kilokatal_per_liter)

kilokatals per liter

§

katal_per_cubic_decimeter(katal_per_cubic_decimeter)

katals per cubic decimeter

§

katal_per_liter(katal_per_liter)

katals per liter

§

millikatal_per_cubic_decimeter(millikatal_per_cubic_decimeter)

millikatals per cubic decimeter

§

millikatal_per_liter(millikatal_per_liter)

millikatals per liter

§

microkatal_per_cubic_decimeter(microkatal_per_cubic_decimeter)

microkatals per cubic decimeter

§

microkatal_per_liter(microkatal_per_liter)

microkatals per liter

§

nanokatal_per_cubic_decimeter(nanokatal_per_cubic_decimeter)

nanokatals per cubic decimeter

§

nanokatal_per_liter(nanokatal_per_liter)

nanokatals per liter

§

picokatal_per_cubic_decimeter(picokatal_per_cubic_decimeter)

picokatals per cubic decimeter

§

picokatal_per_liter(picokatal_per_liter)

picokatals per liter

§

femtokatal_per_cubic_decimeter(femtokatal_per_cubic_decimeter)

femtokatals per cubic decimeter

§

femtokatal_per_liter(femtokatal_per_liter)

femtokatals per liter

§

kilokatal_per_deciliter(kilokatal_per_deciliter)

kilokatals per deciliter

§

katal_per_deciliter(katal_per_deciliter)

katals per deciliter

§

millikatal_per_deciliter(millikatal_per_deciliter)

millikatals per deciliter

§

microkatal_per_deciliter(microkatal_per_deciliter)

microkatals per deciliter

§

nanokatal_per_deciliter(nanokatal_per_deciliter)

nanokatals per deciliter

§

picokatal_per_deciliter(picokatal_per_deciliter)

picokatals per deciliter

§

femtokatal_per_deciliter(femtokatal_per_deciliter)

femtokatals per deciliter

§

kilokatal_per_milliliter(kilokatal_per_milliliter)

kilokatals per milliliter

§

katal_per_milliliter(katal_per_milliliter)

katals per milliliter

§

millikatal_per_milliliter(millikatal_per_milliliter)

millikatals per milliliter

§

microkatal_per_milliliter(microkatal_per_milliliter)

microkatals per milliliter

§

nanokatal_per_milliliter(nanokatal_per_milliliter)

nanokatals per milliliter

§

picokatal_per_milliliter(picokatal_per_milliliter)

picokatals per milliliter

§

femtokatal_per_milliliter(femtokatal_per_milliliter)

femtokatals per milliliter

§

yotta_enzyme_unit_per_cubic_meter(yotta_enzyme_unit_per_cubic_meter)

yotta enzyme units per cubic meter

§

zetta_enzyme_unit_per_cubic_meter(zetta_enzyme_unit_per_cubic_meter)

zetta enzyme units per cubic meter

§

exa_enzyme_unit_per_cubic_meter(exa_enzyme_unit_per_cubic_meter)

exa enzyme units per cubic meter

§

peta_enzyme_unit_per_cubic_meter(peta_enzyme_unit_per_cubic_meter)

peta enzyme units per cubic meter

§

tera_enzyme_unit_per_cubic_meter(tera_enzyme_unit_per_cubic_meter)

tera enzyme units per cubic meter

§

giga_enzyme_unit_per_cubic_meter(giga_enzyme_unit_per_cubic_meter)

giga enzyme units per cubic meter

§

mega_enzyme_unit_per_cubic_meter(mega_enzyme_unit_per_cubic_meter)

mega enzyme units per cubic meter

§

kilo_enzyme_unit_per_cubic_meter(kilo_enzyme_unit_per_cubic_meter)

kilo enzyme units per cubic meter

§

hecto_enzyme_unit_per_cubic_meter(hecto_enzyme_unit_per_cubic_meter)

hecto enzyme units per cubic meter

§

deca_enzyme_unit_per_cubic_meter(deca_enzyme_unit_per_cubic_meter)

deca enzyme units per cubic meter

§

enzyme_unit_per_cubic_meter(enzyme_unit_per_cubic_meter)

enzyme units per cubic meter

§

deci_enzyme_unit_per_cubic_meter(deci_enzyme_unit_per_cubic_meter)

deci enzyme units per cubic meter

§

centi_enzyme_unit_per_cubic_meter(centi_enzyme_unit_per_cubic_meter)

centi enzyme units per cubic meter

§

milli_enzyme_unit_per_cubic_meter(milli_enzyme_unit_per_cubic_meter)

milli enzyme units per cubic meter

§

micro_enzyme_unit_per_cubic_meter(micro_enzyme_unit_per_cubic_meter)

micro enzyme units per cubic meter

§

nano_enzyme_unit_per_cubic_meter(nano_enzyme_unit_per_cubic_meter)

nano enzyme units per cubic meter

§

pico_enzyme_unit_per_cubic_meter(pico_enzyme_unit_per_cubic_meter)

pico enzyme units per cubic meter

§

femto_enzyme_unit_per_cubic_meter(femto_enzyme_unit_per_cubic_meter)

femto enzyme units per cubic meter

§

atto_enzyme_unit_per_cubic_meter(atto_enzyme_unit_per_cubic_meter)

atto enzyme units per cubic meter

§

zepto_enzyme_unit_per_cubic_meter(zepto_enzyme_unit_per_cubic_meter)

zepto enzyme units per cubic meter

§

yocto_enzyme_unit_per_cubic_meter(yocto_enzyme_unit_per_cubic_meter)

yocto enzyme units per cubic meter

§

kilo_enzyme_unit_per_cubic_decimeter(kilo_enzyme_unit_per_cubic_decimeter)

kilo enzyme units per cubic decimeter

§

kilo_enzyme_unit_per_liter(kilo_enzyme_unit_per_liter)

kilo enzyme units per liter

§

enzyme_unit_per_cubic_decimeter(enzyme_unit_per_cubic_decimeter)

enzyme units per cubic decimeter

§

enzyme_unit_per_liter(enzyme_unit_per_liter)

enzyme units per liter

§

milli_enzyme_unit_per_cubic_decimeter(milli_enzyme_unit_per_cubic_decimeter)

milli enzyme units per cubic decimeter

§

milli_enzyme_unit_per_liter(milli_enzyme_unit_per_liter)

milli enzyme units per liter

§

micro_enzyme_unit_per_cubic_decimeter(micro_enzyme_unit_per_cubic_decimeter)

micro enzyme units per cubic decimeter

§

micro_enzyme_unit_per_liter(micro_enzyme_unit_per_liter)

micro enzyme units per liter

§

nano_enzyme_unit_per_cubic_decimeter(nano_enzyme_unit_per_cubic_decimeter)

nano enzyme units per cubic decimeter

§

nano_enzyme_unit_per_liter(nano_enzyme_unit_per_liter)

nano enzyme units per liter

§

pico_enzyme_unit_per_cubic_decimeter(pico_enzyme_unit_per_cubic_decimeter)

pico enzyme units per cubic decimeter

§

pico_enzyme_unit_per_liter(pico_enzyme_unit_per_liter)

pico enzyme units per liter

§

femto_enzyme_unit_per_cubic_decimeter(femto_enzyme_unit_per_cubic_decimeter)

femto enzyme units per cubic decimeter

§

femto_enzyme_unit_per_liter(femto_enzyme_unit_per_liter)

femto enzyme units per liter

§

kilo_enzyme_unit_per_deciliter(kilo_enzyme_unit_per_deciliter)

kilo enzyme units per deciliter

§

enzyme_unit_per_deciliter(enzyme_unit_per_deciliter)

enzyme units per deciliter

§

milli_enzyme_unit_per_deciliter(milli_enzyme_unit_per_deciliter)

milli enzyme units per deciliter

§

micro_enzyme_unit_per_deciliter(micro_enzyme_unit_per_deciliter)

micro enzyme units per deciliter

§

nano_enzyme_unit_per_deciliter(nano_enzyme_unit_per_deciliter)

nano enzyme units per deciliter

§

pico_enzyme_unit_per_deciliter(pico_enzyme_unit_per_deciliter)

pico enzyme units per deciliter

§

femto_enzyme_unit_per_deciliter(femto_enzyme_unit_per_deciliter)

femto enzyme units per deciliter

§

kilo_enzyme_unit_per_milliliter(kilo_enzyme_unit_per_milliliter)

kilo enzyme units per milliliter

§

enzyme_unit_per_milliliter(enzyme_unit_per_milliliter)

enzyme units per milliliter

§

milli_enzyme_unit_per_milliliter(milli_enzyme_unit_per_milliliter)

milli enzyme units per milliliter

§

micro_enzyme_unit_per_milliliter(micro_enzyme_unit_per_milliliter)

micro enzyme units per milliliter

§

nano_enzyme_unit_per_milliliter(nano_enzyme_unit_per_milliliter)

nano enzyme units per milliliter

§

pico_enzyme_unit_per_milliliter(pico_enzyme_unit_per_milliliter)

pico enzyme units per milliliter

§

femto_enzyme_unit_per_milliliter(femto_enzyme_unit_per_milliliter)

femto enzyme units per milliliter

§

particle_per_second_cubic_meter(particle_per_second_cubic_meter)

particles per second cubic meter

Implementations§

§

impl Units

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

Unit abbreviation.

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

Unit singular description.

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

Unit plural description.

Trait Implementations§

§

impl Clone for Units

§

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
§

impl Debug for Units

§

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

Formats the value using the given formatter. Read more
§

impl Copy for Units

Auto Trait Implementations§

§

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
§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
§

impl<T> FmtForward for T

§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.

§

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

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

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

§

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
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more