mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
cargo fix --edition
This commit is contained in:
parent
86f148fb97
commit
45f7199eee
503 changed files with 5038 additions and 5037 deletions
|
@ -2,10 +2,10 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use dom::bindings::reflector::DomObject;
|
||||
use dom::bindings::root::MutNullableDom;
|
||||
use dom::bindings::trace::JSTraceable;
|
||||
use dom::webglrenderingcontext::WebGLRenderingContext;
|
||||
use crate::dom::bindings::reflector::DomObject;
|
||||
use crate::dom::bindings::root::MutNullableDom;
|
||||
use crate::dom::bindings::trace::JSTraceable;
|
||||
use crate::dom::webglrenderingcontext::WebGLRenderingContext;
|
||||
use js::jsapi::JSObject;
|
||||
use malloc_size_of::MallocSizeOf;
|
||||
use std::any::Any;
|
||||
|
@ -21,7 +21,7 @@ pub trait WebGLExtensionWrapper: JSTraceable + MallocSizeOf {
|
|||
ext: &WebGLExtensions,
|
||||
) -> NonNull<JSObject>;
|
||||
fn spec(&self) -> WebGLExtensionSpec;
|
||||
fn is_supported(&self, &WebGLExtensions) -> bool;
|
||||
fn is_supported(&self, _: &WebGLExtensions) -> bool;
|
||||
fn is_enabled(&self) -> bool;
|
||||
fn enable(&self, ext: &WebGLExtensions);
|
||||
fn name(&self) -> &'static str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue