pub struct DialectState {
pub spec: AbcSpecVersion,
pub mode: ParseMode,
pub diagnostics: DiagnosticOptions,
pub declared_version: Option<Spanned<AbcVersion>>,
pub charset: Option<Spanned<String>>,
pub line_break: LineBreakMode,
pub decoration_delimiter: DecorationDelimiter,
pub user_symbols: Vec<UserSymbolDefinition>,
}Fields§
§spec: AbcSpecVersion§mode: ParseMode§diagnostics: DiagnosticOptions§declared_version: Option<Spanned<AbcVersion>>§charset: Option<Spanned<String>>§line_break: LineBreakMode§decoration_delimiter: DecorationDelimiter§user_symbols: Vec<UserSymbolDefinition>Implementations§
Source§impl DialectState
impl DialectState
pub fn from_options(options: ParseOptions) -> Self
Trait Implementations§
Source§impl Clone for DialectState
impl Clone for DialectState
Source§impl Debug for DialectState
impl Debug for DialectState
impl Eq for DialectState
Source§impl PartialEq for DialectState
impl PartialEq for DialectState
impl StructuralPartialEq for DialectState
Auto Trait Implementations§
impl Freeze for DialectState
impl RefUnwindSafe for DialectState
impl Send for DialectState
impl Sync for DialectState
impl Unpin for DialectState
impl UnsafeUnpin for DialectState
impl UnwindSafe for DialectState
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