Struct intuicio_core::object::DynamicObject
source · pub struct DynamicObject { /* private fields */ }Implementations§
source§impl DynamicObject
impl DynamicObject
pub fn get(&self, name: &str) -> Option<&Object>
pub fn get_mut(&mut self, name: &str) -> Option<&mut Object>
pub fn set(&mut self, name: impl ToString, value: Object)
pub fn delete(&mut self, name: &str) -> Option<Object>
pub fn properties(&self) -> impl Iterator<Item = (&str, &Object)> + '_
pub fn properties_mut( &mut self ) -> impl Iterator<Item = (&str, &mut Object)> + '_
pub fn property_names(&self) -> impl Iterator<Item = &str> + '_
Trait Implementations§
source§impl Default for DynamicObject
impl Default for DynamicObject
source§fn default() -> DynamicObject
fn default() -> DynamicObject
Returns the “default value” for a type. Read more