pub struct ParamGroupWithStructFieldType {
pub params: Vec<String>,
pub struct_field_type: StructFieldType,
}Fields§
§params: Vec<String>§struct_field_type: StructFieldTypeImplementations§
Source§impl ParamGroupWithStructFieldType
impl ParamGroupWithStructFieldType
pub fn new(params: Vec<String>, struct_field_type: StructFieldType) -> Self
pub fn number_of_params(defs: &Vec<ParamGroupWithStructFieldType>) -> usize
pub fn to_param_group_with_param_type(&self) -> ParamGroupWithParamType
pub fn to_param_groups_with_param_type( defs: &[ParamGroupWithStructFieldType], ) -> Vec<ParamGroupWithParamType>
pub fn param_names(&self) -> &Vec<String>
pub fn collect_param_names( param_defs: &Vec<ParamGroupWithStructFieldType>, ) -> Vec<String>
pub fn param_defs_and_args_to_param_to_arg_map( param_defs: &Vec<ParamGroupWithStructFieldType>, args: &Vec<Obj>, ) -> HashMap<String, Obj>
Trait Implementations§
Source§impl Clone for ParamGroupWithStructFieldType
impl Clone for ParamGroupWithStructFieldType
Source§fn clone(&self) -> ParamGroupWithStructFieldType
fn clone(&self) -> ParamGroupWithStructFieldType
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 ParamGroupWithStructFieldType
impl RefUnwindSafe for ParamGroupWithStructFieldType
impl !Send for ParamGroupWithStructFieldType
impl !Sync for ParamGroupWithStructFieldType
impl Unpin for ParamGroupWithStructFieldType
impl UnsafeUnpin for ParamGroupWithStructFieldType
impl UnwindSafe for ParamGroupWithStructFieldType
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