Enum varlociraptor::variants::model::VariantType
source · pub enum VariantType {
Insertion(Option<Range<u64>>),
Deletion(Option<Range<u64>>),
Snv,
Mnv,
Breakend,
Inversion,
Duplication,
Replacement,
None,
}
Variants§
Insertion(Option<Range<u64>>)
Deletion(Option<Range<u64>>)
Snv
Mnv
Breakend
Inversion
Duplication
Replacement
None
Trait Implementations§
source§impl Clone for VariantType
impl Clone for VariantType
source§fn clone(&self) -> VariantType
fn clone(&self) -> VariantType
Returns a copy 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 Debug for VariantType
impl Debug for VariantType
source§impl<'de> Deserialize<'de> for VariantType
impl<'de> Deserialize<'de> for VariantType
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 Display for VariantType
impl Display for VariantType
source§impl<'_derivative_strum> From<&'_derivative_strum VariantType> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum VariantType> for &'static str
source§fn from(x: &'_derivative_strum VariantType) -> &'static str
fn from(x: &'_derivative_strum VariantType) -> &'static str
Converts to this type from the input type.
source§impl From<VariantType> for &'static str
impl From<VariantType> for &'static str
source§fn from(x: VariantType) -> &'static str
fn from(x: VariantType) -> &'static str
Converts to this type from the input type.
source§impl FromStr for VariantType
impl FromStr for VariantType
source§impl IntoEnumIterator for VariantType
impl IntoEnumIterator for VariantType
type Iterator = VariantTypeIter
fn iter() -> VariantTypeIter ⓘ
source§impl Serialize for VariantType
impl Serialize for VariantType
source§impl TryFrom<&str> for VariantType
impl TryFrom<&str> for VariantType
source§impl VariantNames for VariantType
impl VariantNames for VariantType
Auto Trait Implementations§
impl RefUnwindSafe for VariantType
impl Send for VariantType
impl Sync for VariantType
impl Unpin for VariantType
impl UnwindSafe for VariantType
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
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.