Searched refs:sbd_ref (Results 1 – 1 of 1) sorted by relevance
169 let sbd_ref: Option<&SysBusDevice> = obj_ref.dynamic_cast(); in test_cast() localVariable170 assert!(sbd_ref.is_none()); in test_cast()177 let sbd_ref: &SysBusDevice = obj_ref.unsafe_cast(); in test_cast() localVariable178 assert_eq!(addr_of!(*sbd_ref), p_ptr.cast()); in test_cast()