Searched defs:cast (Results 1 – 6 of 6) sorted by relevance
34 fn cast<T: ?Sized + 'static>(self: Arc<Self>) -> Result<Arc<T>, Arc<Self>>; in cast() method39 fn cast<T: ?Sized + 'static>(self: Arc<Self>) -> Result<Arc<T>, Arc<Self>> { in cast() method
33 fn cast<T: ?Sized + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>>; in cast() method38 fn cast<T: ?Sized + 'static>(self: Box<Self>) -> Result<Box<T>, Box<Self>> { in cast() method
31 fn cast<T: ?Sized + 'static>(&mut self) -> Option<&mut T>; in cast() method36 fn cast<T: ?Sized + 'static>(&mut self) -> Option<&mut T> { in cast() method
33 fn cast<T: ?Sized + 'static>(self: Rc<Self>) -> Result<Rc<T>, Rc<Self>>; in cast() method38 fn cast<T: ?Sized + 'static>(self: Rc<Self>) -> Result<Rc<T>, Rc<Self>> { in cast() method
57 fn cast<T: ?Sized + 'static>(&self) -> Option<&T>; in cast() method65 fn cast<T: ?Sized + 'static>(&self) -> Option<&T> { in cast() method
81 pub mod cast; module