pub struct SingleQuotes(pub Span);
Expand description
The delimiters '
'
.
See also LitStrSingleQuote
and LitChar
.
Tuple Fields§
§0: Span
Trait Implementations§
Source§impl Clone for SingleQuotes
impl Clone for SingleQuotes
Source§fn clone(&self) -> SingleQuotes
fn clone(&self) -> SingleQuotes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SingleQuotes
impl Debug for SingleQuotes
Source§impl Delimiters for SingleQuotes
impl Delimiters for SingleQuotes
Source§const CAN_NEST: bool = false
const CAN_NEST: bool = false
Whether groups delimited by this pair can nest. Typically, this will be
false if the opening and closing delimiters are the same, and true
otherwise.
Source§type Start = SingleQuote
type Start = SingleQuote
The opening delimiter, e.g.
(
.Source§type End = SingleQuote
type End = SingleQuote
The closing delimiter, e.g.
)
.Source§impl From<Span> for SingleQuotes
impl From<Span> for SingleQuotes
Source§impl Hash for SingleQuotes
impl Hash for SingleQuotes
Source§impl Ord for SingleQuotes
impl Ord for SingleQuotes
Source§impl PartialEq for SingleQuotes
impl PartialEq for SingleQuotes
Source§impl PartialOrd for SingleQuotes
impl PartialOrd for SingleQuotes
impl Eq for SingleQuotes
Auto Trait Implementations§
impl Freeze for SingleQuotes
impl RefUnwindSafe for SingleQuotes
impl Send for SingleQuotes
impl Sync for SingleQuotes
impl Unpin for SingleQuotes
impl UnwindSafe for SingleQuotes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more