[−][src]Struct hdf5_types::FixedAscii
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, StringError>[src]
bytes: &B
) -> Result<Self, StringError>
Trait Implementations
impl<A: Array<Item = u8>> AsAsciiStr for FixedAscii<A>[src]
type Inner = u8
fn slice_ascii<R>(&self, range: R) -> Result<&AsciiStr, AsAsciiStrError> where
R: SliceIndex<[u8], Output = [u8]>, [src]
R: SliceIndex<[u8], Output = [u8]>,
fn as_ascii_str(&self) -> Result<&AsciiStr, AsAsciiStrError>[src]
unsafe fn as_ascii_str_unchecked(&self) -> &AsciiStr[src]
fn get_ascii(&self, index: usize) -> Option<AsciiChar>[src]
impl<'a, A: Array<Item = u8>> AsRef<[u8]> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> AsRef<str> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Borrow<str> for FixedAscii<A>[src]
impl<A: Array<Item = u8>> Clone for FixedAscii<A>[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<A: Copy + Array<Item = u8>> Copy for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Debug for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Default for FixedAscii<A>[src]
fn default() -> FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Deref for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Display for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> Eq for FixedAscii<A>[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]
fn from(s: &FixedAscii<A>) -> &str[src]
impl<'a, A: Array<Item = u8>> From<FixedAscii<A>> for String[src]
fn from(s: FixedAscii<A>) -> String[src]
impl<'a, A: Array<Item = u8>> From<FixedAscii<A>> for Vec<u8>[src]
fn from(s: FixedAscii<A>) -> Vec<u8>[src]
impl<A: Array<Item = u8>> H5Type for FixedAscii<A>[src]
fn type_descriptor() -> TypeDescriptor[src]
impl<'a, A: Array<Item = u8>> Hash for FixedAscii<A>[src]
fn hash<H: Hasher>(&self, hasher: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'a, A: Array<Item = u8>> Index<RangeFull> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> PartialEq<&'a str> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> PartialEq<Cow<'a, str>> for FixedAscii<A>[src]
fn eq(&self, other: &Cow<'a, str>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for str[src]
fn eq(&self, other: &FixedAscii<A>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for &'a str[src]
fn eq(&self, other: &FixedAscii<A>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for String[src]
fn eq(&self, other: &FixedAscii<A>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for Cow<'a, str>[src]
fn eq(&self, other: &FixedAscii<A>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a, A: Array<Item = u8>> PartialEq<String> for FixedAscii<A>[src]
impl<'a, A: Array<Item = u8>> PartialEq<str> for FixedAscii<A>[src]
Auto Trait Implementations
impl<A> RefUnwindSafe for FixedAscii<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> Send for FixedAscii<A> where
A: Send,
A: Send,
impl<A> Sync for FixedAscii<A> where
A: Sync,
A: Sync,
impl<A> Unpin for FixedAscii<A> where
A: Unpin,
A: Unpin,
impl<A> UnwindSafe for FixedAscii<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &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> 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> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
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>,