[][src]Struct hdf5_types::VarLenArray

#[repr(C)]
pub struct VarLenArray<T: Copy> { /* fields omitted */ }

Methods

impl<T: Copy> VarLenArray<T>[src]

pub unsafe fn from_parts(p: *const T, len: usize) -> VarLenArray<T>[src]

pub fn from_slice(arr: &[T]) -> VarLenArray<T>[src]

pub fn as_ptr(&self) -> *const T[src]

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

pub fn is_empty(&self) -> bool[src]

pub fn as_slice(&self) -> &[T][src]

Trait Implementations

impl<T: Copy + H5Type> H5Type for VarLenArray<T>[src]

impl<'a, T: Copy> From<&'a [T]> for VarLenArray<T>[src]

impl<T: Copy, A: Array<Item = T>> From<A> for VarLenArray<T>[src]

impl<T: Copy> Drop for VarLenArray<T>[src]

impl<T: Copy> Into<Vec<T>> for VarLenArray<T>[src]

impl<T: Copy + PartialEq> PartialEq<VarLenArray<T>> for VarLenArray<T>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: Copy + PartialEq> PartialEq<[T]> for VarLenArray<T>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: Copy + PartialEq, A: Array<Item = T>> PartialEq<A> for VarLenArray<T>[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl<T: Copy> Clone for VarLenArray<T>[src]

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

Performs copy-assignment from source. Read more

impl<T: Copy> Default for VarLenArray<T>[src]

impl<T: Copy + Eq> Eq for VarLenArray<T>[src]

impl<T: Copy + Debug> Debug for VarLenArray<T>[src]

impl<T: Copy> Deref for VarLenArray<T>[src]

type Target = [T]

The resulting type after dereferencing.

Auto Trait Implementations

impl<T> !Send for VarLenArray<T>

impl<T> Unpin for VarLenArray<T> where
    T: Unpin

impl<T> !Sync for VarLenArray<T>

impl<T> RefUnwindSafe for VarLenArray<T> where
    T: RefUnwindSafe

impl<T> UnwindSafe for VarLenArray<T> where
    T: RefUnwindSafe + UnwindSafe

Blanket Implementations

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.

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]