pub struct ParameterTrack<T: ParameterValue> { /* private fields */ }Expand description
One generic named parameter track over an unchanged serial-core series.
Implementations§
Source§impl<T: ParameterValue> ParameterTrack<T>
impl<T: ParameterValue> ParameterTrack<T>
Sourcepub fn try_new(
name: impl Into<String>,
values: Vec<T>,
exhaustion: Exhaustion,
) -> Result<Self, IntegralError>
pub fn try_new( name: impl Into<String>, values: Vec<T>, exhaustion: Exhaustion, ) -> Result<Self, IntegralError>
Constructs one exhaustive exactly-once track from a caller-declared value ladder.
Sourcepub fn try_new_with_rule(
name: impl Into<String>,
rule: AggregateRule,
values: Vec<T>,
exhaustion: Exhaustion,
) -> Result<Self, IntegralError>
pub fn try_new_with_rule( name: impl Into<String>, rule: AggregateRule, values: Vec<T>, exhaustion: Exhaustion, ) -> Result<Self, IntegralError>
Constructs one track from a caller-declared aggregate rule.
Sourcepub fn with_phase(self, phase: usize) -> Self
pub fn with_phase(self, phase: usize) -> Self
Returns this track with an explicit phase offset.
Sourcepub fn series(&self) -> &ParameterSeries<T>
pub fn series(&self) -> &ParameterSeries<T>
Returns the retained typed series.
Sourcepub const fn exhaustion(&self) -> Exhaustion
pub const fn exhaustion(&self) -> Exhaustion
Returns the configured exhaustion policy.
Sourcepub fn transformed(
&self,
transform: &SeriesTransform<ParameterAlphabet<T>>,
) -> Result<Self, IntegralError>
pub fn transformed( &self, transform: &SeriesTransform<ParameterAlphabet<T>>, ) -> Result<Self, IntegralError>
Applies a serial-core transform to this track without touching other tracks.
Sourcepub fn project(&self, plan_len: usize) -> ParameterProjection<T>
pub fn project(&self, plan_len: usize) -> ParameterProjection<T>
Projects this track against a requested integral-plan length.
Trait Implementations§
Source§impl<T: Clone + ParameterValue> Clone for ParameterTrack<T>
impl<T: Clone + ParameterValue> Clone for ParameterTrack<T>
Source§fn clone(&self) -> ParameterTrack<T>
fn clone(&self) -> ParameterTrack<T>
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<T: Debug + ParameterValue> Debug for ParameterTrack<T>
impl<T: Debug + ParameterValue> Debug for ParameterTrack<T>
impl<T: Eq + ParameterValue> Eq for ParameterTrack<T>
Source§impl<T: PartialEq + ParameterValue> PartialEq for ParameterTrack<T>
impl<T: PartialEq + ParameterValue> PartialEq for ParameterTrack<T>
impl<T: PartialEq + ParameterValue> StructuralPartialEq for ParameterTrack<T>
Auto Trait Implementations§
impl<T> Freeze for ParameterTrack<T>
impl<T> RefUnwindSafe for ParameterTrack<T>where
T: RefUnwindSafe,
impl<T> Send for ParameterTrack<T>where
T: Send,
impl<T> Sync for ParameterTrack<T>where
T: Sync,
impl<T> Unpin for ParameterTrack<T>where
T: Unpin,
impl<T> UnsafeUnpin for ParameterTrack<T>
impl<T> UnwindSafe for ParameterTrack<T>where
T: RefUnwindSafe + 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