pub struct CoordGenMoleculeResult {
pub id: String,
pub ok: bool,
pub method: CoordMethod,
pub used_map: Option<Vec<(u32, u32)>>,
pub molecule: Option<MoleculeIn>,
pub error: Option<String>,
}Expand description
One flat molecule entry in a coord_gen result.
Fields§
§id: String§ok: boolTrue when usable coords were produced (aligned or free-layout fallback).
method: CoordMethod§used_map: Option<Vec<(u32, u32)>>§molecule: Option<MoleculeIn>Present whenever ok is true.
error: Option<String>Trait Implementations§
Source§impl Clone for CoordGenMoleculeResult
impl Clone for CoordGenMoleculeResult
Source§fn clone(&self) -> CoordGenMoleculeResult
fn clone(&self) -> CoordGenMoleculeResult
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 moreSource§impl Debug for CoordGenMoleculeResult
impl Debug for CoordGenMoleculeResult
Source§impl<'de> Deserialize<'de> for CoordGenMoleculeResult
impl<'de> Deserialize<'de> for CoordGenMoleculeResult
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 CoordGenMoleculeResult
impl PartialEq for CoordGenMoleculeResult
Source§impl Serialize for CoordGenMoleculeResult
impl Serialize for CoordGenMoleculeResult
impl StructuralPartialEq for CoordGenMoleculeResult
Auto Trait Implementations§
impl Freeze for CoordGenMoleculeResult
impl RefUnwindSafe for CoordGenMoleculeResult
impl Send for CoordGenMoleculeResult
impl Sync for CoordGenMoleculeResult
impl Unpin for CoordGenMoleculeResult
impl UnsafeUnpin for CoordGenMoleculeResult
impl UnwindSafe for CoordGenMoleculeResult
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,
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