With these options, you can show both at the same time or any one of them or hide both. To enable the Search Icon and Cart Icon you have to set menus as primary menus, and also install and activate the WooCommerce plugin to show the cart icon.
Location: Appearance >> Customize >> General Settings >> After Menu

For additional features: Search Effects (Pro)