pub struct ParameterProjection<T: ParameterValue> { /* private fields */ }Expand description
Projection of one parameter track against a requested plan length.
Implementations§
Source§impl<T: ParameterValue> ParameterProjection<T>
impl<T: ParameterValue> ParameterProjection<T>
Sourcepub fn alphabet_id(&self) -> &AlphabetId
pub fn alphabet_id(&self) -> &AlphabetId
Returns the retained source alphabet identity.
Sourcepub fn source_len(&self) -> usize
pub fn source_len(&self) -> usize
Returns the source series length before phasing or exhaustion.
Sourcepub const fn exhaustion(&self) -> Exhaustion
pub const fn exhaustion(&self) -> Exhaustion
Returns the exhaustion policy used by this projection.
Sourcepub fn steps(&self) -> &[ParameterStep<T>]
pub fn steps(&self) -> &[ParameterStep<T>]
Returns the emitted steps with their parameter ordinal ledger.
Sourcepub fn omitted_plan_ordinals(&self) -> &[usize]
pub fn omitted_plan_ordinals(&self) -> &[usize]
Returns plan ordinals that intentionally produced no value under one-shot exhaustion.
Trait Implementations§
Source§impl<T: Clone + ParameterValue> Clone for ParameterProjection<T>
impl<T: Clone + ParameterValue> Clone for ParameterProjection<T>
Source§fn clone(&self) -> ParameterProjection<T>
fn clone(&self) -> ParameterProjection<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 ParameterProjection<T>
impl<T: Debug + ParameterValue> Debug for ParameterProjection<T>
impl<T: Eq + ParameterValue> Eq for ParameterProjection<T>
Source§impl<T: PartialEq + ParameterValue> PartialEq for ParameterProjection<T>
impl<T: PartialEq + ParameterValue> PartialEq for ParameterProjection<T>
impl<T: PartialEq + ParameterValue> StructuralPartialEq for ParameterProjection<T>
Auto Trait Implementations§
impl<T> Freeze for ParameterProjection<T>
impl<T> RefUnwindSafe for ParameterProjection<T>where
T: RefUnwindSafe,
impl<T> Send for ParameterProjection<T>where
T: Send,
impl<T> Sync for ParameterProjection<T>where
T: Sync,
impl<T> Unpin for ParameterProjection<T>where
T: Unpin,
impl<T> UnsafeUnpin for ParameterProjection<T>
impl<T> UnwindSafe for ParameterProjection<T>where
T: 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