Skip to main content

Current

Type Alias Current 

Source
pub type Current = Qty<0, 0, 0, 1, 0, 0, 0>;
Expand description

Amperes.

Aliased Type§

pub struct Current(/* private fields */);

Implementations§

Source§

impl Current

Source

pub fn a(v: f64) -> Current

Amperes.

Source

pub fn ma(v: f64) -> Current

Milliamperes.

Trait Implementations§

Source§

impl Div<Qty<2, 0, 0, 0, 0, 0, 0>> for Current

Source§

type Output = Qty<-2, 0, 0, 1, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Area) -> CurrentDensity

Performs the / operation. Read more
Source§

impl Div<Qty<-2, 0, 0, 1, 0, 0, 0>> for Current

Source§

type Output = Qty<2, 0, 0, 0, 0, 0, 0>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: CurrentDensity) -> Area

Performs the / operation. Read more
Source§

impl Mul<Qty<0, 0, 1, 0, 0, 0, 0>> for Current

Source§

type Output = Qty<0, 0, 1, 1, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Time) -> Charge

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 1, -3, -1, 0, 0, 0>> for Current

Source§

type Output = Qty<2, 1, -3, 0, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Voltage) -> Power

Performs the * operation. Read more
Source§

impl Mul<Qty<2, 1, -3, -2, 0, 0, 0>> for Current

Source§

type Output = Qty<2, 1, -3, -1, 0, 0, 0>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Resistance) -> Voltage

Performs the * operation. Read more