summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Devices/SerialCommunication
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
commit4e8199b572f2035b7749cba276ece3a26630d23e (patch)
treef09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Devices/SerialCommunication
parentAdding upstream version 1.66.0+dfsg1. (diff)
downloadrustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz
rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Devices/SerialCommunication')
-rw-r--r--vendor/windows-sys/src/Windows/Devices/SerialCommunication/mod.rs80
1 files changed, 0 insertions, 80 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/SerialCommunication/mod.rs b/vendor/windows-sys/src/Windows/Devices/SerialCommunication/mod.rs
deleted file mode 100644
index be0061a9a..000000000
--- a/vendor/windows-sys/src/Windows/Devices/SerialCommunication/mod.rs
+++ /dev/null
@@ -1,80 +0,0 @@
-pub type ErrorReceivedEventArgs = *mut ::core::ffi::c_void;
-pub type PinChangedEventArgs = *mut ::core::ffi::c_void;
-pub type SerialDevice = *mut ::core::ffi::c_void;
-#[doc = "*Required features: `\"Devices_SerialCommunication\"`*"]
-#[repr(transparent)]
-pub struct SerialError(pub i32);
-impl SerialError {
- pub const Frame: Self = Self(0i32);
- pub const BufferOverrun: Self = Self(1i32);
- pub const ReceiveFull: Self = Self(2i32);
- pub const ReceiveParity: Self = Self(3i32);
- pub const TransmitFull: Self = Self(4i32);
-}
-impl ::core::marker::Copy for SerialError {}
-impl ::core::clone::Clone for SerialError {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Devices_SerialCommunication\"`*"]
-#[repr(transparent)]
-pub struct SerialHandshake(pub i32);
-impl SerialHandshake {
- pub const None: Self = Self(0i32);
- pub const RequestToSend: Self = Self(1i32);
- pub const XOnXOff: Self = Self(2i32);
- pub const RequestToSendXOnXOff: Self = Self(3i32);
-}
-impl ::core::marker::Copy for SerialHandshake {}
-impl ::core::clone::Clone for SerialHandshake {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Devices_SerialCommunication\"`*"]
-#[repr(transparent)]
-pub struct SerialParity(pub i32);
-impl SerialParity {
- pub const None: Self = Self(0i32);
- pub const Odd: Self = Self(1i32);
- pub const Even: Self = Self(2i32);
- pub const Mark: Self = Self(3i32);
- pub const Space: Self = Self(4i32);
-}
-impl ::core::marker::Copy for SerialParity {}
-impl ::core::clone::Clone for SerialParity {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Devices_SerialCommunication\"`*"]
-#[repr(transparent)]
-pub struct SerialPinChange(pub i32);
-impl SerialPinChange {
- pub const BreakSignal: Self = Self(0i32);
- pub const CarrierDetect: Self = Self(1i32);
- pub const ClearToSend: Self = Self(2i32);
- pub const DataSetReady: Self = Self(3i32);
- pub const RingIndicator: Self = Self(4i32);
-}
-impl ::core::marker::Copy for SerialPinChange {}
-impl ::core::clone::Clone for SerialPinChange {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Devices_SerialCommunication\"`*"]
-#[repr(transparent)]
-pub struct SerialStopBitCount(pub i32);
-impl SerialStopBitCount {
- pub const One: Self = Self(0i32);
- pub const OnePointFive: Self = Self(1i32);
- pub const Two: Self = Self(2i32);
-}
-impl ::core::marker::Copy for SerialStopBitCount {}
-impl ::core::clone::Clone for SerialStopBitCount {
- fn clone(&self) -> Self {
- *self
- }
-}