pub struct EvalVariable {
pub name: String,
}Fields§
§name: StringTrait Implementations§
Source§impl Clone for EvalVariable
impl Clone for EvalVariable
Source§fn clone(&self) -> EvalVariable
fn clone(&self) -> EvalVariable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EvalVariable
impl Debug for EvalVariable
Source§impl RustValue for EvalVariable
impl RustValue for EvalVariable
fn as_any(&self) -> &dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
fn dyn_clone(&self) -> Box<dyn RustValue>
fn eval(&self, evaluator: &mut Evaluator) -> Result<EvalResult>
fn str(&self) -> String
fn get_attr(&self, _name: &str) -> Option<Value>
fn set_attr(&mut self, _name: &str, _value: Value) -> Result<(), String>
fn call(&self, _args: Args) -> Result<Value>
fn op_is(&self, _other: &Value) -> Result<Value>
fn op_iter(&self) -> Result<Value>
fn op_next(&mut self) -> Result<Option<Value>>
Auto Trait Implementations§
impl Freeze for EvalVariable
impl RefUnwindSafe for EvalVariable
impl Send for EvalVariable
impl Sync for EvalVariable
impl Unpin for EvalVariable
impl UnsafeUnpin for EvalVariable
impl UnwindSafe for EvalVariable
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