pub struct Length;Expand description
A length.
Implementations§
Source§impl Length
impl Length
Sourcepub const fn meters(value: TensorRank0) -> Quantity<Length>
pub const fn meters(value: TensorRank0) -> Quantity<Length>
A quantity of metres.
Sourcepub const fn millimeters(value: TensorRank0) -> Quantity<Length>
pub const fn millimeters(value: TensorRank0) -> Quantity<Length>
A quantity of millimetres.
Sourcepub const fn micrometers(value: TensorRank0) -> Quantity<Length>
pub const fn micrometers(value: TensorRank0) -> Quantity<Length>
A quantity of micrometres.
Sourcepub const fn nanometers(value: TensorRank0) -> Quantity<Length>
pub const fn nanometers(value: TensorRank0) -> Quantity<Length>
A quantity of nanometres.
Sourcepub const fn centimeters(value: TensorRank0) -> Quantity<Length>
pub const fn centimeters(value: TensorRank0) -> Quantity<Length>
A quantity of centimetres.
Sourcepub const fn kilometers(value: TensorRank0) -> Quantity<Length>
pub const fn kilometers(value: TensorRank0) -> Quantity<Length>
A quantity of kilometres.
Sourcepub const fn inches(value: TensorRank0) -> Quantity<Length>
pub const fn inches(value: TensorRank0) -> Quantity<Length>
A quantity of inches.
Sourcepub const fn feet(value: TensorRank0) -> Quantity<Length>
pub const fn feet(value: TensorRank0) -> Quantity<Length>
A quantity of feet.
Trait Implementations§
Source§impl UnitDiv<Force> for Length
impl UnitDiv<Force> for Length
Source§type Output = ReciprocalForcePerLength
type Output = ReciprocalForcePerLength
The unit of the quotient.
Source§impl UnitDiv<Length> for Dimensionless
impl UnitDiv<Length> for Dimensionless
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the quotient.
Source§impl UnitDiv<Length> for ReciprocalLength
impl UnitDiv<Length> for ReciprocalLength
Source§type Output = ReciprocalArea
type Output = ReciprocalArea
The unit of the quotient.
Source§impl UnitDiv<Length> for SecondMomentOfArea
impl UnitDiv<Length> for SecondMomentOfArea
Source§impl UnitDiv<ReciprocalForcePerLength> for Length
impl UnitDiv<ReciprocalForcePerLength> for Length
Source§impl UnitHalves for Length
impl UnitHalves for Length
Source§impl UnitMul<Length> for ReciprocalArea
impl UnitMul<Length> for ReciprocalArea
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the product.
Source§impl UnitMul<Length> for ReciprocalLength
impl UnitMul<Length> for ReciprocalLength
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the product.
Source§impl UnitMul<Length> for Volume
impl UnitMul<Length> for Volume
Source§type Output = SecondMomentOfArea
type Output = SecondMomentOfArea
The unit of the product.
Source§impl UnitMul<ReciprocalArea> for Length
impl UnitMul<ReciprocalArea> for Length
Source§type Output = ReciprocalLength
type Output = ReciprocalLength
The unit of the product.
Source§impl UnitMul<ReciprocalLength> for Length
impl UnitMul<ReciprocalLength> for Length
Source§type Output = Dimensionless
type Output = Dimensionless
The unit of the product.
Source§impl UnitMul<Volume> for Length
impl UnitMul<Volume> for Length
Source§type Output = SecondMomentOfArea
type Output = SecondMomentOfArea
The unit of the product.
impl Copy for Length
impl Eq for Length
impl StructuralPartialEq for Length
impl Unit for Length
Auto Trait Implementations§
impl Freeze for Length
impl RefUnwindSafe for Length
impl Send for Length
impl Sync for Length
impl Unpin for Length
impl UnsafeUnpin for Length
impl UnwindSafe for Length
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more