[−][src]Struct hdf5_types::VarLenArray
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]
fn type_descriptor() -> TypeDescriptor
[src]
impl<'a, T: Copy> From<&'a [T]> for VarLenArray<T>
[src]
fn from(arr: &[T]) -> VarLenArray<T>
[src]
impl<T: Copy, A: Array<Item = T>> From<A> for VarLenArray<T>
[src]
fn from(arr: A) -> 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]
fn eq(&self, other: &Self) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T: Copy + PartialEq> PartialEq<[T]> for VarLenArray<T>
[src]
fn eq(&self, other: &[T]) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T: Copy + PartialEq, A: Array<Item = T>> PartialEq<A> for VarLenArray<T>
[src]
fn eq(&self, other: &A) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl<T: Copy> Clone for VarLenArray<T>
[src]
fn clone(&self) -> 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]
fn default() -> 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]
Auto Trait Implementations
impl<T> !Send for VarLenArray<T>
impl<T> Unpin for VarLenArray<T> where
T: Unpin,
T: Unpin,
impl<T> !Sync for VarLenArray<T>
impl<T> RefUnwindSafe for VarLenArray<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> UnwindSafe for VarLenArray<T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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, 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,