pub struct Pattern {
pub name: String,
pub pattern_type: PatternType,
pub data: PatternData,
pub category: PatternCategory,
pub description: String,
}Expand description
A pattern to search for
Fields§
§name: StringPattern name/identifier
pattern_type: PatternTypePattern type
data: PatternDataPattern data
category: PatternCategoryPattern category
description: StringDescription
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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