pub enum ExpandPart {
Literal(String),
Placeholder(String),
}Expand description
A part of an expand template.
Variants§
Trait Implementations§
Source§impl Clone for ExpandPart
impl Clone for ExpandPart
Source§fn clone(&self) -> ExpandPart
fn clone(&self) -> ExpandPart
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExpandPart
impl RefUnwindSafe for ExpandPart
impl Send for ExpandPart
impl Sync for ExpandPart
impl Unpin for ExpandPart
impl UnsafeUnpin for ExpandPart
impl UnwindSafe for ExpandPart
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