Struct windows::Devices::SerialCommunication::ISerialDevice_Vtbl
#[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§
impl Freeze for ISerialDevice_Vtbl
impl RefUnwindSafe for ISerialDevice_Vtbl
impl Send for ISerialDevice_Vtbl
impl Sync for ISerialDevice_Vtbl
impl Unpin for ISerialDevice_Vtbl
impl UnwindSafe for ISerialDevice_Vtbl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more