pub struct TypeAnnotations { /* private fields */ }Expand description
Stores inferred DataType annotations for expression nodes in an AST.
Annotations are keyed by raw pointer identity, so this structure is valid only as long as the underlying AST is not moved, cloned, or dropped. Intended for single-pass analysis over a borrowed AST.
Implementations§
Trait Implementations§
impl Send for TypeAnnotations
impl Sync for TypeAnnotations
Auto Trait Implementations§
impl Freeze for TypeAnnotations
impl RefUnwindSafe for TypeAnnotations
impl Unpin for TypeAnnotations
impl UnsafeUnpin for TypeAnnotations
impl UnwindSafe for TypeAnnotations
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