mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -35,14 +35,17 @@ impl WebGLActiveInfo {
|
|||
}
|
||||
|
||||
impl<'a> WebGLActiveInfoMethods for &'a WebGLActiveInfo {
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.11.1
|
||||
fn Size(self) -> i32 {
|
||||
self.size
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.11.1
|
||||
fn Type(self) -> u32 {
|
||||
self.ty
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.11.1
|
||||
fn Name(self) -> DOMString {
|
||||
self.name.clone()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue