Lines Matching full:ascii
63 /// Formats printable ASCII characters, escaping the rest.
67 /// let ascii = b_str!("Hello, BStr!");
68 /// let s = CString::try_from_fmt(fmt!("{ascii}"))?;
93 /// Formats printable ASCII characters with a double quote on either end,
99 /// let ascii = b_str!("Hello, \"BStr\"!");
100 /// let s = CString::try_from_fmt(fmt!("{ascii:?}"))?;
168 /// `b_str!` converts the supplied string literal to byte string, so non-ASCII
234 /// Converts this [`CStr`] to its ASCII lower case equivalent in-place.
236 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
237 /// but non-ASCII letters are unchanged.
245 /// Converts this [`CStr`] to its ASCII upper case equivalent in-place.
247 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
248 /// but non-ASCII letters are unchanged.
257 /// ASCII lower case equivalent.
259 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
260 /// but non-ASCII letters are unchanged.
268 /// ASCII upper case equivalent.
270 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
271 /// but non-ASCII letters are unchanged.
280 /// Formats printable ASCII characters, escaping the rest.
290 /// let ascii = c"so \"cool\"";
291 /// let s = CString::try_from_fmt(fmt!("{ascii}"))?;