daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Jun 20th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. impl<T> Handle<T>
  2. where
  3.     T: HandleRef + ?Sized
  4. {
  5.     pub fn upcast(self) -> Handle<HandleRef> {
  6.         Handle {
  7.             refptr: self.refptr,
  8.             rights: self.rights,
  9.         }
  10.     }
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top