1 //! Platform-specific extensions to `std` for Windows.
3 //! Provides access to platform-level information for Windows, and exposes
4 //! Windows-specific idioms that would otherwise be inappropriate as part
5 //! the core `std` library. These extensions allow developers to use
6 //! `std` types and idioms with Windows in a way that the normal
7 //! platform-agnostic idioms would not normally support.
9 #![stable(feature = "rust1", since = "1.0.0")]
11 #![allow(missing_docs)]
20 /// A prelude for conveniently writing platform-specific code.
22 /// Includes all extension traits, and some important type definitions.
23 #[stable(feature = "rust1", since = "1.0.0")]
26 #[stable(feature = "rust1", since = "1.0.0")]
27 pub use super::ffi
::{OsStrExt, OsStringExt}
;
29 #[stable(feature = "file_offset", since = "1.15.0")]
30 pub use super::fs
::FileExt
;
32 #[stable(feature = "rust1", since = "1.0.0")]
33 pub use super::fs
::{MetadataExt, OpenOptionsExt}
;
35 #[stable(feature = "rust1", since = "1.0.0")]
36 pub use super::io
::{AsRawHandle, AsRawSocket, RawHandle, RawSocket}
;
38 #[stable(feature = "rust1", since = "1.0.0")]
39 pub use super::io
::{FromRawHandle, FromRawSocket, IntoRawHandle, IntoRawSocket}
;