1
0
Fork 0
forked from wry/wry

head-management: add format-setter-v1 extension

This commit is contained in:
Julian Orth 2025-07-14 15:46:57 +02:00
parent e0120ed3bb
commit 15e68fc551
10 changed files with 131 additions and 0 deletions

View file

@ -4,6 +4,7 @@ pub fn rc_eq<T: ?Sized>(a: &Rc<T>, b: &Rc<T>) -> bool {
Rc::as_ptr(a) as *const u8 == Rc::as_ptr(b) as *const u8
}
#[derive(Default)]
pub struct RcEq<T>(pub Rc<T>);
impl<T> Clone for RcEq<T> {