pub fn scalar_fields_mut(&mut self) -> impl Iterator<Item = &mut ScalarField> {
        self.fields_mut().filter_map(|fw| match fw {
            Field::RelationField(_) => None,
            Field::ScalarField(sf) => Some(sf),
        })
    }
/// Gets a mutable iterator over all scalar fields.
Gets a mutable iterator over all scalar fields.
Gets a mutable iterator over all scalar fields .
pub fn scalar_fields_mut(&mut self) -> impl Iterator<Item = &mut ScalarField> {
        self.fields_mut().filter_map(|fw| match fw {
            Field::RelationField(_) => None,
            Field::ScalarField(sf) => Some(sf),
        })
    }
pub fn scalar_fields_mut ( & mut self ) -> impl Iterator < Item = & mut ScalarField > { self . fields_mut ( ) . filter_map ( | fw | match fw { Field :: RelationField ( _ ) => None , Field :: ScalarField ( sf ) => Some ( sf ) , } ) }
Gets a mutable iterator over all scalar fields.
Gets a mutable iterator over all scalar fields .
&mut self
&mut self