pub struct AnnotBool(pub bool);Expand description
A bool that compares as always-equal. Used for last_use annotations
on Expr::Resolved — metadata that should not affect AST equality
(same pattern as Spanned ignoring line in its PartialEq).
Tuple Fields§
§0: boolTrait Implementations§
impl Copy for AnnotBool
Auto Trait Implementations§
impl Freeze for AnnotBool
impl RefUnwindSafe for AnnotBool
impl Send for AnnotBool
impl Sync for AnnotBool
impl Unpin for AnnotBool
impl UnsafeUnpin for AnnotBool
impl UnwindSafe for AnnotBool
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