Lines Matching full:ascii
38 /// Formats printable ASCII characters, escaping the rest.
42 /// let ascii = b_str!("Hello, BStr!");
43 /// let s = CString::try_from_fmt(fmt!("{}", ascii)).unwrap();
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)).unwrap();
112 /// `b_str!` converts the supplied string literal to byte string, so non-ASCII
313 /// Converts this [`CStr`] to its ASCII lower case equivalent in-place.
315 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
316 /// but non-ASCII letters are unchanged.
328 /// Converts this [`CStr`] to its ASCII upper case equivalent in-place.
330 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
331 /// but non-ASCII letters are unchanged.
344 /// ASCII lower case equivalent.
346 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
347 /// but non-ASCII letters are unchanged.
361 /// ASCII upper case equivalent.
363 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
364 /// but non-ASCII letters are unchanged.
379 /// Formats printable ASCII characters, escaping the rest.
390 /// let ascii = c_str!("so \"cool\"");
391 /// let s = CString::try_from_fmt(fmt!("{}", ascii)).unwrap();
408 /// Formats printable ASCII characters with a double quote on either end, escaping the rest.
420 /// let ascii = c_str!("so \"cool\"");
421 /// let s = CString::try_from_fmt(fmt!("{:?}", ascii)).unwrap();