Skip to content

Serde-compatible window handle types, inter-convertible with raw-window-handle.

License

Notifications You must be signed in to change notification settings

DjDeveloperr/serde-window-handle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serde-window-handle

Serde-compatible window handle types, inter-convertible with raw-window-handle.

Usage

This crate pretty much just replaces the pointer types with usizes and derives Serialize and Deserialize traits. My use case was passing these window handles through deno's serde_v8 layer.

Naming is also same except structs are prefixed with Serde, and the RawWindowHandle struct becomes SerdeWindowHandle.

All the structs and enums implement Into<T> and From<T> for conversion between raw-window-handle types.

License

Check LICENSE for more info.

Copyright 2021 @ DjDeveloperr

About

Serde-compatible window handle types, inter-convertible with raw-window-handle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Languages