Enum CoordinateSystem
pub enum CoordinateSystem {
ZeroBasedHalfOpen,
OneBasedClosed,
Unknown,
Custom(String),
}Expand description
Coordinate-system vocabulary for genomic ranges.
Variants§
ZeroBasedHalfOpen
Zero-based half-open coordinates: [start, end).
OneBasedClosed
One-based closed coordinates: [start, end].
Unknown
Unknown coordinate assumptions.
Custom(String)
Domain-specific coordinate system.
Trait Implementations§
§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
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 more§impl Debug for CoordinateSystem
impl Debug for CoordinateSystem
§impl Display for CoordinateSystem
impl Display for CoordinateSystem
§impl FromStr for CoordinateSystem
impl FromStr for CoordinateSystem
§type Err = Infallible
type Err = Infallible
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<CoordinateSystem, <CoordinateSystem as FromStr>::Err>
fn from_str( value: &str, ) -> Result<CoordinateSystem, <CoordinateSystem as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for CoordinateSystem
impl Hash for CoordinateSystem
§impl Ord for CoordinateSystem
impl Ord for CoordinateSystem
§fn cmp(&self, other: &CoordinateSystem) -> Ordering
fn cmp(&self, other: &CoordinateSystem) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for CoordinateSystem
impl PartialEq for CoordinateSystem
§impl PartialOrd for CoordinateSystem
impl PartialOrd for CoordinateSystem
impl Eq for CoordinateSystem
impl StructuralPartialEq for CoordinateSystem
Auto Trait Implementations§
impl Freeze for CoordinateSystem
impl RefUnwindSafe for CoordinateSystem
impl Send for CoordinateSystem
impl Sync for CoordinateSystem
impl Unpin for CoordinateSystem
impl UnsafeUnpin for CoordinateSystem
impl UnwindSafe for CoordinateSystem
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