Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/libs/intertrait/src/cast/
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
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
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
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
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-0.1.9/kernel/src/libs/intertrait/src/
Dlib.rs81 pub mod cast; module