Lines Matching defs:fn
18 pub const fn len(&self) -> usize { in len() constant
24 pub const fn is_empty(&self) -> bool { in is_empty() constant
30 pub const fn from_bytes(bytes: &[u8]) -> &Self { in from_bytes() constant
183 pub const fn as_char_ptr_in_const_context(c_str: &CStr) -> *const c_char { in as_char_ptr_in_const_context() constant
214 pub const fn len(&self) -> usize { in len() constant
220 pub const fn len_with_nul(&self) -> usize { in len_with_nul() constant
232 pub const fn is_empty(&self) -> bool { in is_empty() constant
259 pub const fn from_bytes_with_nul(bytes: &[u8]) -> Result<&Self, CStrConvertError> { in from_bytes_with_nul() constant
311 pub const fn as_char_ptr(&self) -> *const c_char { in as_char_ptr() constant
332 pub const fn to_bytes_with_nul(&self) -> &[u8] { in to_bytes_with_nul() constant
341 pub const fn as_bytes_with_nul(&self) -> &[u8] { in as_bytes_with_nul() constant