pub struct DictObject { /* private fields */ }Implementations§
Source§impl DictObject
impl DictObject
Trait Implementations§
Source§impl Object for DictObject
impl Object for DictObject
fn type_name(&self) -> &'static str
fn get_member(&self, name: &str) -> Result<Value>
fn get_key_value(&self, key: &str) -> Result<Value>
fn as_string(&self) -> Option<String>
fn as_bool(&self) -> Option<bool>
fn equals(&self, other: &Value) -> bool
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn get_index(&self, index: i64) -> Result<Value>
fn as_float(&self) -> Option<f64>
fn as_int(&self) -> Option<i64>
fn call(&self, _args: &[Value]) -> Result<Value>
fn display(&self) -> String
fn debug(&self) -> String
Auto Trait Implementations§
impl Freeze for DictObject
impl !RefUnwindSafe for DictObject
impl !Send for DictObject
impl !Sync for DictObject
impl Unpin for DictObject
impl !UnwindSafe for DictObject
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