Skip to main content

Area

Type Alias Area 

Source
pub type Area = Qty<2, 0, 0, 0, 0, 0, 0>;
Expand description

Square metres.

Aliased Type§

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

Implementations§

Source§

impl Area

Source

pub fn m2(v: f64) -> Area

Square metres.

Source

pub fn cm2(v: f64) -> Area

Square centimetres.

Source

pub fn mm2(v: f64) -> Area

Square millimetres — wire cross-sections live here.

Source§

impl Area

Source

pub fn sqrt(self) -> Length

The side of a square of this area. The one root worth naming, because it is how a beam radius comes back out of a spot area.

Trait Implementations§

Source§

impl Div<Qty<1, 0, 0, 0, 0, 0, 0>> for Area

Source§

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

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Length) -> Length

Performs the / operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Mass) -> MomentOfInertia

Performs the * operation. Read more
Source§

impl Mul<Qty<0, 1, -3, 0, 0, 0, 0>> for Area

Source§

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

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more
Source§

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

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Length) -> Volume

Performs the * operation. Read more
Source§

impl Mul<Qty<-1, 1, -2, 0, 0, 0, 0>> for Area

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Pressure) -> Force

Performs the * operation. Read more
Source§

impl Mul<Qty<-2, 0, 0, 1, 0, 0, 0>> for Area

Source§

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

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: CurrentDensity) -> Current

Performs the * operation. Read more