pub enum Patterns {
Single(String),
List(Vec<String>),
}
Expand description
One or many patterns.
Variants§
Implementations§
Trait Implementations§
impl Eq for Patterns
impl StructuralPartialEq for Patterns
Auto Trait Implementations§
impl Freeze for Patterns
impl RefUnwindSafe for Patterns
impl Send for Patterns
impl Sync for Patterns
impl Unpin for Patterns
impl UnwindSafe for Patterns
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)