Skip to main content

capability

Function capability 

Source
pub fn capability(cap: Cap) -> Support
Expand description

Query the active toolkit’s support for a capability (docs). Lets app/piece code adapt its content to the backend, e.g. a page can skip a title the native nav already shows in a header (Cap::NavHeader), or pick a presentation from Cap::NavSplit.