Struct thermocouple::KType[][src]

pub struct KType { /* fields omitted */ }

Type K thermocouple (chromel-alumel)

Implementations

impl KType[src]

pub fn new() -> KType[src]

New thermocouple instance. The reference junction is assumed to be at 25ºC / 298.15K.

pub fn with_reference_temperature<T>(self, reference_temperature: T) -> Self where
    T: Into<Celsius>, 
[src]

Sets the reference junction temperature used.

Trait Implementations

impl Clone for KType[src]

impl Copy for KType[src]

impl Debug for KType[src]

impl Default for KType[src]

impl ThermocoupleCore<Celsius> for KType[src]

fn sense_temperature(&self, voltage: Millivolts) -> Celsius[src]

Return the thermocouple temperature for a given thermoelectric potential.

fn sense_voltage(&self, temperature: Celsius) -> Millivolts[src]

Return the thermoelectric potential for a given thermocouple temperature.

impl ThermocoupleCore<Fahrenheit> for KType[src]

fn sense_temperature(&self, voltage: Millivolts) -> Fahrenheit[src]

Return the thermocouple temperature for a given thermoelectric potential.

fn sense_voltage(&self, temperature: Fahrenheit) -> Millivolts[src]

Return the thermoelectric potential for a given thermocouple temperature.

impl ThermocoupleCore<Kelvin> for KType[src]

fn sense_temperature(&self, voltage: Millivolts) -> Kelvin[src]

Return the thermocouple temperature for a given thermoelectric potential.

fn sense_voltage(&self, temperature: Kelvin) -> Millivolts[src]

Return the thermoelectric potential for a given thermocouple temperature.

impl ThermocoupleCore<Rankine> for KType[src]

fn sense_temperature(&self, voltage: Millivolts) -> Rankine[src]

Return the thermocouple temperature for a given thermoelectric potential.

fn sense_voltage(&self, temperature: Rankine) -> Millivolts[src]

Return the thermoelectric potential for a given thermocouple temperature.

impl ThermocoupleCore<Reaumur> for KType[src]

fn sense_temperature(&self, voltage: Millivolts) -> Reaumur[src]

Return the thermocouple temperature for a given thermoelectric potential.

fn sense_voltage(&self, temperature: Reaumur) -> Millivolts[src]

Return the thermoelectric potential for a given thermocouple temperature.

Auto Trait Implementations

impl Send for KType

impl Sync for KType

impl Unpin for KType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.