Struct rjs::rt::JsNull [] [src]

pub struct JsNull;

Trait Implementations

impl JsItem for JsNull

fn as_value(&self, env: &JsEnv) -> Local<JsValue>

fn get_property(&self, _: &JsEnv, _: Name) -> Option<JsDescriptor>

fn get(&self, env: &mut JsEnv, _: Name) -> JsResult<Local<JsValue>>

fn can_put(&self, _: &JsEnv, _: Name) -> bool

fn put(&mut self, env: &mut JsEnv, _: Name, _: Local<JsValue>, _: bool) -> JsResult<()>

fn has_property(&self, _: &JsEnv, _: Name) -> bool

fn delete(&mut self, env: &mut JsEnv, _: Name, _: bool) -> JsResult<bool>

fn define_own_property(&mut self, env: &mut JsEnv, _: Name, _: JsDescriptor, _: bool) -> JsResult<bool>

fn get_own_property(&self, env: &JsEnv, property: Name) -> Option<JsDescriptor>

fn default_value(&self, env: &mut JsEnv, hint: JsPreferredType) -> JsResult<Local<JsValue>>

fn is_callable(&self, env: &JsEnv) -> bool

fn call(&self, env: &mut JsEnv, this: Local<JsValue>, args: Vec<Local<JsValue>>, strict: bool) -> JsResult<Local<JsValue>>

fn can_construct(&self, env: &JsEnv) -> bool

fn construct(&self, env: &mut JsEnv, args: Vec<Local<JsValue>>) -> JsResult<Local<JsValue>>

fn has_prototype(&self, env: &JsEnv) -> bool

fn prototype(&self, env: &JsEnv) -> Option<Local<JsValue>>

fn set_prototype(&mut self, env: &JsEnv, prototype: Option<Local<JsValue>>)

fn has_class(&self, env: &JsEnv) -> bool

fn class(&self, env: &JsEnv) -> Option<Name>

fn set_class(&mut self, env: &JsEnv, class: Option<Name>)

fn is_extensible(&self, env: &JsEnv) -> bool

fn has_instance(&self, env: &mut JsEnv, object: Local<JsValue>) -> JsResult<bool>

fn scope(&self, env: &JsEnv) -> Option<Local<JsScope>>

fn set_scope(&mut self, env: &JsEnv, scope: Option<Local<JsScope>>)