pub struct ParameterSlice {
pub name: &'static str,
pub range: Range<usize>,
}Expand description
Именованный блок коэффициентов внутри плоского вектора параметров.
Связывает стабильное имя параметра распределения (например, "mu")
с диапазоном позиций в общем beta-векторе.
Fields§
§name: &'static strStable distribution parameter name, e.g. "mu" or "sigma".
range: Range<usize>Coefficient range for this parameter inside the full beta vector.
Trait Implementations§
Source§impl Clone for ParameterSlice
impl Clone for ParameterSlice
Source§fn clone(&self) -> ParameterSlice
fn clone(&self) -> ParameterSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParameterSlice
impl Debug for ParameterSlice
impl Eq for ParameterSlice
Source§impl PartialEq for ParameterSlice
impl PartialEq for ParameterSlice
Source§fn eq(&self, other: &ParameterSlice) -> bool
fn eq(&self, other: &ParameterSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParameterSlice
Auto Trait Implementations§
impl Freeze for ParameterSlice
impl RefUnwindSafe for ParameterSlice
impl Send for ParameterSlice
impl Sync for ParameterSlice
impl Unpin for ParameterSlice
impl UnsafeUnpin for ParameterSlice
impl UnwindSafe for ParameterSlice
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