#[repr(C)]pub struct pm_error_recovery_node {
pub base: pm_node_t,
pub unexpected: *mut pm_node,
}Expand description
ErrorRecoveryNode
Represents a node that is either missing or unexpected and results in a syntax error.
Type: ::PM_ERROR_RECOVERY_NODE
@extends pm_node_t
Fields§
§base: pm_node_tThe embedded base node.
unexpected: *mut pm_nodeErrorRecoveryNode#unexpected
The unexpected node that was found in the tree, if there was one.
Trait Implementations§
Source§impl Clone for pm_error_recovery_node
impl Clone for pm_error_recovery_node
Source§fn clone(&self) -> pm_error_recovery_node
fn clone(&self) -> pm_error_recovery_node
Returns a duplicate 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 moreSource§impl Debug for pm_error_recovery_node
impl Debug for pm_error_recovery_node
Source§impl Default for pm_error_recovery_node
impl Default for pm_error_recovery_node
impl Copy for pm_error_recovery_node
Auto Trait Implementations§
impl Freeze for pm_error_recovery_node
impl RefUnwindSafe for pm_error_recovery_node
impl !Send for pm_error_recovery_node
impl !Sync for pm_error_recovery_node
impl Unpin for pm_error_recovery_node
impl UnwindSafe for pm_error_recovery_node
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