[][src]Struct vecarray::VecArray

pub struct VecArray<T, N: Unsigned>(_, _);

Trait Implementations

impl<T: Clone, N: Clone + Unsigned> Clone for VecArray<T, N>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<T, N: Unsigned> AsRef<[T]> for VecArray<T, N>[src]

impl<T: Default, N: Unsigned> Default for VecArray<T, N>[src]

impl<T: PartialEq, N: PartialEq + Unsigned> PartialEq<VecArray<T, N>> for VecArray<T, N>[src]

impl<T: Eq, N: Eq + Unsigned> Eq for VecArray<T, N>[src]

impl<T, N: Unsigned> DerefMut for VecArray<T, N>[src]

impl<T: Debug, N: Debug + Unsigned> Debug for VecArray<T, N>[src]

impl<T, N: Unsigned> Deref for VecArray<T, N>[src]

type Target = [T]

The resulting type after dereferencing.

impl<T, N: Unsigned> TryFrom<Vec<T>> for VecArray<T, N>[src]

type Error = TryFromError

The type returned in the event of a conversion error.

impl<T: Serialize, N: Unsigned> Serialize for VecArray<T, N>[src]

impl<'de, T: Deserialize<'de>, N: Unsigned> Deserialize<'de> for VecArray<T, N>[src]

impl<T: Encode, N: Unsigned> Encode for VecArray<T, N>[src]

fn encode(&self) -> Vec<u8>[src]

Convert self to an owned vector.

fn using_encoded<R, F>(&self, f: F) -> R where
    F: FnOnce(&[u8]) -> R, 
[src]

Convert self to a slice and then invoke the given closure with it.

impl<T: Decode, N: Unsigned> Decode for VecArray<T, N>[src]

Auto Trait Implementations

impl<T, N> Sync for VecArray<T, N> where
    N: Sync,
    T: Sync

impl<T, N> Send for VecArray<T, N> where
    N: Send,
    T: Send

impl<T, N> Unpin for VecArray<T, N> where
    N: Unpin,
    T: Unpin

impl<T, N> RefUnwindSafe for VecArray<T, N> where
    N: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, N> UnwindSafe for VecArray<T, N> where
    N: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

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

type Output = T

Should always be Self

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T> KeyedVec for T where
    T: Codec
[src]