Struct garden::model::EvalContext
source · [−]pub struct EvalContext {
pub config: ConfigId,
pub tree: Option<TreeIndex>,
pub garden: Option<GardenIndex>,
pub group: Option<GroupIndex>,
}
Fields
config: ConfigId
tree: Option<TreeIndex>
garden: Option<GardenIndex>
group: Option<GroupIndex>
Implementations
sourceimpl EvalContext
impl EvalContext
sourcepub fn new(
config: ConfigId,
tree: Option<TreeIndex>,
garden: Option<GardenIndex>,
group: Option<GroupIndex>
) -> Self
pub fn new(
config: ConfigId,
tree: Option<TreeIndex>,
garden: Option<GardenIndex>,
group: Option<GroupIndex>
) -> Self
Construct a new EvalContext.
Trait Implementations
sourceimpl Clone for EvalContext
impl Clone for EvalContext
sourcefn clone(&self) -> EvalContext
fn clone(&self) -> EvalContext
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EvalContext
impl Debug for EvalContext
Auto Trait Implementations
impl RefUnwindSafe for EvalContext
impl Send for EvalContext
impl Sync for EvalContext
impl Unpin for EvalContext
impl UnwindSafe for EvalContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more