pub enum StrStyle {
Cooked,
Raw(usize),
}
Expand description
The style of a string literal, either plain quoted or a raw string like
r##"data"##
.
This type is available if Syn is built with the "derive"
or "full"
feature.
Variants§
Cooked
An ordinary string like "data"
.
Raw(usize)
A raw string like r##"data"##
.
The unsigned integer is the number of #
symbols used.
Trait Implementations§
impl Eq for StrStyle
impl StructuralPartialEq for StrStyle
Auto Trait Implementations§
impl Freeze for StrStyle
impl RefUnwindSafe for StrStyle
impl Send for StrStyle
impl Sync for StrStyle
impl Unpin for StrStyle
impl UnwindSafe for StrStyle
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