pub enum ScalarPart {
Text(Span),
Hole(Span),
}Expand description
One literal or templated piece of a scalar run.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScalarPart
impl RefUnwindSafe for ScalarPart
impl Send for ScalarPart
impl Sync for ScalarPart
impl Unpin for ScalarPart
impl UnsafeUnpin for ScalarPart
impl UnwindSafe for ScalarPart
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