#[repr(C)]pub enum SamplingMethod {
SAMPLING_UNIFORM = 0,
SAMPLING_PROGRESSIVE_NAPSAC = 1,
SAMPLING_NAPSAC = 2,
SAMPLING_PROSAC = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for SamplingMethod
impl Clone for SamplingMethod
Source§fn clone(&self) -> SamplingMethod
fn clone(&self) -> SamplingMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SamplingMethod
impl Debug for SamplingMethod
Source§impl From<SamplingMethod> for i32
impl From<SamplingMethod> for i32
Source§fn from(v: SamplingMethod) -> Self
fn from(v: SamplingMethod) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SamplingMethod
impl PartialEq for SamplingMethod
Source§impl TryFrom<i32> for SamplingMethod
impl TryFrom<i32> for SamplingMethod
impl Copy for SamplingMethod
impl Eq for SamplingMethod
impl StructuralPartialEq for SamplingMethod
Auto Trait Implementations§
impl Freeze for SamplingMethod
impl RefUnwindSafe for SamplingMethod
impl Send for SamplingMethod
impl Sync for SamplingMethod
impl Unpin for SamplingMethod
impl UnwindSafe for SamplingMethod
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