[][src]Struct nc::c_str::CStr

pub struct CStr { /* fields omitted */ }

Implementations

impl CStr[src]

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

pub fn to_bytes(&self) -> &[u8][src]

pub fn to_bytes_with_nul(&self) -> &[u8][src]

Trait Implementations

impl Debug for CStr[src]

Auto Trait Implementations

impl Send for CStr

impl Sync for CStr

impl Unpin for CStr

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]