pub enum StrStyle {
Cooked,
Raw(usize),
}
Expand description
The style of a string literal, either plain quoted or a raw string like
r##"data"##
.
Variants
Cooked
An ordinary string like "data"
.
Raw(usize)
A raw string like r##"data"##
.
The unsigned integer is the number of #
symbols used.
Auto Trait Implementations
impl RefUnwindSafe for StrStyle
impl Send for StrStyle
impl Sync for StrStyle
impl Unpin for StrStyle
impl UnwindSafe for StrStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more