pub struct AlfvenSpeed<R>(/* private fields */)
where
R: RealField;Expand description
Alfven Speed ($v_A$). Characteristic speed of magnetic waves in plasma. Unit: m/s. Constraint: >= 0.
Implementations§
Source§impl<R> AlfvenSpeed<R>where
R: RealField,
impl<R> AlfvenSpeed<R>where
R: RealField,
pub fn new(val: R) -> Result<AlfvenSpeed<R>, PhysicsError>
Sourcepub fn new_unchecked(val: R) -> AlfvenSpeed<R>
pub fn new_unchecked(val: R) -> AlfvenSpeed<R>
Creates a new AlfvenSpeed without validation.
Use only if the value is guaranteed to be non-negative.
pub fn value(&self) -> R
Trait Implementations§
Source§impl<R> Clone for AlfvenSpeed<R>
impl<R> Clone for AlfvenSpeed<R>
Source§fn clone(&self) -> AlfvenSpeed<R>
fn clone(&self) -> AlfvenSpeed<R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<R> Copy for AlfvenSpeed<R>
Source§impl<R> Debug for AlfvenSpeed<R>
impl<R> Debug for AlfvenSpeed<R>
Source§impl<R> Default for AlfvenSpeed<R>where
R: RealField,
impl<R> Default for AlfvenSpeed<R>where
R: RealField,
Source§fn default() -> AlfvenSpeed<R>
fn default() -> AlfvenSpeed<R>
Returns the “default value” for a type. Read more
Source§impl<R> PartialEq for AlfvenSpeed<R>
impl<R> PartialEq for AlfvenSpeed<R>
Source§impl<R> PartialOrd for AlfvenSpeed<R>where
R: PartialOrd + RealField,
impl<R> PartialOrd for AlfvenSpeed<R>where
R: PartialOrd + RealField,
impl<R> StructuralPartialEq for AlfvenSpeed<R>
Auto Trait Implementations§
impl<R> Freeze for AlfvenSpeed<R>where
R: Freeze,
impl<R> RefUnwindSafe for AlfvenSpeed<R>where
R: RefUnwindSafe,
impl<R> Send for AlfvenSpeed<R>where
R: Send,
impl<R> Sync for AlfvenSpeed<R>where
R: Sync,
impl<R> Unpin for AlfvenSpeed<R>where
R: Unpin,
impl<R> UnsafeUnpin for AlfvenSpeed<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for AlfvenSpeed<R>where
R: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more