Struct rnapkin::forest::DotBracket
source · pub struct DotBracket {
pub pos: Option<usize>,
pub pair: Option<usize>,
}
Expand description
Represents status of a nucleotide; its position or optionally a pair if its got one. pos: None represents beginning of a new loop
Fields§
§pos: Option<usize>
§pair: Option<usize>
Implementations§
Trait Implementations§
source§impl Debug for DotBracket
impl Debug for DotBracket
source§impl Default for DotBracket
impl Default for DotBracket
source§fn default() -> DotBracket
fn default() -> DotBracket
Returns the “default value” for a type. Read more
source§impl PartialEq<DotBracket> for DotBracket
impl PartialEq<DotBracket> for DotBracket
source§fn eq(&self, other: &DotBracket) -> bool
fn eq(&self, other: &DotBracket) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DotBracket
impl StructuralEq for DotBracket
impl StructuralPartialEq for DotBracket
Auto Trait Implementations§
impl RefUnwindSafe for DotBracket
impl Send for DotBracket
impl Sync for DotBracket
impl Unpin for DotBracket
impl UnwindSafe for DotBracket
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