pub struct VorticityVector<R>(/* private fields */)
where
R: RealField;Expand description
Vorticity vector ω = ∇ × u (1/s). Pseudovector under spatial reflection.
Implementations§
Source§impl<R> VorticityVector<R>where
R: RealField,
impl<R> VorticityVector<R>where
R: RealField,
pub fn new(raw: [R; 3]) -> Result<VorticityVector<R>, PhysicsError>
pub fn new_unchecked(raw: [R; 3]) -> VorticityVector<R>
pub fn value(&self) -> &[R; 3]
pub fn into_inner(self) -> [R; 3]
Trait Implementations§
Source§impl<R> Clone for VorticityVector<R>
impl<R> Clone for VorticityVector<R>
Source§fn clone(&self) -> VorticityVector<R>
fn clone(&self) -> VorticityVector<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 VorticityVector<R>
Source§impl<R> Debug for VorticityVector<R>
impl<R> Debug for VorticityVector<R>
Source§impl<R> Default for VorticityVector<R>where
R: RealField,
impl<R> Default for VorticityVector<R>where
R: RealField,
Source§fn default() -> VorticityVector<R>
fn default() -> VorticityVector<R>
Returns the “default value” for a type. Read more
Source§impl<R> PartialEq for VorticityVector<R>
impl<R> PartialEq for VorticityVector<R>
impl<R> StructuralPartialEq for VorticityVector<R>
Auto Trait Implementations§
impl<R> Freeze for VorticityVector<R>
impl<R> RefUnwindSafe for VorticityVector<R>where
[R; 3]: RefUnwindSafe,
impl<R> Send for VorticityVector<R>
impl<R> Sync for VorticityVector<R>
impl<R> Unpin for VorticityVector<R>
impl<R> UnsafeUnpin for VorticityVector<R>where
[R; 3]: UnsafeUnpin,
impl<R> UnwindSafe for VorticityVector<R>where
[R; 3]: 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