Struct bies::Breakpoints
source · Fields§
§breakpoints: Vec<usize>An ascending list of breakpoints. All elements must be between 0 and length exclusive.
length: usizeThe total length; i.e., the limit of the final word.
Implementations§
source§impl Breakpoints
impl Breakpoints
pub fn from_bies_matrix(
algorithm: Algorithm,
matrix: &BiesMatrix,
valid_breakpoints: impl Iterator<Item = usize>
) -> Self
Trait Implementations§
source§impl Clone for Breakpoints
impl Clone for Breakpoints
source§fn clone(&self) -> Breakpoints
fn clone(&self) -> Breakpoints
Returns a copy 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 Debug for Breakpoints
impl Debug for Breakpoints
source§impl Default for Breakpoints
impl Default for Breakpoints
source§fn default() -> Breakpoints
fn default() -> Breakpoints
Returns the “default value” for a type. Read more
source§impl<'a> From<&'a Breakpoints> for BiesString<'a>
impl<'a> From<&'a Breakpoints> for BiesString<'a>
source§fn from(other: &'a Breakpoints) -> Self
fn from(other: &'a Breakpoints) -> Self
Converts to this type from the input type.
source§impl PartialEq<Breakpoints> for Breakpoints
impl PartialEq<Breakpoints> for Breakpoints
source§fn eq(&self, other: &Breakpoints) -> bool
fn eq(&self, other: &Breakpoints) -> bool
This method tests for
self and other values to be equal, and is used
by ==.