Skip to main content

supported

Function supported 

Source
pub fn supported<A: 'static>(abstract_id: &str, v: &ValueHandle) -> Option<A>
Expand description

The instance v as the abstract interface abstract_id (its enum A), if its type or a base type of it was registered as supporting it with register_supported.