mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
revert: Introduce Untransplantable
trait to indicate transplantability at the type level
(8f7b0cff87f0eab921e13e6990d76e12935e8675)
This commit is contained in:
parent
4c7f198ee2
commit
1f74d4c75b
8 changed files with 47 additions and 382 deletions
|
@ -3,7 +3,7 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use super::WebGLExtensions;
|
||||
use crate::dom::bindings::reflector::{DomObject, Untransplantable};
|
||||
use crate::dom::bindings::reflector::DomObject;
|
||||
use crate::dom::bindings::root::DomRoot;
|
||||
use crate::dom::bindings::trace::JSTraceable;
|
||||
use crate::dom::webglrenderingcontext::WebGLRenderingContext;
|
||||
|
@ -12,7 +12,7 @@ use canvas_traits::webgl::WebGLVersion;
|
|||
/// Trait implemented by WebGL extensions.
|
||||
pub trait WebGLExtension: Sized
|
||||
where
|
||||
Self::Extension: DomObject + JSTraceable + Untransplantable,
|
||||
Self::Extension: DomObject + JSTraceable,
|
||||
{
|
||||
type Extension;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue