pub struct ParamGroupWithParamType {
pub params: Vec<String>,
pub param_type: ParamType,
}Fields§
§params: Vec<String>§param_type: ParamTypeImplementations§
Source§impl ParamGroupWithParamType
impl ParamGroupWithParamType
pub fn new(params: Vec<String>, param_type: ParamType) -> Self
pub fn number_of_params(defs: &Vec<ParamGroupWithParamType>) -> usize
pub fn flat_instantiated_types_for_args( param_defs: &Vec<ParamGroupWithParamType>, instantiated_types: &Vec<ParamType>, ) -> Vec<ParamType>
pub fn param_names(&self) -> &Vec<String>
pub fn collect_param_names( param_defs: &Vec<ParamGroupWithParamType>, ) -> Vec<String>
pub fn param_def_params_to_arg_map( param_defs: &Vec<ParamGroupWithParamType>, arg_map: &HashMap<String, Obj>, ) -> Option<HashMap<String, Obj>>
pub fn param_defs_and_args_to_param_to_arg_map( param_defs: &Vec<ParamGroupWithParamType>, args: &Vec<Obj>, ) -> HashMap<String, Obj>
Trait Implementations§
Source§impl Clone for ParamGroupWithParamType
impl Clone for ParamGroupWithParamType
Source§fn clone(&self) -> ParamGroupWithParamType
fn clone(&self) -> ParamGroupWithParamType
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 ParamGroupWithParamType
impl RefUnwindSafe for ParamGroupWithParamType
impl !Send for ParamGroupWithParamType
impl !Sync for ParamGroupWithParamType
impl Unpin for ParamGroupWithParamType
impl UnsafeUnpin for ParamGroupWithParamType
impl UnwindSafe for ParamGroupWithParamType
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