[][src]Struct hdf5_types::VarLenAscii

#[repr(C)]
pub struct VarLenAscii { /* fields omitted */ }

Methods

impl VarLenAscii[src]

pub fn new() -> Self[src]

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

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

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

pub fn as_bytes(&self) -> &[u8][src]

pub fn as_str(&self) -> &str[src]

pub unsafe fn from_ascii_unchecked<B: ?Sized + AsRef<[u8]>>(bytes: &B) -> Self[src]

pub fn from_ascii<B: ?Sized + AsRef<[u8]>>(bytes: &B) -> Result<Self, Error>[src]

Trait Implementations

impl H5Type for VarLenAscii[src]

impl<'a> From<VarLenAscii> for String[src]

impl<'a> From<&'a VarLenAscii> for &'a [u8][src]

impl<'a> From<&'a VarLenAscii> for &'a str[src]

impl<'a> From<VarLenAscii> for Vec<u8>[src]

impl<'a> PartialEq<VarLenAscii> for VarLenAscii[src]

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

This method tests for !=.

impl<'a> PartialEq<str> for VarLenAscii[src]

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

This method tests for !=.

impl<'a> PartialEq<VarLenAscii> for str[src]

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

This method tests for !=.

impl<'a> PartialEq<&'a str> for VarLenAscii[src]

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

This method tests for !=.

impl<'a> PartialEq<VarLenAscii> for &'a str[src]

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

This method tests for !=.

impl<'a> PartialEq<String> for VarLenAscii[src]

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

This method tests for !=.

impl<'a> PartialEq<VarLenAscii> for String[src]

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

This method tests for !=.

impl<'a> PartialEq<Cow<'a, str>> for VarLenAscii[src]

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

This method tests for !=.

impl<'a> PartialEq<VarLenAscii> for Cow<'a, str>[src]

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

This method tests for !=.

impl Clone for VarLenAscii[src]

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

Performs copy-assignment from source. Read more

impl<'a> AsRef<str> for VarLenAscii[src]

impl<'a> AsRef<[u8]> for VarLenAscii[src]

impl<'a> Default for VarLenAscii[src]

impl<'a> Eq for VarLenAscii[src]

impl Drop for VarLenAscii[src]

impl<'a> Deref for VarLenAscii[src]

type Target = str

The resulting type after dereferencing.

impl<'a> Display for VarLenAscii[src]

impl<'a> Debug for VarLenAscii[src]

impl<'a> Index<RangeFull> for VarLenAscii[src]

type Output = str

The returned type after indexing.

impl<'a> Hash for VarLenAscii[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Borrow<str> for VarLenAscii[src]

impl AsAsciiStr for VarLenAscii[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[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> Borrow<T> for T where
    T: ?Sized
[src]

impl<S> SliceConcat<str> for S where
    S: Borrow<str>, 
[src]

type Output = String

🔬 This is a nightly-only experimental API. (slice_concat_trait)

The resulting type after concatenation

impl<T, V> SliceConcat<T> for V where
    T: Clone,
    V: Borrow<[T]>, 
[src]

type Output = Vec<T>

🔬 This is a nightly-only experimental API. (slice_concat_trait)

The resulting type after concatenation

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

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