Rename MonitorID -> MonitorId
This commit is contained in:
parent
aa5f5de109
commit
86fa1b58e5
19 changed files with 106 additions and 106 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue