pub struct ScalarParts {
pub span: Span,
pub parts: Vec<ScalarPart>,
}Expand description
A scalar run split into literal text and template-action holes.
Fields§
§span: SpanByte range covered by the complete scalar run.
parts: Vec<ScalarPart>Literal and templated pieces in source order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScalarParts
impl RefUnwindSafe for ScalarParts
impl Send for ScalarParts
impl Sync for ScalarParts
impl Unpin for ScalarParts
impl UnsafeUnpin for ScalarParts
impl UnwindSafe for ScalarParts
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