config: add Window
This commit is contained in:
parent
ab095b89cf
commit
9977f9dfdf
19 changed files with 1172 additions and 203 deletions
|
|
@ -1,5 +1,8 @@
|
|||
use {
|
||||
crate::utils::opaque::{OPAQUE_LEN, Opaque, OpaqueError, opaque},
|
||||
crate::utils::{
|
||||
clonecell::UnsafeCellCloneSafe,
|
||||
opaque::{OPAQUE_LEN, Opaque, OpaqueError, opaque},
|
||||
},
|
||||
arrayvec::ArrayString,
|
||||
std::{
|
||||
fmt::{Display, Formatter},
|
||||
|
|
@ -10,6 +13,8 @@ use {
|
|||
#[derive(Debug, Eq, PartialEq, Copy, Clone, Hash)]
|
||||
pub struct ToplevelIdentifier(Opaque);
|
||||
|
||||
unsafe impl UnsafeCellCloneSafe for ToplevelIdentifier {}
|
||||
|
||||
pub fn toplevel_identifier() -> ToplevelIdentifier {
|
||||
ToplevelIdentifier(opaque())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue