Lines Matching refs:CString
358 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring() argument
359 CString::try_from(self) in to_cstring()
401 pub fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase() argument
418 pub fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase() argument
580 struct String(CString);
584 String(CString::try_from_fmt(args).unwrap()) in from_fmt()
867 pub struct CString { struct
871 impl CString { impl
906 impl Deref for CString { implementation
916 impl DerefMut for CString { implementation
924 impl<'a> TryFrom<&'a CStr> for CString { implementation
927 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() argument
934 Ok(CString { buf }) in try_from()
938 impl fmt::Debug for CString { implementation