Struct windows::Win32::Devices::Tapi::ITFileTerminalEvent
pub struct ITFileTerminalEvent(/* private fields */);
Implementations§
§impl ITFileTerminalEvent
impl ITFileTerminalEvent
pub unsafe fn Terminal(&self) -> Result<ITTerminal>
pub unsafe fn Track(&self) -> Result<ITFileTrack>
pub unsafe fn Call(&self) -> Result<ITCallInfo>
pub unsafe fn State(&self) -> Result<TERMINAL_MEDIA_STATE>
pub unsafe fn Cause(&self) -> Result<FT_STATE_EVENT_CAUSE>
pub unsafe fn Error(&self) -> Result<HRESULT>
Trait Implementations§
§impl Clone for ITFileTerminalEvent
impl Clone for ITFileTerminalEvent
§fn clone(&self) -> ITFileTerminalEvent
fn clone(&self) -> ITFileTerminalEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ITFileTerminalEvent
impl Debug for ITFileTerminalEvent
§impl From<&ITFileTerminalEvent> for &IDispatch
impl From<&ITFileTerminalEvent> for &IDispatch
§fn from(value: &ITFileTerminalEvent) -> Self
fn from(value: &ITFileTerminalEvent) -> Self
Converts to this type from the input type.
§impl From<&ITFileTerminalEvent> for &IUnknown
impl From<&ITFileTerminalEvent> for &IUnknown
§fn from(value: &ITFileTerminalEvent) -> Self
fn from(value: &ITFileTerminalEvent) -> Self
Converts to this type from the input type.
§impl From<ITFileTerminalEvent> for IDispatch
impl From<ITFileTerminalEvent> for IDispatch
§fn from(value: ITFileTerminalEvent) -> Self
fn from(value: ITFileTerminalEvent) -> Self
Converts to this type from the input type.
§impl From<ITFileTerminalEvent> for IUnknown
impl From<ITFileTerminalEvent> for IUnknown
§fn from(value: ITFileTerminalEvent) -> Self
fn from(value: ITFileTerminalEvent) -> Self
Converts to this type from the input type.
§impl Interface for ITFileTerminalEvent
impl Interface for ITFileTerminalEvent
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ITFileTerminalEvent
impl PartialEq for ITFileTerminalEvent
§fn eq(&self, other: &ITFileTerminalEvent) -> bool
fn eq(&self, other: &ITFileTerminalEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ITFileTerminalEvent
impl StructuralPartialEq for ITFileTerminalEvent
Auto Trait Implementations§
impl RefUnwindSafe for ITFileTerminalEvent
impl !Send for ITFileTerminalEvent
impl !Sync for ITFileTerminalEvent
impl Unpin for ITFileTerminalEvent
impl UnwindSafe for ITFileTerminalEvent
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