pub struct AtomConformerMut<'a> { /* private fields */ }Expand description
A struct to hold mutable references to an Atom and its containing Conformer.
Implementations§
Source§impl<'a> AtomConformerMut<'a>
impl<'a> AtomConformerMut<'a>
Sourcepub fn without_mut(self) -> AtomConformer<'a>
pub fn without_mut(self) -> AtomConformer<'a>
Change this mutable hierarchy into an immutable hierarchy
Trait Implementations§
Source§impl<'a> Clone for AtomConformerMut<'a>
impl<'a> Clone for AtomConformerMut<'a>
Source§fn clone(&self) -> AtomConformerMut<'a>
fn clone(&self) -> AtomConformerMut<'a>
Returns a duplicate 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<'a> ContainsAtomConformer for AtomConformerMut<'a>
impl<'a> ContainsAtomConformer for AtomConformerMut<'a>
Source§fn is_backbone(&self) -> bool
fn is_backbone(&self) -> bool
Tests if this atom is part of the protein backbone
Source§fn is_sidechain(&self) -> bool
fn is_sidechain(&self) -> bool
Tests if this atom is part of a side chain of an amino acid
Source§impl<'a> ContainsAtomConformerMut for AtomConformerMut<'a>
impl<'a> ContainsAtomConformerMut for AtomConformerMut<'a>
Source§impl<'a> Debug for AtomConformerMut<'a>
impl<'a> Debug for AtomConformerMut<'a>
Source§impl<'a> PartialEq for AtomConformerMut<'a>
impl<'a> PartialEq for AtomConformerMut<'a>
Source§impl<'a> PointDistance for AtomConformerMut<'a>
Available on crate feature rstar only.
impl<'a> PointDistance for AtomConformerMut<'a>
Available on crate feature
rstar only.Source§fn distance_2(&self, other: &(f64, f64, f64)) -> f64
fn distance_2(&self, other: &(f64, f64, f64)) -> f64
Returns the squared distance between an object and a point. Read more
Source§fn contains_point(&self, point: &<Self::Envelope as Envelope>::Point) -> bool
fn contains_point(&self, point: &<Self::Envelope as Envelope>::Point) -> bool
Returns
true if a point is contained within this object. Read moreSource§fn distance_2_if_less_or_equal(
&self,
point: &<Self::Envelope as Envelope>::Point,
max_distance_2: <<Self::Envelope as Envelope>::Point as Point>::Scalar,
) -> Option<<<Self::Envelope as Envelope>::Point as Point>::Scalar>
fn distance_2_if_less_or_equal( &self, point: &<Self::Envelope as Envelope>::Point, max_distance_2: <<Self::Envelope as Envelope>::Point as Point>::Scalar, ) -> Option<<<Self::Envelope as Envelope>::Point as Point>::Scalar>
Returns the squared distance to this object, or
None if the distance
is larger than a given maximum value. Read moreSource§impl<'a> RTreeObject for AtomConformerMut<'a>
Available on crate feature rstar only.
impl<'a> RTreeObject for AtomConformerMut<'a>
Available on crate feature
rstar only.impl<'a> Eq for AtomConformerMut<'a>
Auto Trait Implementations§
impl<'a> Freeze for AtomConformerMut<'a>
impl<'a> RefUnwindSafe for AtomConformerMut<'a>
impl<'a> !Send for AtomConformerMut<'a>
impl<'a> !Sync for AtomConformerMut<'a>
impl<'a> Unpin for AtomConformerMut<'a>
impl<'a> UnwindSafe for AtomConformerMut<'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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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