pub enum InterpPart {
Literal(String),
Expression(Expr),
}Variants§
Trait Implementations§
Source§impl Clone for InterpPart
impl Clone for InterpPart
Source§fn clone(&self) -> InterpPart
fn clone(&self) -> InterpPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterpPart
impl Debug for InterpPart
Source§impl PartialEq for InterpPart
impl PartialEq for InterpPart
Source§fn eq(&self, other: &InterpPart) -> bool
fn eq(&self, other: &InterpPart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterpPart
Auto Trait Implementations§
impl Freeze for InterpPart
impl RefUnwindSafe for InterpPart
impl Send for InterpPart
impl Sync for InterpPart
impl Unpin for InterpPart
impl UnsafeUnpin for InterpPart
impl UnwindSafe for InterpPart
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