pub struct AtomRecord {Show 15 fields
pub serial: u32,
pub name: String,
pub alt_loc: Option<char>,
pub res_name: String,
pub chain_id: Option<char>,
pub res_seq: i16,
pub i_code: Option<char>,
pub x: f32,
pub y: f32,
pub z: f32,
pub occupancy: f32,
pub temp_factor: f32,
pub element: Option<String>,
pub charge: Option<String>,
pub entry: Option<String>,
}
Expand description
A record for an atom in a PDB file
Fields§
§serial: u32
§name: String
§alt_loc: Option<char>
§res_name: String
§chain_id: Option<char>
§res_seq: i16
§i_code: Option<char>
§x: f32
§y: f32
§z: f32
§occupancy: f32
§temp_factor: f32
§element: Option<String>
§charge: Option<String>
§entry: Option<String>
Implementations§
Source§impl AtomRecord
impl AtomRecord
pub fn new(str: &str) -> AtomRecord
Trait Implementations§
Source§impl Clone for AtomRecord
impl Clone for AtomRecord
Source§fn clone(&self) -> AtomRecord
fn clone(&self) -> AtomRecord
Returns a copy of the value. Read more
1.0.0 · 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 AtomRecord
impl Debug for AtomRecord
Source§impl From<&str> for AtomRecord
impl From<&str> for AtomRecord
Source§impl PartialEq for AtomRecord
impl PartialEq for AtomRecord
impl StructuralPartialEq for AtomRecord
Auto Trait Implementations§
impl Freeze for AtomRecord
impl RefUnwindSafe for AtomRecord
impl Send for AtomRecord
impl Sync for AtomRecord
impl Unpin for AtomRecord
impl UnwindSafe for AtomRecord
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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