diff options
Diffstat (limited to 'src/api/android')
-rw-r--r-- | src/api/android/mod.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/api/android/mod.rs b/src/api/android/mod.rs index eb49037..4e27e1c 100644 --- a/src/api/android/mod.rs +++ b/src/api/android/mod.rs @@ -32,23 +32,23 @@ pub struct Window { } #[derive(Clone)] -pub struct MonitorID; +pub struct MonitorId; mod ffi; #[inline] -pub fn get_available_monitors() -> VecDeque<MonitorID> { +pub fn get_available_monitors() -> VecDeque<MonitorId> { let mut rb = VecDeque::new(); - rb.push_back(MonitorID); + rb.push_back(MonitorId); rb } #[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("Primary".to_string()) |