pub struct AtnConfig {
pub state: usize,
pub alt: usize,
pub context: Rc<PredictionContext>,
pub semantic_context: SemanticContext,
pub reaches_into_outer_context: usize,
pub precedence_filter_suppressed: bool,
}Fields§
§state: usize§alt: usize§context: Rc<PredictionContext>§semantic_context: SemanticContext§reaches_into_outer_context: usize§precedence_filter_suppressed: boolImplementations§
Source§impl AtnConfig
impl AtnConfig
pub const fn new( state: usize, alt: usize, context: Rc<PredictionContext>, ) -> Self
pub fn with_semantic_context(self, semantic_context: SemanticContext) -> Self
pub const fn with_reaches_into_outer_context(self, reaches: usize) -> Self
Trait Implementations§
impl Eq for AtnConfig
Source§impl Ord for AtnConfig
impl Ord for AtnConfig
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AtnConfig
impl PartialOrd for AtnConfig
impl StructuralPartialEq for AtnConfig
Auto Trait Implementations§
impl !Send for AtnConfig
impl !Sync for AtnConfig
impl Freeze for AtnConfig
impl RefUnwindSafe for AtnConfig
impl Unpin for AtnConfig
impl UnsafeUnpin for AtnConfig
impl UnwindSafe for AtnConfig
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