Function dbus::arg::cast

source · []
pub fn cast<'a, T: 'static>(a: &'a (dyn RefArg + 'static)) -> Option<&'a T>
Expand description

Cast a RefArg as a specific type (shortcut for any + downcast)

See the argument guide’s reference section for which types you can cast to.