pub struct WulffShape {
pub vertices: Vec<[f64; 3]>,
pub facets: Vec<WulffFacet>,
pub volume: f64,
pub surface_area: f64,
}Expand description
The Wulff polyhedron.
Fields§
§vertices: Vec<[f64; 3]>Vertices in Cartesian coordinates.
facets: Vec<WulffFacet>Facets with their areas and fractions.
volume: f64Volume in cubic Angstrom.
surface_area: f64Total surface area in square Angstrom.
Trait Implementations§
Source§impl Clone for WulffShape
impl Clone for WulffShape
Source§impl Debug for WulffShape
impl Debug for WulffShape
Source§impl<'de> Deserialize<'de> for WulffShape
impl<'de> Deserialize<'de> for WulffShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WulffShape
impl PartialEq for WulffShape
Source§impl Serialize for WulffShape
impl Serialize for WulffShape
impl StructuralPartialEq for WulffShape
Auto Trait Implementations§
impl Forget for WulffShape
impl Freeze for WulffShape
impl Move for WulffShape
impl RefUnwindSafe for WulffShape
impl Send for WulffShape
impl Sync for WulffShape
impl Unpin for WulffShape
impl UnsafeUnpin for WulffShape
impl UnwindSafe for WulffShape
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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