[−][src]Struct agnes::label::Labeled
Container for a value of type V
labeled with L
.
Fields
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,
[src]
V: Valued,
type Value = V::Value
The associated value.
fn value_ref(&self) -> &V::Value
[src]
fn value_mut(&mut self) -> &mut V::Value
[src]
fn value(self) -> V::Value
[src]
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 + SimpleFrameFields,
[src]
I: Iterator<Item = Value<T>>,
DataStore<Nil>: PushFrontFromValueIter<Label, T>,
<DataStore<Nil> as PushFrontFromValueIter<Label, T>>::OutputFields: AssocFrameLookup + SimpleFrameFields,
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>
).
fn into_view(self) -> Self::Output
[src]
impl<L: Clone, V: Clone> Clone for Labeled<L, V>
[src]
fn clone(&self) -> Labeled<L, V>
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
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,
L: Send,
V: Send,
impl<L, V> Sync for Labeled<L, V> where
L: Sync,
V: Sync,
L: Sync,
V: Sync,
Blanket Implementations
impl<T> IntoLabeled for T
[src]
impl<T> Valued for T where
T: SelfValued,
[src]
T: SelfValued,
type Value = T
The associated value.
fn value_ref(&Self) -> &T
[src]
fn value_mut(&mut Self) -> &mut T
[src]
fn value(Self) -> <T as Valued>::Value
[src]
impl<T> HasLabels for T
[src]
impl<Needle, Haystack> HasLabels for Haystack where
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
[src]
Haystack: Member<Needle, IsMember = B1>,
Needle: Label,
impl<Frames, Store> JoinIntoStore for Frames
[src]
type Output = Store
The output type after augmenting Store
.
fn join_into_store(&Self, Store, &[usize]) -> Result<Store, AgnesError>
[src]
impl<Frames> AssocDataIndexCons for Frames
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Erased for T
impl<T> Same for T
[src]
type Output = T
Should always be Self