Enum libR_sys::Sampletype
source · #[repr(u32)]pub enum Sampletype {
ROUNDING = 0,
REJECTION = 1,
}
Expand description
Different ways to generate discrete uniform samples
Variants§
Trait Implementations§
source§impl Clone for Sampletype
impl Clone for Sampletype
source§fn clone(&self) -> Sampletype
fn clone(&self) -> Sampletype
Returns a copy 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 Sampletype
impl Debug for Sampletype
source§impl Hash for Sampletype
impl Hash for Sampletype
source§impl PartialEq for Sampletype
impl PartialEq for Sampletype
impl Copy for Sampletype
impl Eq for Sampletype
impl StructuralPartialEq for Sampletype
Auto Trait Implementations§
impl Freeze for Sampletype
impl RefUnwindSafe for Sampletype
impl Send for Sampletype
impl Sync for Sampletype
impl Unpin for Sampletype
impl UnwindSafe for Sampletype
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)