Lines Matching full:ascii
37 /// Formats printable ASCII characters, escaping the rest.
41 /// let ascii = b_str!("Hello, BStr!");
42 /// let s = CString::try_from_fmt(fmt!("{}", ascii))?;
67 /// Formats printable ASCII characters with a double quote on either end,
73 /// let ascii = b_str!("Hello, \"BStr\"!");
74 /// let s = CString::try_from_fmt(fmt!("{:?}", ascii))?;
113 /// `b_str!` converts the supplied string literal to byte string, so non-ASCII
316 /// Converts this [`CStr`] to its ASCII lower case equivalent in-place.
318 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
319 /// but non-ASCII letters are unchanged.
331 /// Converts this [`CStr`] to its ASCII upper case equivalent in-place.
333 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
334 /// but non-ASCII letters are unchanged.
347 /// ASCII lower case equivalent.
349 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
350 /// but non-ASCII letters are unchanged.
364 /// ASCII upper case equivalent.
366 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
367 /// but non-ASCII letters are unchanged.
382 /// Formats printable ASCII characters, escaping the rest.
393 /// let ascii = c_str!("so \"cool\"");
394 /// let s = CString::try_from_fmt(fmt!("{}", ascii))?;
412 /// Formats printable ASCII characters with a double quote on either end, escaping the rest.
424 /// let ascii = c_str!("so \"cool\"");
425 /// let s = CString::try_from_fmt(fmt!("{:?}", ascii))?;