Struct parse_js::parse::pattern::ParsePatternRules   
source · pub struct ParsePatternRules {
    pub await_allowed: bool,
    pub yield_allowed: bool,
}Fields§
§await_allowed: bool§yield_allowed: boolImplementations§
source§impl ParsePatternRules
 
impl ParsePatternRules
pub fn with_await_allowed(&self, await_allowed: bool) -> ParsePatternRules
pub fn with_yield_allowed(&self, yield_allowed: bool) -> ParsePatternRules
Trait Implementations§
source§impl Clone for ParsePatternRules
 
impl Clone for ParsePatternRules
source§fn clone(&self) -> ParsePatternRules
 
fn clone(&self) -> ParsePatternRules
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more