pub struct CStrPairArray<'a>(/* private fields */);
Expand description
A serialized representation of a C-style string array that contains pairs of strings.
This is identical to a CStrArray, but it is guaranteed that the number of strings is even.
To get an iterator over the pairs of strings, use the iter
method.
Implementations§
Source§impl<'a> CStrPairArray<'a>
impl<'a> CStrPairArray<'a>
Trait Implementations§
Source§impl<'a> Clone for CStrPairArray<'a>
impl<'a> Clone for CStrPairArray<'a>
Source§fn clone(&self) -> CStrPairArray<'a>
fn clone(&self) -> CStrPairArray<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CStrPairArray<'_>
impl Debug for CStrPairArray<'_>
Source§impl<'a> FromBytes<'a> for CStrPairArray<'a>
impl<'a> FromBytes<'a> for CStrPairArray<'a>
Source§fn from_bytes(buf: &mut &'a [u8]) -> Result<Self, FromBytesError>
fn from_bytes(buf: &mut &'a [u8]) -> Result<Self, FromBytesError>
Read the binary representation of a field and return the parsed representation Read more
Source§fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
fn from_maybe_bytes(buf: Option<&mut &'a [u8]>) -> Result<Self, FromBytesError>
Read the binary representation of a field from a buffer that may or may not exist Read more
Source§impl<'a> ToBytes for CStrPairArray<'a>
impl<'a> ToBytes for CStrPairArray<'a>
impl<'a> Copy for CStrPairArray<'a>
Auto Trait Implementations§
impl<'a> Freeze for CStrPairArray<'a>
impl<'a> RefUnwindSafe for CStrPairArray<'a>
impl<'a> Send for CStrPairArray<'a>
impl<'a> Sync for CStrPairArray<'a>
impl<'a> Unpin for CStrPairArray<'a>
impl<'a> UnwindSafe for CStrPairArray<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more