feat(napi): add some useful derived traits for the Null type (#1241)
This commit is contained in:
parent
a5c9f12454
commit
1040c41760
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ use std::ptr;
|
||||||
|
|
||||||
use crate::{bindgen_prelude::*, check_status, sys, type_of, Error, Result, Status, ValueType};
|
use crate::{bindgen_prelude::*, check_status, sys, type_of, Error, Result, Status, ValueType};
|
||||||
|
|
||||||
|
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq, Ord, PartialOrd)]
|
||||||
pub struct Null;
|
pub struct Null;
|
||||||
pub type Undefined = ();
|
pub type Undefined = ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue