pub enum Probabilistic<T> {
Pure(T),
Water {
failure: T,
success: T,
},
Sticks {
s0: T,
s1: T,
s2: T,
s3: T,
s4: T,
s5: T,
},
WhoGoesFirst {
ia_first: T,
a_first: T,
},
}Expand description
Describes the probability density due to the sticks cast. /投げ棒に由来する確率分布。
Variants§
Implementations§
Source§impl<T: Clone> Probabilistic<T>
impl<T: Clone> Probabilistic<T>
Trait Implementations§
Source§impl<T: Clone> Clone for Probabilistic<T>
impl<T: Clone> Clone for Probabilistic<T>
Source§fn clone(&self) -> Probabilistic<T>
fn clone(&self) -> Probabilistic<T>
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<T: Debug> Debug for Probabilistic<T>
impl<T: Debug> Debug for Probabilistic<T>
Auto Trait Implementations§
impl<T> Freeze for Probabilistic<T>where
T: Freeze,
impl<T> RefUnwindSafe for Probabilistic<T>where
T: RefUnwindSafe,
impl<T> Send for Probabilistic<T>where
T: Send,
impl<T> Sync for Probabilistic<T>where
T: Sync,
impl<T> Unpin for Probabilistic<T>where
T: Unpin,
impl<T> UnwindSafe for Probabilistic<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