Struct agnes::masked::MaskedData [] [src]

pub struct MaskedData<T> { /* fields omitted */ }

Data vector along with bit-vector-based mask indicating whether or not values exist.

Methods

impl<T> MaskedData<T>
[src]

[src]

Length of this data vector

[src]

Get the value at the given index. Return None if index is out of bounds, or a MaybeNa Object with the value (or indicator that value is missing).

impl<T: Default> MaskedData<T>
[src]

[src]

Create new masked data vector with single element.

[src]

Add a new value (or an indication of a missing one) to the data vector

Trait Implementations

impl<T: Debug> Debug for MaskedData<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Clone> Clone for MaskedData<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Serialize> Serialize for MaskedData<T>
[src]

[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl<T> Send for MaskedData<T> where
    T: Send

impl<T> Sync for MaskedData<T> where
    T: Sync