pub fn has_icon_with_type(&self, icon_type: IconType) -> bool {
        if self.find_element(icon_type).is_err() {
            return false;
        } else if let Some(mask_type) = icon_type.mask_type() {
            return self.find_element(mask_type).is_ok();
        }
        true
    }
/// Determines whether the icon family contains a complete icon with the
/// given type (including the mask, if the given icon type has an
/// associated mask type).
Determines whether the icon family contains a complete icon with the
given type (including the mask, if the given icon type has an
associated mask type).
Determines whether the icon family contains a complete icon with the given type ( including the mask if the given icon type has an associated mask type ) .
pub fn has_icon_with_type(&self, icon_type: IconType) -> bool {
        if self.find_element(icon_type).is_err() {
            return false;
        } else if let Some(mask_type) = icon_type.mask_type() {
            return self.find_element(mask_type).is_ok();
        }
        true
    }
pub fn has_icon_with_type ( & self , icon_type : IconType ) -> bool { if self . find_element ( icon_type ) . is_err ( ) { return false ; } else if let Some ( mask_type ) = icon_type . mask_type ( ) { return self . find_element ( mask_type ) . is_ok ( ) ; } true }
Determines whether the icon family contains a complete icon with the
given type (including the mask, if the given icon type has an
associated mask type).
Determines whether the icon family contains a complete icon with the given type ( including the mask if the given icon type has an associated mask type ) .
&self
icon_type
IconType
&self
icon_type
IconType