pub struct DeclarationContext<'ctx, 'qualifiers, 'a> {
qualifiers: TypeQualifiers<'qualifiers>,
external: bool,
is_inside_loop: bool,
ctx: &'ctx mut Context<'a>,
}
Fields§
§qualifiers: TypeQualifiers<'qualifiers>
§external: bool
Indicates a global declaration
is_inside_loop: bool
§ctx: &'ctx mut Context<'a>
Implementations§
Auto Trait Implementations§
impl<'ctx, 'qualifiers, 'a> Freeze for DeclarationContext<'ctx, 'qualifiers, 'a>
impl<'ctx, 'qualifiers, 'a> RefUnwindSafe for DeclarationContext<'ctx, 'qualifiers, 'a>
impl<'ctx, 'qualifiers, 'a> Send for DeclarationContext<'ctx, 'qualifiers, 'a>
impl<'ctx, 'qualifiers, 'a> Sync for DeclarationContext<'ctx, 'qualifiers, 'a>
impl<'ctx, 'qualifiers, 'a> Unpin for DeclarationContext<'ctx, 'qualifiers, 'a>
impl<'ctx, 'qualifiers, 'a> !UnwindSafe for DeclarationContext<'ctx, 'qualifiers, '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