Lines Matching refs:CString
389 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring() argument
390 CString::try_from(self) in to_cstring()
432 pub fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase() argument
449 pub fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase() argument
612 CString::try_from_fmt(fmt!($($f)*))?.to_str()?
888 pub struct CString { struct
892 impl CString { impl
927 impl Deref for CString { implementation
937 impl DerefMut for CString { implementation
945 impl<'a> TryFrom<&'a CStr> for CString { implementation
948 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() argument
955 Ok(CString { buf }) in try_from()
959 impl fmt::Debug for CString { implementation