Struct Edges

Source
pub struct Edges<T: OptFields> {
    pub id: u32,
    pub source_name: String,
    pub sink_name: String,
    pub source_dir: bool,
    pub sink_dir: bool,
    pub source_begin: u32,
    pub source_end: u32,
    pub sink_begin: u32,
    pub sink_end: u32,
    pub ends: u8,
    pub alignment: String,
    pub opts: T,
}
Expand description

GFA edge line

Edges are connection between segments (v2) More information can be found here: https://gfa-spec.github.io/GFA-spec/GFA2.html#:~:text=GFA2%20is%20a%20generalization%20of,giving%20rise%20to%20each%20sequence.

Fields§

§id: u32§source_name: String§sink_name: String§source_dir: bool§sink_dir: bool§source_begin: u32§source_end: u32§sink_begin: u32§sink_end: u32§ends: u8§alignment: String§opts: T

Trait Implementations§

Source§

impl<T: Debug + OptFields> Debug for Edges<T>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<T> Freeze for Edges<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Edges<T>
where T: RefUnwindSafe,

§

impl<T> Send for Edges<T>
where T: Send,

§

impl<T> Sync for Edges<T>
where T: Sync,

§

impl<T> Unpin for Edges<T>
where T: Unpin,

§

impl<T> UnwindSafe for Edges<T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.