mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Format components canvas and canvas_traits #21373
This commit is contained in:
parent
2a4bee540c
commit
f472d05003
4 changed files with 89 additions and 47 deletions
|
@ -9,7 +9,7 @@ use std::io;
|
|||
pub type WebGLSender<T> = ipc_channel::ipc::IpcSender<T>;
|
||||
pub type WebGLReceiver<T> = ipc_channel::ipc::IpcReceiver<T>;
|
||||
|
||||
pub fn webgl_channel<T: Serialize + for<'de> Deserialize<'de>>()
|
||||
-> Result<(WebGLSender<T>, WebGLReceiver<T>), io::Error> {
|
||||
pub fn webgl_channel<T: Serialize + for<'de> Deserialize<'de>>(
|
||||
) -> Result<(WebGLSender<T>, WebGLReceiver<T>), io::Error> {
|
||||
ipc_channel::ipc::channel()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue