pub struct UnitDisk;Expand description
A uniform distribution of 2-vectors inside the (closed) unit disk.
Trait Implementations§
Source§impl Distrib for UnitDisk
impl Distrib for UnitDisk
impl Copy for UnitDisk
Auto Trait Implementations§
impl Freeze for UnitDisk
impl RefUnwindSafe for UnitDisk
impl Send for UnitDisk
impl Sync for UnitDisk
impl Unpin for UnitDisk
impl UnwindSafe for UnitDisk
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