Lines Matching full:ascii
54 /// Formats printable ASCII characters, escaping the rest.
58 /// let ascii = b_str!("Hello, BStr!");
59 /// let s = CString::try_from_fmt(fmt!("{}", ascii))?;
84 /// Formats printable ASCII characters with a double quote on either end,
90 /// let ascii = b_str!("Hello, \"BStr\"!");
91 /// let s = CString::try_from_fmt(fmt!("{:?}", ascii))?;
159 /// `b_str!` converts the supplied string literal to byte string, so non-ASCII
362 /// Converts this [`CStr`] to its ASCII lower case equivalent in-place.
364 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
365 /// but non-ASCII letters are unchanged.
377 /// Converts this [`CStr`] to its ASCII upper case equivalent in-place.
379 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
380 /// but non-ASCII letters are unchanged.
393 /// ASCII lower case equivalent.
395 /// ASCII letters 'A' to 'Z' are mapped to 'a' to 'z',
396 /// but non-ASCII letters are unchanged.
410 /// ASCII upper case equivalent.
412 /// ASCII letters 'a' to 'z' are mapped to 'A' to 'Z',
413 /// but non-ASCII letters are unchanged.
428 /// Formats printable ASCII characters, escaping the rest.
439 /// let ascii = c_str!("so \"cool\"");
440 /// let s = CString::try_from_fmt(fmt!("{}", ascii))?;
458 /// Formats printable ASCII characters with a double quote on either end, escaping the rest.
470 /// let ascii = c_str!("so \"cool\"");
471 /// let s = CString::try_from_fmt(fmt!("{:?}", ascii))?;