[][src]Struct uapi::UstrPtr

pub struct UstrPtr<'a> { /* fields omitted */ }

Wrapper for a *const *const libc::c_char with a terminating null pointer

Implementations

impl<'a> UstrPtr<'a>[src]

pub fn new() -> Self[src]

Creates a new UstrPtr

pub fn push(&mut self, s: impl IntoUstr<'a>)[src]

Appends a *const libc::c_char

pub fn as_ptr(&self) -> &*const c_char[src]

Returns the *const *const c::c_char

Trait Implementations

impl<'a> Default for UstrPtr<'a>[src]

impl<'a, T: IntoUstr<'a>> Extend<T> for UstrPtr<'a>[src]

impl<'a, T: IntoUstr<'a>> FromIterator<T> for UstrPtr<'a>[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.