pub struct Segment<T: OptFields> {
pub name: String,
pub sequence: String,
pub size: u32,
pub opt: T,
}
Expand description
GFA segment line
Segment or nodes hold sequence Feature: - id - seq - op
Sequence are “optional”, but are always represented in variation graphs
Fields§
§name: String
§sequence: String
§size: u32
§opt: T
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Segment<T>where
T: Freeze,
impl<T> RefUnwindSafe for Segment<T>where
T: RefUnwindSafe,
impl<T> Send for Segment<T>where
T: Send,
impl<T> Sync for Segment<T>where
T: Sync,
impl<T> Unpin for Segment<T>where
T: Unpin,
impl<T> UnwindSafe for Segment<T>where
T: UnwindSafe,
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