pub enum PairMode {
Same,
DatabaseToPeptidoform,
PeptidoformToDatabase,
}Expand description
The pair mode of an alignment, which side is the peptidoform and which the database.
Variants§
Same
Either database to database or peptidoform to peptidoform, meaning that modifications occurring in on have to occur in the other.
DatabaseToPeptidoform
The first sequence is a database the second a peptidoform, meaning that any modification in the first have to occur in the second, while any modification in the second does not have to occur in the first.
PeptidoformToDatabase
The first sequence is a peptidoform the second a database, meaning that any modification in the second have to occur in the first, while any modification in the first does not have to occur in the second.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairMode
impl<'de> Deserialize<'de> for PairMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for PairMode
impl Ord for PairMode
Source§impl PartialOrd for PairMode
impl PartialOrd for PairMode
impl Copy for PairMode
impl Eq for PairMode
impl StructuralPartialEq for PairMode
Auto Trait Implementations§
impl Freeze for PairMode
impl RefUnwindSafe for PairMode
impl Send for PairMode
impl Sync for PairMode
impl Unpin for PairMode
impl UnwindSafe for PairMode
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> HighestOf<T> for T
impl<T> HighestOf<T> for T
Source§type HighestLevel = T
type HighestLevel = T
This is the highest complexity level out of Self and the type parameter
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