pub struct Convert<'a> {
pub keywords: &'a Keywords,
pub interner: &'a Interner,
pub target: &'a TargetInfo,
pub std: Std,
pub pedantic: bool,
}Expand description
Everything phase 7 needs that is not the tokens.
Fields§
§keywords: &'a KeywordsThe keyword table, built for this dialect before any source was read.
interner: &'a InternerWhere the spellings are, since a pp-token carries a symbol rather than text.
target: &'a TargetInfoThe target, which decides what a constant’s type is and what a wide element is.
std: StdThe dialect, which decides what is a keyword and what earns a remark.
pedantic: boolWhether -pedantic is on, which is the difference between a remark that is a warning
and one that is nothing at all.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Convert<'a>
impl<'a> RefUnwindSafe for Convert<'a>
impl<'a> Send for Convert<'a>
impl<'a> Sync for Convert<'a>
impl<'a> Unpin for Convert<'a>
impl<'a> UnsafeUnpin for Convert<'a>
impl<'a> UnwindSafe for Convert<'a>
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