1
0
Fork 0
forked from wry/wry

autocommit 2022-04-07 17:31:31 CEST

This commit is contained in:
Julian Orth 2022-04-07 17:31:31 +02:00
parent 1d33088dba
commit be32036824
200 changed files with 3267 additions and 2479 deletions

View file

@ -1,10 +1,16 @@
use crate::utils::linkedlist::NodeRef;
use crate::utils::ptr_ext::{MutPtrExt, PtrExt};
use jay_config::keyboard::mods::Modifiers;
use std::cell::UnsafeCell;
use std::fmt::{Debug, Formatter};
use std::mem;
use std::rc::{Rc, Weak};
use {
crate::utils::{
linkedlist::NodeRef,
ptr_ext::{MutPtrExt, PtrExt},
},
jay_config::keyboard::mods::Modifiers,
std::{
cell::UnsafeCell,
fmt::{Debug, Formatter},
mem,
rc::{Rc, Weak},
},
};
pub struct CloneCell<T: UnsafeCellCloneSafe> {
data: UnsafeCell<T>,