pub enum SubPattern {
Star,
Alt(Vec<String>),
}Variants§
Trait Implementations§
Source§impl Clone for SubPattern
impl Clone for SubPattern
Source§fn clone(&self) -> SubPattern
fn clone(&self) -> SubPattern
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 moreAuto Trait Implementations§
impl Freeze for SubPattern
impl RefUnwindSafe for SubPattern
impl Send for SubPattern
impl Sync for SubPattern
impl Unpin for SubPattern
impl UnsafeUnpin for SubPattern
impl UnwindSafe for SubPattern
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