. "Every person holding any office of trust or profit, under and by virtue of any of the laws of the state, either state, county, or municipal, except such officers as are by the constitution removable only and exclusively by methods other than those provided in this chapter, who shall knowingly or willfully commit misconduct in office, or who shall knowingly or willfully neglect to perform any duty" . . .