Function na::try_convert_ref
source · pub fn try_convert_ref<From, To>(t: &From) -> Option<To>where
From: SupersetOf<To>,
Expand description
Attempts to convert an object to a more specific one.
pub fn try_convert_ref<From, To>(t: &From) -> Option<To>where
From: SupersetOf<To>,
Attempts to convert an object to a more specific one.