Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
9
third-party/vendor/smithay-client-toolkit/src/lazy_global.rs
vendored
Normal file
9
third-party/vendor/smithay-client-toolkit/src/lazy_global.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use wayland_client::{Attached, Interface};
|
||||
|
||||
/// An utility for lazy-loading globals.
|
||||
#[derive(Debug)]
|
||||
pub enum LazyGlobal<I: Interface> {
|
||||
Unknown,
|
||||
Seen { id: u32, version: u32 },
|
||||
Bound(Attached<I>),
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue