Struct non_zero_byte_slice::NonZeroByteSlice
source · #[repr(transparent)]pub struct NonZeroByteSlice(_);
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<NonZeroByteSlice> for NonZeroByteSlice
impl PartialEq<NonZeroByteSlice> for NonZeroByteSlice
source§fn eq(&self, other: &NonZeroByteSlice) -> bool
fn eq(&self, other: &NonZeroByteSlice) -> bool
This method 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
§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