pub struct StrLit {
pub parts: Vec<StrPart>,
pub span: Span,
}Expand description
String literal, possibly interpolated: "GPU {i}".
Fields§
§parts: Vec<StrPart>§span: SpanImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StrLit
impl RefUnwindSafe for StrLit
impl Send for StrLit
impl Sync for StrLit
impl Unpin for StrLit
impl UnsafeUnpin for StrLit
impl UnwindSafe for StrLit
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