pub struct UnitCell {
pub a: f32,
pub b: f32,
pub c: f32,
pub alpha: f32,
pub beta: f32,
pub gamma: f32,
}Expand description
Unit cell parameters for periodic boundary condition systems.
Fields§
§a: f32Length of the a-axis in Å.
b: f32Length of the b-axis in Å.
c: f32Length of the c-axis in Å.
alpha: f32Angle between b and c axes in degrees.
beta: f32Angle between a and c axes in degrees.
gamma: f32Angle between a and b axes in degrees.
Trait Implementations§
impl StructuralPartialEq for UnitCell
Auto Trait Implementations§
impl Freeze for UnitCell
impl RefUnwindSafe for UnitCell
impl Send for UnitCell
impl Sync for UnitCell
impl Unpin for UnitCell
impl UnsafeUnpin for UnitCell
impl UnwindSafe for UnitCell
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