[][src]Struct hdf5_types::FixedAscii

#[repr(C)]
pub struct FixedAscii<A: Array<Item = u8>> { /* fields omitted */ }

Methods

impl<A: Array<Item = u8>> FixedAscii<A>[src]

pub fn new() -> Self[src]

pub fn capacity() -> usize[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<A: Array<Item = u8>> H5Type for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> From<FixedAscii<A>> for String[src]

impl<'a, A: Array<Item = u8>> From<&'a FixedAscii<A>> for &'a [u8][src]

impl<'a, A: Array<Item = u8>> From<&'a FixedAscii<A>> for &'a str[src]

impl<'a, A: Array<Item = u8>> From<FixedAscii<A>> for Vec<u8>[src]

impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for FixedAscii<A>[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<str> for FixedAscii<A>[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for str[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<&'a str> for FixedAscii<A>[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for &'a str[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<String> for FixedAscii<A>[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for String[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<Cow<'a, str>> for FixedAscii<A>[src]

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

This method tests for !=.

impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for Cow<'a, str>[src]

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

This method tests for !=.

impl<A: Array<Item = u8>> Clone for FixedAscii<A>[src]

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

Performs copy-assignment from source. Read more

impl<'a, A: Array<Item = u8>> AsRef<str> for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> AsRef<[u8]> for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> Default for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> Eq for FixedAscii<A>[src]

impl<A: Copy + Array<Item = u8>> Copy for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> Deref for FixedAscii<A>[src]

type Target = str

The resulting type after dereferencing.

impl<'a, A: Array<Item = u8>> Display for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> Debug for FixedAscii<A>[src]

impl<'a, A: Array<Item = u8>> Index<RangeFull> for FixedAscii<A>[src]

type Output = str

The returned type after indexing.

impl<'a, A: Array<Item = u8>> Hash for FixedAscii<A>[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, A: Array<Item = u8>> Borrow<str> for FixedAscii<A>[src]

impl<A: Array<Item = u8>> AsAsciiStr for FixedAscii<A>[src]

Auto Trait Implementations

impl<A> Unpin for FixedAscii<A> where
    A: Unpin

impl<A> Sync for FixedAscii<A> where
    A: Sync

impl<A> Send for FixedAscii<A> where
    A: Send

impl<A> RefUnwindSafe for FixedAscii<A> where
    A: RefUnwindSafe

impl<A> UnwindSafe for FixedAscii<A> where
    A: UnwindSafe

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]