pub enum GeneType {
V,
J,
C(Option<Constant>),
}Expand description
Any gene in a germline, eg variable, joining
Variants§
V
Variable
J
Joining
C(Option<Constant>)
Constant, potentially with the type of constant given as well
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for GeneType
impl<'__de, __Context> BorrowDecode<'__de, __Context> for GeneType
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl<'de> Deserialize<'de> for GeneType
impl<'de> Deserialize<'de> for GeneType
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 FancyDisplay for GeneType
impl FancyDisplay for GeneType
Source§fn to_fancy_string(&self) -> String
fn to_fancy_string(&self) -> String
Equivalent of
.to_string() but then fancier!Source§impl Ord for GeneType
impl Ord for GeneType
Source§impl PartialOrd for GeneType
impl PartialOrd for GeneType
impl Copy for GeneType
impl Eq for GeneType
impl StructuralPartialEq for GeneType
Auto Trait Implementations§
impl Freeze for GeneType
impl RefUnwindSafe for GeneType
impl Send for GeneType
impl Sync for GeneType
impl Unpin for GeneType
impl UnwindSafe for GeneType
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