mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02:00
This change is to make visibility uniformly crate wide across all of the structs and their props within devtools. Testing: Tested using `.\mach build -d` `.\mach fmt` `.\mach test-tidy` all passed Part of: #41893 --------- Signed-off-by: Seiran <bo646ru@gmail.com>
18 lines
538 B
Rust
18 lines
538 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
use crate::actor::Actor;
|
|
|
|
/// Referenced by `ThreadActor` when replying to `interupt` messages.
|
|
/// <https://searchfox.org/firefox-main/source/devtools/server/actors/thread.js#1699>
|
|
pub(crate) struct PauseActor {
|
|
pub name: String,
|
|
}
|
|
|
|
impl Actor for PauseActor {
|
|
fn name(&self) -> String {
|
|
self.name.clone()
|
|
}
|
|
}
|