Guest User

Untitled

a guest
Jun 20th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  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. }
Add Comment
Please, Sign In to add comment