Remove extern crate statements (#3310)
This commit is contained in:
parent
61a873d79a
commit
28a811bbba
36 changed files with 54 additions and 26 deletions
|
|
@ -18,6 +18,8 @@ use windows_sys::{
|
|||
},
|
||||
};
|
||||
|
||||
use log::debug;
|
||||
|
||||
use crate::platform_impl::platform::{
|
||||
definitions::{IDataObjectVtbl, IDropTarget, IDropTargetVtbl, IUnknownVtbl},
|
||||
WindowId,
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ use windows_sys::Win32::{
|
|||
},
|
||||
};
|
||||
|
||||
use log::{trace, warn};
|
||||
use smol_str::SmolStr;
|
||||
use unicode_segmentation::UnicodeSegmentation;
|
||||
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ static NUMPAD_KEYCODES: Lazy<HashSet<KeyCode>> = Lazy::new(|| {
|
|||
keycodes
|
||||
});
|
||||
|
||||
bitflags! {
|
||||
bitflags::bitflags! {
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash)]
|
||||
pub struct WindowsModifiers : u8 {
|
||||
const SHIFT = 1 << 0;
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ use windows_sys::Win32::{
|
|||
},
|
||||
};
|
||||
|
||||
use log::warn;
|
||||
|
||||
use crate::{
|
||||
cursor::Cursor,
|
||||
dpi::{PhysicalPosition, PhysicalSize, Position, Size},
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ use crate::{
|
|||
platform_impl::platform::{event_loop, util, Fullscreen, SelectedCursor},
|
||||
window::{Theme, WindowAttributes},
|
||||
};
|
||||
use bitflags::bitflags;
|
||||
use std::io;
|
||||
use std::sync::MutexGuard;
|
||||
use windows_sys::Win32::{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue