mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Remove extern crate statements (#3310)
This commit is contained in:
@@ -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::{
|
||||
|
||||
Reference in New Issue
Block a user