Struct consalign::BpScoreParamSets
source · [−]pub struct BpScoreParamSets<T> {
pub hairpin_loop_scores: HashMap<(T, T), f32, RandomState, Global>,
pub twoloop_scores: HashMap<(T, T, T, T), f32, RandomState, Global>,
pub multi_loop_closing_bp_scores: HashMap<(T, T), f32, RandomState, Global>,
pub multi_loop_accessible_bp_scores: HashMap<(T, T), f32, RandomState, Global>,
pub external_loop_accessible_bp_scores: HashMap<(T, T), f32, RandomState, Global>,
}Fields
hairpin_loop_scores: HashMap<(T, T), f32, RandomState, Global>twoloop_scores: HashMap<(T, T, T, T), f32, RandomState, Global>multi_loop_closing_bp_scores: HashMap<(T, T), f32, RandomState, Global>multi_loop_accessible_bp_scores: HashMap<(T, T), f32, RandomState, Global>external_loop_accessible_bp_scores: HashMap<(T, T), f32, RandomState, Global>Implementations
sourceimpl<T> BpScoreParamSets<T>where
T: Unsigned + PrimInt + Hash + FromPrimitive + Integer + Ord,
impl<T> BpScoreParamSets<T>where
T: Unsigned + PrimInt + Hash + FromPrimitive + Integer + Ord,
pub fn new() -> BpScoreParamSets<T>
pub fn set_curr_params(
feature_score_sets: &FeatureCountSets,
seq: &[usize],
bpp_mat: &HashMap<(T, T), f32, RandomState, Global>
) -> BpScoreParamSets<T>
Trait Implementations
sourceimpl<T> Clone for BpScoreParamSets<T>where
T: Clone,
impl<T> Clone for BpScoreParamSets<T>where
T: Clone,
sourcefn clone(&self) -> BpScoreParamSets<T>
fn clone(&self) -> BpScoreParamSets<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for BpScoreParamSets<T>where
T: RefUnwindSafe,
impl<T> Send for BpScoreParamSets<T>where
T: Send,
impl<T> Sync for BpScoreParamSets<T>where
T: Sync,
impl<T> Unpin for BpScoreParamSets<T>where
T: Unpin,
impl<T> UnwindSafe for BpScoreParamSets<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more