aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/emscripten
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/emscripten')
-rw-r--r--src/api/emscripten/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/api/emscripten/mod.rs b/src/api/emscripten/mod.rs
index 0913623..91304f0 100644
--- a/src/api/emscripten/mod.rs
+++ b/src/api/emscripten/mod.rs
@@ -52,21 +52,21 @@ impl WindowProxy {
}
}
-pub struct MonitorID;
+pub struct MonitorId;
#[inline]
-pub fn get_available_monitors() -> VecDeque<MonitorID> {
+pub fn get_available_monitors() -> VecDeque<MonitorId> {
let mut list = VecDeque::new();
- list.push_back(MonitorID);
+ list.push_back(MonitorId);
list
}
#[inline]
-pub fn get_primary_monitor() -> MonitorID {
- MonitorID
+pub fn get_primary_monitor() -> MonitorId {
+ MonitorId
}
-impl MonitorID {
+impl MonitorId {
#[inline]
pub fn get_name(&self) -> Option<String> {
Some("Canvas".to_owned())