pub struct StructureDifference {Show 14 fields
pub metadata: MetadataDifference,
pub models: Option<CountDifference>,
pub entities: Option<CountDifference>,
pub chains: Option<CountDifference>,
pub residues: Option<CountDifference>,
pub atoms: Option<CountDifference>,
pub bonds: Option<CountDifference>,
pub changed_entities: usize,
pub changed_chains: usize,
pub changed_residues: usize,
pub changed_atoms: usize,
pub changed_bonds: usize,
pub changed_positions: usize,
pub maximum_displacement: Option<f32>,
}Expand description
Complete semantic difference summary for two normalised structures.
Fields§
§metadata: MetadataDifferenceEntry-level metadata that changed.
models: Option<CountDifference>Model counts when different.
entities: Option<CountDifference>Entity counts when different.
chains: Option<CountDifference>Chain counts when different.
residues: Option<CountDifference>Residue counts when different.
atoms: Option<CountDifference>Atom counts when different.
bonds: Option<CountDifference>Bond counts when different.
changed_entities: usizeCorresponding entity rows with different semantic values.
changed_chains: usizeCorresponding chain rows with different semantic values.
changed_residues: usizeCorresponding residue rows with different semantic values.
changed_atoms: usizeCorresponding atom rows with different non-coordinate values.
changed_bonds: usizeCorresponding bond rows that differ.
changed_positions: usizeCorresponding model/atom positions beyond the requested tolerance.
maximum_displacement: Option<f32>Largest finite corresponding coordinate displacement, in ångström.
Implementations§
Trait Implementations§
Source§impl Clone for StructureDifference
impl Clone for StructureDifference
Source§impl Debug for StructureDifference
impl Debug for StructureDifference
Source§impl PartialEq for StructureDifference
impl PartialEq for StructureDifference
impl StructuralPartialEq for StructureDifference
Auto Trait Implementations§
impl Freeze for StructureDifference
impl RefUnwindSafe for StructureDifference
impl Send for StructureDifference
impl Sync for StructureDifference
impl Unpin for StructureDifference
impl UnsafeUnpin for StructureDifference
impl UnwindSafe for StructureDifference
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