pub struct ParseSpec {
pub source: String,
pub pattern: String,
pub names: Vec<String>,
}Expand description
A parse directive: glob pattern applied to source, binding each *
wildcard (in order) to the corresponding name in names.
Fields§
§source: String§pattern: String§names: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseSpec
impl RefUnwindSafe for ParseSpec
impl Send for ParseSpec
impl Sync for ParseSpec
impl Unpin for ParseSpec
impl UnsafeUnpin for ParseSpec
impl UnwindSafe for ParseSpec
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