Skip to main content

classify_content_role

Function classify_content_role 

Source
pub fn classify_content_role(
    element_type: &str,
    actions: &[String],
    state: &ElementState,
) -> ContentRole
Expand description

Classify an element’s content role based on its type and properties.