pub enum ScalarNullability {
AlwaysNull,
AlwaysNonNull,
MaybeNull,
}Expand description
The possible null states of a scalar expression.
Variants§
Implementations§
Source§impl ScalarNullability
impl ScalarNullability
pub const fn can_be_null(self) -> bool
pub const fn can_be_non_null(self) -> bool
Trait Implementations§
Source§impl Clone for ScalarNullability
impl Clone for ScalarNullability
impl Copy for ScalarNullability
Source§impl Debug for ScalarNullability
impl Debug for ScalarNullability
impl Eq for ScalarNullability
Source§impl PartialEq for ScalarNullability
impl PartialEq for ScalarNullability
impl StructuralPartialEq for ScalarNullability
Auto Trait Implementations§
impl Freeze for ScalarNullability
impl RefUnwindSafe for ScalarNullability
impl Send for ScalarNullability
impl Sync for ScalarNullability
impl Unpin for ScalarNullability
impl UnsafeUnpin for ScalarNullability
impl UnwindSafe for ScalarNullability
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