Struct rquickjs_core::Null
source · [−]pub struct Null;
Expand description
The placeholder which treated as null
value
Implementations
sourceimpl Null
impl Null
sourcepub fn into_value<'js>(self, ctx: Ctx<'js>) -> Value<'js>
pub fn into_value<'js>(self, ctx: Ctx<'js>) -> Value<'js>
Convert into value
sourcepub fn from_value<'js>(value: Value<'js>) -> Result<Self>
pub fn from_value<'js>(value: Value<'js>) -> Result<Self>
Convert from value
Trait Implementations
sourceimpl PartialEq<Null> for Null
impl PartialEq<Null> for Null
impl Copy for Null
impl Eq for Null
impl StructuralEq for Null
impl StructuralPartialEq for Null
Auto Trait Implementations
impl RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.