pub struct FieldNotFoundError { /* private fields */ }Implementations§
Source§impl FieldNotFoundError
impl FieldNotFoundError
pub fn from_field_name<T: ToString>(name: T) -> FieldNotFoundError
Trait Implementations§
Source§impl Object for FieldNotFoundError
impl Object for FieldNotFoundError
fn get_children(&self) -> Vec<usize>
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn to_string(&self) -> String
fn finalize(&self, _pool: &mut ObjectPool)
fn initialize(&mut self, _pool: &mut ObjectPool)
fn call(&self, _executor: &mut ExecutorImpl) -> Value
fn call_field(&self, field_name: &str, executor: &mut ExecutorImpl) -> Value
fn get_field(&self, _pool: &ObjectPool, _name: &str) -> Option<Value>
fn set_field(&self, _name: &str, _value_ref: Value)
fn must_get_field(&self, pool: &ObjectPool, name: &str) -> Value
fn has_const_field(&self, _pool: &ObjectPool, _name: &str) -> bool
fn compare(&self, _other: &ValueContext<'_, '_>) -> Option<Ordering>
fn test_eq(&self, _other: &ValueContext<'_, '_>) -> bool
fn typename(&self) -> &str
fn to_i64(&self) -> i64
fn to_f64(&self) -> f64
fn to_str(&self) -> &str
fn to_bool(&self) -> bool
Auto Trait Implementations§
impl Freeze for FieldNotFoundError
impl RefUnwindSafe for FieldNotFoundError
impl Send for FieldNotFoundError
impl Sync for FieldNotFoundError
impl Unpin for FieldNotFoundError
impl UnwindSafe for FieldNotFoundError
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