[][src]Struct samplics::sampling::UnstratifiedSample

pub struct UnstratifiedSample<T> {
    pub index: Vec<usize>,
    pub y: Vec<T>,
    pub mos: Vec<f64>,
    pub samp_size: usize,
    pub pop_size: Option<usize>,
    pub probs: Option<Vec<f64>>,
    pub fpc: f64,
    pub with_replacement: bool,
    pub pps_method: Option<PPS>,
    pub seed: Option<u64>,
}

Fields

index: Vec<usize>y: Vec<T>mos: Vec<f64>samp_size: usizepop_size: Option<usize>probs: Option<Vec<f64>>fpc: f64with_replacement: boolpps_method: Option<PPS>seed: Option<u64>

Trait Implementations

impl<T> EqualProbability<T> for UnstratifiedSample<T> where
    T: Copy
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for UnstratifiedSample<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for UnstratifiedSample<T> where
    T: Send
[src]

impl<T> Sync for UnstratifiedSample<T> where
    T: Sync
[src]

impl<T> Unpin for UnstratifiedSample<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for UnstratifiedSample<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,