Struct pdbtbx::DatabaseReference [−][src]
A DatabaseReference containing the cross-reference to a corresponding database sequence for a Chain.
Fields
database: (String, String, String)
The information about the database, (name, accession code, identification code), see DBREF documentation wwPDB v3.30
pdb_position: SequencePosition
The position of the sequence as present in the PDB
database_position: SequencePosition
The position of the sequence as present in the database
differences: Vec<SequenceDifference>
The differences between residues in the database and in the pdb file
Implementations
impl DatabaseReference
[src]
pub fn new(
database: (String, String, String),
pdb_position: SequencePosition,
database_position: SequencePosition
) -> Self
[src]
database: (String, String, String),
pdb_position: SequencePosition,
database_position: SequencePosition
) -> Self
Create a new DatabaseReference
Trait Implementations
impl Clone for DatabaseReference
[src]
fn clone(&self) -> DatabaseReference
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DatabaseReference
[src]
impl Eq for DatabaseReference
[src]
impl Ord for DatabaseReference
[src]
fn cmp(&self, other: &DatabaseReference) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<DatabaseReference> for DatabaseReference
[src]
fn eq(&self, other: &DatabaseReference) -> bool
[src]
fn ne(&self, other: &DatabaseReference) -> bool
[src]
impl PartialOrd<DatabaseReference> for DatabaseReference
[src]
fn partial_cmp(&self, other: &DatabaseReference) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for DatabaseReference
[src]
impl StructuralPartialEq for DatabaseReference
[src]
Auto Trait Implementations
impl RefUnwindSafe for DatabaseReference
impl Send for DatabaseReference
impl Sync for DatabaseReference
impl Unpin for DatabaseReference
impl UnwindSafe for DatabaseReference
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,