[][src]Struct agnes::label::Labeled

pub struct Labeled<L, V> {
    pub value: V,
    // some fields omitted

Container for a value of type V labeled with L.


value: V

The contained value corresponding to this label.

Trait Implementations

impl<L, D, V> Typed for Labeled<L, TypedValue<D, V>>[src]

type DType = D

Associated data type with this type.

impl<L, V> Valued for Labeled<L, V> where
    V: Valued

type Value = V::Value

The associated value.

impl<L, M> Marked for Labeled<L, PhantomData<M>>[src]

type Marker = M

Associated marker.

impl<L, D, M> Marked for Labeled<L, TypedValue<D, PhantomData<M>>>[src]

type Marker = M

Associated marker.

impl<Label, I, T> IntoView for Labeled<Label, I> where
    I: Iterator<Item = Value<T>>,
    DataStore<Nil>: PushFrontFromValueIter<Label, T>,
    <DataStore<Nil> as PushFrontFromValueIter<Label, T>>::OutputFields: AssocFrameLookup

type Labels = <SingleFieldStore<Label, T> as IntoView>::Labels

The Labels type parameter for the output DataView.

type Frames = <SingleFieldStore<Label, T> as IntoView>::Frames

The Frames type parameter for the output DataView.

type Output = <SingleFieldStore<Label, T> as IntoView>::Output

The output DataView (should always be DataView<Self::Labels, Self::Frames>).

impl<L: Clone, V: Clone> Clone for Labeled<L, V>[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl<L, V> From<V> for Labeled<L, V>[src]

impl<L: Debug, V: Debug> Debug for Labeled<L, V>[src]

Auto Trait Implementations

impl<L, V> Send for Labeled<L, V> where
    L: Send,
    V: Send

impl<L, V> Sync for Labeled<L, V> where
    L: Sync,
    V: Sync

Blanket Implementations

impl<T> IntoLabeled for T[src]

impl<T> Valued for T where
    T: SelfValued

type Value = T

The associated value.

impl<T> HasLabels for T[src]

impl<Needle, Haystack> HasLabels for Haystack where
    Haystack: Member<Needle, IsMember = B1>,
    Needle: Label

impl<Frames, Store> JoinIntoStore for Frames[src]

type Output = Store

The output type after augmenting Store.

impl<Frames> AssocDataIndexCons for Frames[src]

type Output = Nil

Type of associated data index cons-list.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

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

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T> Same for T[src]

type Output = T

Should always be Self