pub struct NonZeroByteSlice(/* private fields */);Implementations§
Trait Implementations§
Source§impl Borrow<NonZeroByteSlice> for NonZeroByteVec
impl Borrow<NonZeroByteSlice> for NonZeroByteVec
Source§fn borrow(&self) -> &NonZeroByteSlice
fn borrow(&self) -> &NonZeroByteSlice
Immutably borrows from an owned value. Read more
Source§impl Debug for NonZeroByteSlice
impl Debug for NonZeroByteSlice
Source§impl<'a> From<&'a CStr> for &'a NonZeroByteSlice
impl<'a> From<&'a CStr> for &'a NonZeroByteSlice
Source§impl From<&NonZeroByteSlice> for NonZeroByteVec
impl From<&NonZeroByteSlice> for NonZeroByteVec
Source§fn from(slice: &NonZeroByteSlice) -> Self
fn from(slice: &NonZeroByteSlice) -> Self
Converts to this type from the input type.
Source§impl Hash for NonZeroByteSlice
impl Hash for NonZeroByteSlice
Source§impl PartialEq for NonZeroByteSlice
impl PartialEq for NonZeroByteSlice
Source§fn eq(&self, other: &NonZeroByteSlice) -> bool
fn eq(&self, other: &NonZeroByteSlice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NonZeroByteSlice
impl Serialize for NonZeroByteSlice
Source§impl ToOwned for NonZeroByteSlice
impl ToOwned for NonZeroByteSlice
Source§type Owned = NonZeroByteVec
type Owned = NonZeroByteVec
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more