pub struct ParamGroupWithSet {
pub params: Vec<String>,
pub set: Obj,
}Fields§
§params: Vec<String>§set: ObjImplementations§
Source§impl ParamGroupWithSet
impl ParamGroupWithSet
pub fn new(params: Vec<String>, set: Obj) -> Self
pub fn facts(&self) -> Vec<Fact>
pub fn facts_for_args_satisfy_param_def_with_set_vec( runtime: &Runtime, param_defs: &Vec<ParamGroupWithSet>, args: &Vec<Obj>, ) -> Result<Vec<AtomicFact>, RuntimeError>
pub fn param_names(&self) -> &Vec<String>
pub fn collect_param_names(param_defs: &Vec<ParamGroupWithSet>) -> Vec<String>
pub fn number_of_params(param_defs: &Vec<ParamGroupWithSet>) -> usize
pub fn param_defs_and_args_to_param_to_arg_map( param_defs: &Vec<ParamGroupWithSet>, args: &Vec<Obj>, ) -> HashMap<String, Obj>
Trait Implementations§
Source§impl Clone for ParamGroupWithSet
impl Clone for ParamGroupWithSet
Source§fn clone(&self) -> ParamGroupWithSet
fn clone(&self) -> ParamGroupWithSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ParamGroupWithSet
impl RefUnwindSafe for ParamGroupWithSet
impl !Send for ParamGroupWithSet
impl !Sync for ParamGroupWithSet
impl Unpin for ParamGroupWithSet
impl UnsafeUnpin for ParamGroupWithSet
impl UnwindSafe for ParamGroupWithSet
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