From 86fa1b58e5a44a1711e812ed1e56c0e2c6946eed Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 24 Sep 2015 09:11:59 +0200 Subject: Rename MonitorID -> MonitorId --- src/api/ios/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/api/ios') diff --git a/src/api/ios/mod.rs b/src/api/ios/mod.rs index 0d7de57..52eebbf 100644 --- a/src/api/ios/mod.rs +++ b/src/api/ios/mod.rs @@ -105,7 +105,7 @@ use self::ffi::{ static mut jmpbuf: [libc::c_int;27] = [0;27]; #[derive(Clone)] -pub struct MonitorID; +pub struct MonitorId; pub struct Window { eagl_context: id, @@ -149,18 +149,18 @@ impl DelegateState { } #[inline] -pub fn get_available_monitors() -> VecDeque { +pub fn get_available_monitors() -> VecDeque { 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 { Some("Primary".to_string()) -- cgit v1.2.3