pub struct Containment<T: OptFields> {
pub container: String,
pub container_orient: bool,
pub contained: String,
pub contained_orient: bool,
pub pos: usize,
pub overlap: String,
pub opt: T,
}
Expand description
GFA containment line
Fields:
- From
- From direction
- To
- To direction
- Overlap (Link + containment)
- Pos
- Ops
Comment: Very similar to links
Fields§
§container: String
§container_orient: bool
§contained: String
§contained_orient: bool
§pos: usize
§overlap: String
§opt: T
Trait Implementations§
Source§impl<T: Clone + OptFields> Clone for Containment<T>
impl<T: Clone + OptFields> Clone for Containment<T>
Source§fn clone(&self) -> Containment<T>
fn clone(&self) -> Containment<T>
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 moreSource§impl<T: Default + OptFields> Default for Containment<T>
impl<T: Default + OptFields> Default for Containment<T>
Source§fn default() -> Containment<T>
fn default() -> Containment<T>
Returns the “default value” for a type. Read more
impl<T: OptFields> StructuralPartialEq for Containment<T>
Auto Trait Implementations§
impl<T> Freeze for Containment<T>where
T: Freeze,
impl<T> RefUnwindSafe for Containment<T>where
T: RefUnwindSafe,
impl<T> Send for Containment<T>where
T: Send,
impl<T> Sync for Containment<T>where
T: Sync,
impl<T> Unpin for Containment<T>where
T: Unpin,
impl<T> UnwindSafe for Containment<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