pub enum NullValue {
MustNull,
NonNull,
MayNull,
Bottom,
}Expand description
Null pointer analysis: may/must nullness at each program point.
Variants§
MustNull
Definitely null
NonNull
Definitely non-null
MayNull
May or may not be null
Bottom
Unreachable (bottom)
Trait Implementations§
impl Eq for NullValue
impl StructuralPartialEq for NullValue
Auto Trait Implementations§
impl Freeze for NullValue
impl RefUnwindSafe for NullValue
impl Send for NullValue
impl Sync for NullValue
impl Unpin for NullValue
impl UnsafeUnpin for NullValue
impl UnwindSafe for NullValue
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