pub struct JsRule {
pub runner: JsRunner,
pub include: Vec<String>,
pub exclude: Vec<String>,
pub source: String,
}Expand description
A JS runner’s include rule, when it is known statically.
Fields§
§runner: JsRunnerWhich runner.
include: Vec<String>Include patterns.
exclude: Vec<String>Exclude patterns (node_modules always).
source: StringWhere they came from.
Implementations§
Trait Implementations§
impl Eq for JsRule
impl StructuralPartialEq for JsRule
Auto Trait Implementations§
impl Freeze for JsRule
impl RefUnwindSafe for JsRule
impl Send for JsRule
impl Sync for JsRule
impl Unpin for JsRule
impl UnsafeUnpin for JsRule
impl UnwindSafe for JsRule
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