Lines Matching refs:CString
312 pub fn to_cstring(&self) -> Result<CString, AllocError> { in to_cstring() argument
313 CString::try_from(self) in to_cstring()
355 pub fn to_ascii_lowercase(&self) -> Result<CString, AllocError> { in to_ascii_lowercase() argument
372 pub fn to_ascii_uppercase(&self) -> Result<CString, AllocError> { in to_ascii_uppercase() argument
534 struct String(CString);
538 String(CString::try_from_fmt(args).unwrap()) in from_fmt()
821 pub struct CString { struct
825 impl CString { impl
860 impl Deref for CString { implementation
870 impl DerefMut for CString { implementation
878 impl<'a> TryFrom<&'a CStr> for CString { implementation
881 fn try_from(cstr: &'a CStr) -> Result<CString, AllocError> { in try_from() argument
888 Ok(CString { buf }) in try_from()
892 impl fmt::Debug for CString { implementation