Lines Matching defs:character
553 /// A single punctuation character (`+`, `,`, `$`, etc.).
555 /// A literal character (`'a'`), string (`"hello"`), number (`2.3`), etc.
772 /// A `Punct` is a single punctuation character like `+`, `-` or `#`.
797 /// Creates a new `Punct` from the given character and spacing.
799 /// The `ch` argument must be a valid punctuation character permitted by the
812 /// Returns the value of this punctuation character as `char`.
817 /// Returns the spacing of this punctuation character, indicating whether
826 /// Returns the span for this punctuation character.
831 /// Configure the span for this punctuation character.
837 /// Prints the punctuation character as a string that should be losslessly
838 /// convertible back into the same character.
1040 /// A literal string (`"hello"`), byte string (`b"hello"`), character (`'a'`),
1041 /// byte character (`b'a'`), an integer or floating point number with or without
1215 pub fn character(ch: char) -> Literal {
1216 Literal::_new(imp::Literal::character(ch))