[][src]Struct preserves::value::value::Record

pub struct Record<N>(pub Vec<N>);

A Record Value -- INVARIANT: length always non-zero

Implementations

impl<N> Record<N>[src]

pub fn label(&self) -> &N[src]

pub fn label_mut(&mut self) -> &mut N[src]

pub fn arity(&self) -> usize[src]

pub fn fields(&self) -> &[N][src]

pub fn fields_mut(&mut self) -> &mut [N][src]

pub fn fields_vec(&self) -> &Vec<N>[src]

pub fn fields_vec_mut(&mut self) -> &mut Vec<N>[src]

pub fn finish<D: Domain>(self) -> Value<N, D> where
    N: NestedValue<D>, 
[src]

Trait Implementations

impl<N: Clone> Clone for Record<N>[src]

impl<N: Debug> Debug for Record<N>[src]

impl<N: Eq> Eq for Record<N>[src]

impl<N: Hash> Hash for Record<N>[src]

impl<N: Ord> Ord for Record<N>[src]

impl<N: PartialEq> PartialEq<Record<N>> for Record<N>[src]

impl<N: PartialOrd> PartialOrd<Record<N>> for Record<N>[src]

impl<N> StructuralEq for Record<N>[src]

impl<N> StructuralPartialEq for Record<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Record<N> where
    N: RefUnwindSafe

impl<N> Send for Record<N> where
    N: Send

impl<N> Sync for Record<N> where
    N: Sync

impl<N> Unpin for Record<N> where
    N: Unpin

impl<N> UnwindSafe for Record<N> where
    N: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.