Home
last modified time | relevance | path

Searched refs:impls (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/crates/intertrait/src/cast/
H A Dcast_ref.rs60 fn impls<T: ?Sized + 'static>(&self) -> bool; in impls() method
73 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls() method
79 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls() method
/DragonOS/kernel/crates/intertrait/src/
H A Dlib.rs523 assert!(st.impls::<dyn Debug>()); in impls_ref()
530 assert!((*st).impls::<dyn Debug>()); in impls_mut()
537 assert!((*st).impls::<dyn Debug>()); in impls_box()
544 assert!((*st).impls::<dyn Debug>()); in impls_rc()
551 assert!((*st).impls::<dyn Debug>()); in impls_arc()
558 assert!(!st.impls::<dyn Display>()); in impls_not_ref()
565 assert!(!(*st).impls::<dyn Display>()); in impls_not_mut()
572 assert!(!st.impls::<dyn Display>()); in impls_not_box()
579 assert!(!(*st).impls::<dyn Display>()); in impls_not_rc()
586 assert!(!(*st).impls::<dyn Display>()); in impls_not_arc()