pub struct RangePayout {
pub start: usize,
pub count: usize,
pub payout: Payout,
}Expand description
Representation of a set of contiguous outcomes that share a single payout.
Fields§
§start: usizeThe start of the range
count: usizeThe number of outcomes in the range
payout: PayoutThe payout associated with all outcomes
Trait Implementations§
Source§impl Clone for RangePayout
impl Clone for RangePayout
Source§fn clone(&self) -> RangePayout
fn clone(&self) -> RangePayout
Returns a duplicate of the value. Read more
1.0.0 · 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 RangePayout
impl Debug for RangePayout
Source§impl PartialEq for RangePayout
impl PartialEq for RangePayout
impl Eq for RangePayout
impl StructuralPartialEq for RangePayout
Auto Trait Implementations§
impl Freeze for RangePayout
impl RefUnwindSafe for RangePayout
impl Send for RangePayout
impl Sync for RangePayout
impl Unpin for RangePayout
impl UnwindSafe for RangePayout
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