mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Modify script
to prevent further violations of snake_case
This commit is contained in:
parent
2a594821ba
commit
f7db4b7f80
135 changed files with 205 additions and 54 deletions
|
@ -23,6 +23,7 @@ pub struct DOMPointReadOnly {
|
|||
w: Cell<f64>,
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl DOMPointReadOnly {
|
||||
pub fn new_inherited(x: f64, y: f64, z: f64, w: f64) -> DOMPointReadOnly {
|
||||
DOMPointReadOnly {
|
||||
|
@ -58,6 +59,7 @@ impl DOMPointReadOnly {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
impl DOMPointReadOnlyMethods for DOMPointReadOnly {
|
||||
// https://dev.w3.org/fxtf/geometry/Overview.html#dom-dompointreadonly-x
|
||||
fn X(&self) -> f64 {
|
||||
|
@ -80,6 +82,7 @@ impl DOMPointReadOnlyMethods for DOMPointReadOnly {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(non_snake_case)]
|
||||
pub trait DOMPointWriteMethods {
|
||||
fn SetX(&self, value: f64);
|
||||
fn SetY(&self, value: f64);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue