head-management: add format-setter-v1 extension
This commit is contained in:
parent
e0120ed3bb
commit
15e68fc551
10 changed files with 131 additions and 0 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue