pub enum Nullish {
Null,
Undefined,
}Expand description
https://developer.mozilla.org/en-US/docs/Glossary/Nullish “In JavaScript, a nullish value is the value which is either null or undefined. Nullish values are always falsy.”
Variants§
Trait Implementations§
impl Copy for Nullish
impl StructuralPartialEq for Nullish
Auto Trait Implementations§
impl Freeze for Nullish
impl RefUnwindSafe for Nullish
impl Send for Nullish
impl Sync for Nullish
impl Unpin for Nullish
impl UnsafeUnpin for Nullish
impl UnwindSafe for Nullish
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