#[repr(C)]
pub struct ISerialDevice_Vtbl {
Show 34 fields pub base__: IInspectable_Vtbl, pub BaudRate: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub SetBaudRate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub BreakSignalState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetBreakSignalState: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub CarrierDetectState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub ClearToSendState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub DataBits: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT, pub SetDataBits: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT, pub DataSetReadyState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub Handshake: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialHandshake) -> HRESULT, pub SetHandshake: unsafe extern "system" fn(_: *mut c_void, _: SerialHandshake) -> HRESULT, pub IsDataTerminalReadyEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetIsDataTerminalReadyEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub IsRequestToSendEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetIsRequestToSendEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub Parity: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialParity) -> HRESULT, pub SetParity: unsafe extern "system" fn(_: *mut c_void, _: SerialParity) -> HRESULT, pub PortName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT, pub ReadTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT, pub SetReadTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub StopBits: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialStopBitCount) -> HRESULT, pub SetStopBits: unsafe extern "system" fn(_: *mut c_void, _: SerialStopBitCount) -> HRESULT, pub UsbVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT, pub UsbProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT, pub WriteTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT, pub SetWriteTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT, pub InputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub OutputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ErrorReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemoveErrorReceived: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT, pub PinChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT, pub RemovePinChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§BaudRate: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetBaudRate: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§BreakSignalState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetBreakSignalState: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§BytesReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§CarrierDetectState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§ClearToSendState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§DataBits: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT§SetDataBits: unsafe extern "system" fn(_: *mut c_void, _: u16) -> HRESULT§DataSetReadyState: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§Handshake: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialHandshake) -> HRESULT§SetHandshake: unsafe extern "system" fn(_: *mut c_void, _: SerialHandshake) -> HRESULT§IsDataTerminalReadyEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetIsDataTerminalReadyEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§IsRequestToSendEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetIsRequestToSendEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§Parity: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialParity) -> HRESULT§SetParity: unsafe extern "system" fn(_: *mut c_void, _: SerialParity) -> HRESULT§PortName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT§ReadTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§SetReadTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§StopBits: unsafe extern "system" fn(_: *mut c_void, _: *mut SerialStopBitCount) -> HRESULT§SetStopBits: unsafe extern "system" fn(_: *mut c_void, _: SerialStopBitCount) -> HRESULT§UsbVendorId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT§UsbProductId: unsafe extern "system" fn(_: *mut c_void, _: *mut u16) -> HRESULT§WriteTimeout: unsafe extern "system" fn(_: *mut c_void, _: *mut TimeSpan) -> HRESULT§SetWriteTimeout: unsafe extern "system" fn(_: *mut c_void, _: TimeSpan) -> HRESULT§InputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§OutputStream: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§ErrorReceived: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemoveErrorReceived: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT§PinChanged: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT§RemovePinChanged: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.