Struct rjs::rt::JsBoolean
[−]
[src]
pub struct JsBoolean { // some fields omitted }
pub struct JsBoolean { // some fields omitted }
impl JsBoolean
impl JsItem for JsBoolean
fn as_value(&self, env: &JsEnv) -> Local<JsValue>
fn has_prototype(&self, _: &JsEnv) -> bool
fn prototype(&self, env: &JsEnv) -> Option<Local<JsValue>>
fn get_own_property(&self, env: &JsEnv, property: Name) -> Option<JsDescriptor>
fn get_property(&self, env: &JsEnv, property: Name) -> Option<JsDescriptor>
fn get(&self, env: &mut JsEnv, property: Name) -> JsResult<Local<JsValue>>
fn can_put(&self, env: &JsEnv, property: Name) -> bool
fn put(&mut self, env: &mut JsEnv, property: Name, value: Local<JsValue>, throw: bool) -> JsResult<()>
fn has_property(&self, env: &JsEnv, property: Name) -> bool
fn delete(&mut self, env: &mut JsEnv, property: Name, throw: bool) -> JsResult<bool>
fn default_value(&self, env: &mut JsEnv, hint: JsPreferredType) -> JsResult<Local<JsValue>>
fn define_own_property(&mut self, env: &mut JsEnv, property: Name, descriptor: JsDescriptor, throw: bool) -> JsResult<bool>
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 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>>)
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)