pub struct FundamentalForm {
pub e: f64,
pub f: f64,
pub g: f64,
}Expand description
Coefficients (e, f, g) of a quadratic fundamental form.
Fields§
§e: f64First diagonal coefficient (E for the first form, e for the second).
f: f64Mixed coefficient (F for the first form, f for the second).
g: f64Second diagonal coefficient (G for the first form, g for the second).
Trait Implementations§
Source§impl Clone for FundamentalForm
impl Clone for FundamentalForm
Source§fn clone(&self) -> FundamentalForm
fn clone(&self) -> FundamentalForm
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 Copy for FundamentalForm
Source§impl Debug for FundamentalForm
impl Debug for FundamentalForm
Source§impl PartialEq for FundamentalForm
impl PartialEq for FundamentalForm
impl StructuralPartialEq for FundamentalForm
Auto Trait Implementations§
impl Freeze for FundamentalForm
impl RefUnwindSafe for FundamentalForm
impl Send for FundamentalForm
impl Sync for FundamentalForm
impl Unpin for FundamentalForm
impl UnsafeUnpin for FundamentalForm
impl UnwindSafe for FundamentalForm
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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