[−][src]Struct vecarray::VecArray
Trait Implementations
impl<T: Clone, N: Clone + Unsigned> Clone for VecArray<T, N>
[src]
fn clone(&self) -> 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]
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.
fn try_from(value: Vec<T>) -> Result<Self, Self::Error>
[src]
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]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<T: Encode, N: Unsigned> Encode for VecArray<T, N>
[src]
fn encode_to<W: Output>(&self, dest: &mut W)
[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]
F: FnOnce(&[u8]) -> R,
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,
N: Sync,
T: Sync,
impl<T, N> Send for VecArray<T, N> where
N: Send,
T: Send,
N: Send,
T: Send,
impl<T, N> Unpin for VecArray<T, N> where
N: Unpin,
T: Unpin,
N: Unpin,
T: Unpin,
impl<T, N> RefUnwindSafe for VecArray<T, N> where
N: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, N> UnwindSafe for VecArray<T, N> where
N: UnwindSafe,
T: UnwindSafe,
N: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<S> Codec for S where
S: Encode + Decode,
[src]
S: Encode + Decode,
impl<T> KeyedVec for T where
T: Codec,
[src]
T: Codec,