pub struct StructureAtomRecord<'a> {Show 14 fields
pub model: i32,
pub chain: &'a str,
pub component: &'a str,
pub sequence: i32,
pub insertion: &'a str,
pub atom: &'a str,
pub alternate: &'a str,
pub element: Element,
pub position: Option<[f32; 3]>,
pub occupancy: (f32, Presence),
pub b_factor: (f32, Presence),
pub formal_charge: (i8, Presence),
pub atom_site_id: u32,
pub heterogen: bool,
}Expand description
One atom row accepted by StructureBatchBuilder.
Fields§
§model: i32Deposited model number.
chain: &'a strNormalised chain identifier.
component: &'a strComponent identifier.
sequence: i32Deposited residue sequence number, or i32::MIN when absent.
insertion: &'a strInsertion code, or an empty string when absent.
atom: &'a strAtom identifier.
alternate: &'a strAlternate-location identifier, or an empty string when absent.
element: ElementChemical element.
position: Option<[f32; 3]>Cartesian position, or None when unrecorded.
occupancy: (f32, Presence)Occupancy and validity.
b_factor: (f32, Presence)B factor and validity.
formal_charge: (i8, Presence)Formal charge and validity.
atom_site_id: u32Deposited atom-site identifier, with zero reserved for absence.
heterogen: boolWhether the source marked the residue as a heterogen.
Trait Implementations§
Source§impl<'a> Clone for StructureAtomRecord<'a>
impl<'a> Clone for StructureAtomRecord<'a>
impl<'a> Copy for StructureAtomRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for StructureAtomRecord<'a>
impl<'a> RefUnwindSafe for StructureAtomRecord<'a>
impl<'a> Send for StructureAtomRecord<'a>
impl<'a> Sync for StructureAtomRecord<'a>
impl<'a> Unpin for StructureAtomRecord<'a>
impl<'a> UnsafeUnpin for StructureAtomRecord<'a>
impl<'a> UnwindSafe for StructureAtomRecord<'a>
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