mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
order derivable traits lists
Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
This commit is contained in:
parent
ab73f3d61d
commit
c5fe235112
194 changed files with 553 additions and 552 deletions
|
@ -9,7 +9,7 @@
|
|||
use time;
|
||||
|
||||
/// The `TimerMode` is used to determine what time should the `Timer` return.
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Clone, Debug)]
|
||||
enum TimerMode {
|
||||
/// The timer should return a fixed value.
|
||||
Test(f64),
|
||||
|
@ -20,7 +20,7 @@ enum TimerMode {
|
|||
/// A `Timer` struct that takes care of giving the current time for animations.
|
||||
///
|
||||
/// This is needed to be allowed to hook the time in the animations' test-mode.
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Timer {
|
||||
mode: TimerMode,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue