Expand description
String representations.
Modules§
- parse_
int - Integer parsing functions.
Structs§
- BStr
- Byte string without UTF-8 validity guarantee.
- CStr
- A dynamically-sized view of a C string.
- CString
- An owned string that is guaranteed to have exactly one
NULbyte, which is at the end. - Formatter
- Allows formatting of
fmt::Argumentsinto a raw buffer. - RawFormatter
- Allows formatting of
fmt::Argumentsinto a raw buffer.
Traits§
Functions§
- as_
char_ ptr_ in_ const_ context - Returns a C pointer to the string.
- kstrtobool
- Convert common user inputs into boolean values using the kernel’s
kstrtoboolfunction. - kstrtobool_
bytes - Convert
&[u8]toboolby deferring tokernel::str::kstrtobool.