[−][src]Struct hdf5_types::VarLenAscii
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, StringError>[src]
bytes: &B
) -> Result<Self, StringError>
Trait Implementations
impl AsAsciiStr for VarLenAscii[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> AsRef<[u8]> for VarLenAscii[src]
impl<'a> AsRef<str> for VarLenAscii[src]
impl<'a> Borrow<str> for VarLenAscii[src]
impl Clone for VarLenAscii[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a> Debug for VarLenAscii[src]
impl<'a> Default for VarLenAscii[src]
fn default() -> VarLenAscii[src]
impl<'a> Deref for VarLenAscii[src]
impl<'a> Display for VarLenAscii[src]
impl Drop for VarLenAscii[src]
impl<'a> Eq for VarLenAscii[src]
impl<'a> From<&'a VarLenAscii> for &'a [u8][src]
impl<'a> From<&'a VarLenAscii> for &'a str[src]
fn from(s: &VarLenAscii) -> &str[src]
impl<'a> From<VarLenAscii> for String[src]
fn from(s: VarLenAscii) -> String[src]
impl<'a> From<VarLenAscii> for Vec<u8>[src]
fn from(s: VarLenAscii) -> Vec<u8>[src]
impl H5Type for VarLenAscii[src]
fn type_descriptor() -> TypeDescriptor[src]
impl<'a> Hash for VarLenAscii[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> Index<RangeFull> for VarLenAscii[src]
impl<'a> PartialEq<&'a str> for VarLenAscii[src]
impl<'a> PartialEq<Cow<'a, str>> for VarLenAscii[src]
fn eq(&self, other: &Cow<'a, str>) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<String> for VarLenAscii[src]
impl<'a> PartialEq<VarLenAscii> for VarLenAscii[src]
impl<'a> PartialEq<VarLenAscii> for str[src]
fn eq(&self, other: &VarLenAscii) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<VarLenAscii> for &'a str[src]
fn eq(&self, other: &VarLenAscii) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<VarLenAscii> for String[src]
fn eq(&self, other: &VarLenAscii) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<VarLenAscii> for Cow<'a, str>[src]
fn eq(&self, other: &VarLenAscii) -> bool[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl<'a> PartialEq<str> for VarLenAscii[src]
Auto Trait Implementations
impl RefUnwindSafe for VarLenAscii
impl !Send for VarLenAscii
impl !Sync for VarLenAscii
impl Unpin for VarLenAscii
impl UnwindSafe for VarLenAscii
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>,