#[non_exhaustive]pub enum EntityKind {
Polymer,
NonPolymer,
Water,
Branched,
Unknown,
}Expand description
What kind of chemical species an entity is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Polymer
A polymer: protein, nucleic acid, or a hybrid of the two.
NonPolymer
A single chemical component that is not part of a polymer.
Water
Water.
Branched
A branched species, such as an oligosaccharide.
Unknown
The file did not say.
Implementations§
Trait Implementations§
Source§impl Clone for EntityKind
impl Clone for EntityKind
impl Copy for EntityKind
Source§impl Debug for EntityKind
impl Debug for EntityKind
Source§impl Default for EntityKind
impl Default for EntityKind
Source§impl Display for EntityKind
impl Display for EntityKind
impl Eq for EntityKind
Source§impl FromStr for EntityKind
impl FromStr for EntityKind
Source§impl Hash for EntityKind
impl Hash for EntityKind
Source§impl PartialEq for EntityKind
impl PartialEq for EntityKind
impl StructuralPartialEq for EntityKind
Auto Trait Implementations§
impl Freeze for EntityKind
impl RefUnwindSafe for EntityKind
impl Send for EntityKind
impl Sync for EntityKind
impl Unpin for EntityKind
impl UnsafeUnpin for EntityKind
impl UnwindSafe for EntityKind
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§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