pub struct GenericRule {
pub name: Symbol,
pub rules: HashMap<u64, Arc<Rule>>,
/* private fields */
}
Fields§
§name: Symbol
§rules: HashMap<u64, Arc<Rule>>
Implementations§
Trait Implementations§
Source§impl Clone for GenericRule
impl Clone for GenericRule
Source§fn clone(&self) -> GenericRule
fn clone(&self) -> GenericRule
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 moreAuto Trait Implementations§
impl Freeze for GenericRule
impl RefUnwindSafe for GenericRule
impl Send for GenericRule
impl Sync for GenericRule
impl Unpin for GenericRule
impl UnwindSafe for GenericRule
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