Struct std::c_str::CStringExperimental [-]  [+] [src]

pub struct CString {
    // some fields omitted
}

The representation of a C String.

This structure wraps a *libc::c_char, and will automatically free the memory it is pointing to when it goes out of scope.

Trait Implementations

impl BytesContainer for CString

fn container_as_bytes<'a>(&'a self) -> &'a [u8]

fn container_as_str<'a>(&'a self) -> Option<&'a str>

fn is_str(_: Option<&Self>) -> bool