pub enum CopyChildren {
All,
Skip,
Map(Vec<(Token, Token)>),
}Expand description
What copy_spec_with does with one namespace-children field.
Variants§
All
Recurse into every child under its own name.
Skip
Do not recurse into this children field.
Map(Vec<(Token, Token)>)
Recurse into these (source name, destination name) children, in order.
Auto Trait Implementations§
impl Freeze for CopyChildren
impl RefUnwindSafe for CopyChildren
impl Send for CopyChildren
impl Sync for CopyChildren
impl Unpin for CopyChildren
impl UnsafeUnpin for CopyChildren
impl UnwindSafe for CopyChildren
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