pub trait Diffusivewhere
Self: Unit,{
type Field: Unit;
type Gradient: Unit;
type Flux: Unit + UnitMul<ReciprocalLength, Output = Self::FluxPerLength>;
type FluxPerLength: Unit + UnitMul<Volume, Output = Self>;
type Tangent: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerLength>;
type TangentPerLength: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerArea>;
type TangentPerArea: Unit + UnitMul<Volume, Output = Self::Stiffness>;
type EnergyDensity: Unit + UnitMul<Volume, Output = Self::Energy>;
type Energy: Unit;
type Stiffness: Unit;
}Expand description
A balance law, named by the unit of its residual, and the units that follow.
Required Associated Types§
Sourcetype Flux: Unit + UnitMul<ReciprocalLength, Output = Self::FluxPerLength>
type Flux: Unit + UnitMul<ReciprocalLength, Output = Self::FluxPerLength>
The unit of the flux.
Sourcetype FluxPerLength: Unit + UnitMul<Volume, Output = Self>
type FluxPerLength: Unit + UnitMul<Volume, Output = Self>
The unit of the flux per length.
Sourcetype Tangent: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerLength>
type Tangent: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerLength>
The unit of the tangent of the flux.
Sourcetype TangentPerLength: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerArea>
type TangentPerLength: Unit + UnitMul<ReciprocalLength, Output = Self::TangentPerArea>
The unit of the tangent per length.
Sourcetype TangentPerArea: Unit + UnitMul<Volume, Output = Self::Stiffness>
type TangentPerArea: Unit + UnitMul<Volume, Output = Self::Stiffness>
The unit of the tangent per area.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".