pub trait AST<'input> {
// Required methods
fn span(&self) -> Range<usize> ⓘ;
fn take_value(
&self,
section_name_stack: &mut Vec<(Cow<'input, str>, Range<usize>, Range<usize>, bool), &Bump>,
validator: &mut ValueTypeChecker<'_, '_, '_, 'input, 'input>,
);
fn take_token(
&self,
tokens: &mut BTreeMap<usize, (ASTTokenKind, Range<usize>)>,
);
fn take_formatter_token_space(&self, tokens: &mut Vec<FormatterTokenInfo>);
}Required Methods§
fn take_value( &self, section_name_stack: &mut Vec<(Cow<'input, str>, Range<usize>, Range<usize>, bool), &Bump>, validator: &mut ValueTypeChecker<'_, '_, '_, 'input, 'input>, )
fn take_token(&self, tokens: &mut BTreeMap<usize, (ASTTokenKind, Range<usize>)>)
fn take_formatter_token_space(&self, tokens: &mut Vec<FormatterTokenInfo>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".