pub struct UstrPtr<'a> { /* private fields */ }
Expand description
Wrapper for a *const *const libc::c_char
with a terminating null pointer
Implementations§
Trait Implementations§
source§impl<'a, T: IntoUstr<'a>> Extend<T> for UstrPtr<'a>
impl<'a, T: IntoUstr<'a>> Extend<T> for UstrPtr<'a>
source§fn extend<U: IntoIterator<Item = T>>(&mut self, iter: U)
fn extend<U: IntoIterator<Item = T>>(&mut self, iter: U)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<'a, T: IntoUstr<'a>> FromIterator<T> for UstrPtr<'a>
impl<'a, T: IntoUstr<'a>> FromIterator<T> for UstrPtr<'a>
source§fn from_iter<U: IntoIterator<Item = T>>(iter: U) -> Self
fn from_iter<U: IntoIterator<Item = T>>(iter: U) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl<'a> Freeze for UstrPtr<'a>
impl<'a> RefUnwindSafe for UstrPtr<'a>
impl<'a> !Send for UstrPtr<'a>
impl<'a> !Sync for UstrPtr<'a>
impl<'a> Unpin for UstrPtr<'a>
impl<'a> UnwindSafe for UstrPtr<'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