[−][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, Error>
[src]
Trait Implementations
impl<A: Array<Item = u8>> H5Type for FixedAscii<A>
[src]
fn type_descriptor() -> TypeDescriptor
[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<&'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 Vec<u8>
[src]
fn from(s: FixedAscii<A>) -> Vec<u8>
[src]
impl<'a, A: Array<Item = u8>> PartialEq<FixedAscii<A>> for FixedAscii<A>
[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<'a, A: Array<Item = u8>> PartialEq<str> for FixedAscii<A>
[src]
fn eq(&self, other: &str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
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) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a, A: Array<Item = u8>> PartialEq<&'a str> for FixedAscii<A>
[src]
fn eq(&self, other: &&'a str) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
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) -> bool
1.0.0[src]
This method tests for !=
.
impl<'a, A: Array<Item = u8>> PartialEq<String> for FixedAscii<A>
[src]
fn eq(&self, other: &String) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
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) -> bool
1.0.0[src]
This method tests for !=
.
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) -> bool
1.0.0[src]
This method tests for !=
.
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) -> bool
1.0.0[src]
This method tests for !=
.
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]
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]
fn default() -> 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]
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]
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,
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]
unsafe fn as_ascii_str_unchecked(&self) -> &AsciiStr
[src]
fn as_ascii_str(&self) -> Result<&AsciiStr, AsAsciiStrError>
[src]
Auto Trait Implementations
impl<A> Unpin for FixedAscii<A> where
A: Unpin,
A: Unpin,
impl<A> Sync for FixedAscii<A> where
A: Sync,
A: Sync,
impl<A> Send for FixedAscii<A> where
A: Send,
A: Send,
impl<A> RefUnwindSafe for FixedAscii<A> where
A: RefUnwindSafe,
A: RefUnwindSafe,
impl<A> UnwindSafe for FixedAscii<A> where
A: UnwindSafe,
A: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<S> SliceConcat<str> for S where
S: Borrow<str>,
[src]
S: Borrow<str>,
type Output = String
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[S]) -> String
[src]
fn join(slice: &[S], sep: &str) -> String
[src]
impl<T, V> SliceConcat<T> for V where
T: Clone,
V: Borrow<[T]>,
[src]
T: Clone,
V: Borrow<[T]>,
type Output = Vec<T>
🔬 This is a nightly-only experimental API. (
slice_concat_trait
)The resulting type after concatenation
fn concat(slice: &[V]) -> Vec<T>
[src]
fn join(slice: &[V], sep: &T) -> Vec<T>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,