Home
last modified time | relevance | path

Searched defs:cast (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/intertrait/src/cast/
H A Dcast_arc.rs34 fn cast<T: ?Sized + 'static>(self: Arc<Self>) -> Result<Arc<T>, Arc<Self>>; in cast() method
39 fn cast<T: ?Sized + 'static>(self: Arc<Self>) -> Result<Arc<T>, Arc<Self>> { in cast() method
H A Dcast_box.rs33 fn cast<T: ?Sized + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>>; in cast() method
38 fn cast<T: ?Sized + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>> { in cast() method
H A Dcast_mut.rs31 fn cast<T: ?Sized + 'static>(&mut self) -> Option<&mut T>; in cast() method
36 fn cast<T: ?Sized + 'static>(&mut self) -> Option<&mut T> { in cast() method
H A Dcast_rc.rs33 fn cast<T: ?Sized + 'static>(self: Rc<Self>) -> Result<Rc<T>, Rc<Self>>; in cast() method
38 fn cast<T: ?Sized + 'static>(self: Rc<Self>) -> Result<Rc<T>, Rc<Self>> { in cast() method
H A Dcast_ref.rs57 fn cast<T: ?Sized + 'static>(&self) -> Option<&T>; in cast() method
65 fn cast<T: ?Sized + 'static>(&self) -> Option<&T> { in cast() method
/DragonOS/kernel/crates/intertrait/src/
H A Dlib.rs81 pub mod cast; module