pub struct EventTypeDistr { /* private fields */ }Implementations§
Source§impl EventTypeDistr
impl EventTypeDistr
pub fn new<F>(density_function: F) -> Self
pub fn from_monster_count(x: Coord) -> Self
Trait Implementations§
Source§impl Clone for EventTypeDistr
impl Clone for EventTypeDistr
Source§fn clone(&self) -> EventTypeDistr
fn clone(&self) -> EventTypeDistr
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 EventTypeDistr
impl Debug for EventTypeDistr
Source§impl Distribution<EventType> for EventTypeDistr
impl Distribution<EventType> for EventTypeDistr
Auto Trait Implementations§
impl Freeze for EventTypeDistr
impl RefUnwindSafe for EventTypeDistr
impl Send for EventTypeDistr
impl Sync for EventTypeDistr
impl Unpin for EventTypeDistr
impl UnsafeUnpin for EventTypeDistr
impl UnwindSafe for EventTypeDistr
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