Struct rustlr::runtime_parser::RProduction
source · pub struct RProduction<AT: Default, ET: Default> {
pub lhs: &'static str,
pub Ruleaction: fn(_: &mut RuntimeParser<AT, ET>) -> AT,
}
Expand description
this structure is only exported because it is required by the generated parsers. There is no reason to use it in other programs.
Fields§
§lhs: &'static str
§Ruleaction: fn(_: &mut RuntimeParser<AT, ET>) -> AT
Implementations§
source§impl<AT: Default, ET: Default> RProduction<AT, ET>
impl<AT: Default, ET: Default> RProduction<AT, ET>
pub fn new_skeleton(lh: &'static str) -> RProduction<AT, ET>
Trait Implementations§
Auto Trait Implementations§
impl<AT, ET> Freeze for RProduction<AT, ET>
impl<AT, ET> RefUnwindSafe for RProduction<AT, ET>
impl<AT, ET> Send for RProduction<AT, ET>
impl<AT, ET> Sync for RProduction<AT, ET>
impl<AT, ET> Unpin for RProduction<AT, ET>
impl<AT, ET> UnwindSafe for RProduction<AT, ET>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)