Searched refs:downcast (Results 1 – 2 of 2) sorted by relevance
172 let dev_ref: Option<&DeviceState> = obj_ref.downcast(); in test_cast()
419 fn downcast<'a, U: IsA<Self::Target>>(self) -> Option<&'a U> in downcast() method