pub struct RankableValuesDemo {
pub combination: Vec<usize>,
pub combination_rank: String,
pub combination_unranked: Vec<usize>,
pub permutation: Vec<usize>,
pub permutation_rank: String,
pub permutation_unranked: Vec<usize>,
}Expand description
Report produced by the rankable values cookbook recipe.
Fields§
§combination: Vec<usize>Combination value used by the recipe.
combination_rank: StringCombination rank rendered as a decimal ordinal.
combination_unranked: Vec<usize>Combination recovered from the ordinal.
permutation: Vec<usize>Permutation value used by the recipe.
permutation_rank: StringPermutation rank rendered as a decimal ordinal.
permutation_unranked: Vec<usize>Permutation recovered from the ordinal.
Trait Implementations§
Source§impl Clone for RankableValuesDemo
impl Clone for RankableValuesDemo
Source§fn clone(&self) -> RankableValuesDemo
fn clone(&self) -> RankableValuesDemo
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 RankableValuesDemo
impl Debug for RankableValuesDemo
impl Eq for RankableValuesDemo
Source§impl PartialEq for RankableValuesDemo
impl PartialEq for RankableValuesDemo
impl StructuralPartialEq for RankableValuesDemo
Auto Trait Implementations§
impl Freeze for RankableValuesDemo
impl RefUnwindSafe for RankableValuesDemo
impl Send for RankableValuesDemo
impl Sync for RankableValuesDemo
impl Unpin for RankableValuesDemo
impl UnsafeUnpin for RankableValuesDemo
impl UnwindSafe for RankableValuesDemo
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