windows::Devices::PointOfService

Struct IClaimedPosPrinter_Vtbl

#[repr(C)]
pub struct IClaimedPosPrinter_Vtbl {
Show 20 fields pub base__: IInspectable_Vtbl, pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetCharacterSet: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub CharacterSet: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub IsCoverOpen: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetIsCharacterSetMappingEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT, pub IsCharacterSetMappingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub SetMapMode: unsafe extern "system" fn(_: *mut c_void, _: PosPrinterMapMode) -> HRESULT, pub MapMode: unsafe extern "system" fn(_: *mut c_void, _: *mut PosPrinterMapMode) -> HRESULT, pub Receipt: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Slip: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub Journal: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub EnableAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub DisableAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub RetainDeviceAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ResetStatisticsAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub UpdateStatisticsAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub ReleaseDeviceRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i64) -> HRESULT, pub RemoveReleaseDeviceRequested: unsafe extern "system" fn(_: *mut c_void, _: i64) -> HRESULT,
}

Fields§

§base__: IInspectable_Vtbl§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§IsEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetCharacterSet: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§CharacterSet: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§IsCoverOpen: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetIsCharacterSetMappingEnabled: unsafe extern "system" fn(_: *mut c_void, _: bool) -> HRESULT§IsCharacterSetMappingEnabled: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§SetMapMode: unsafe extern "system" fn(_: *mut c_void, _: PosPrinterMapMode) -> HRESULT§MapMode: unsafe extern "system" fn(_: *mut c_void, _: *mut PosPrinterMapMode) -> HRESULT§Receipt: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Slip: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§Journal: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§EnableAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§DisableAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§RetainDeviceAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§ResetStatisticsAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§UpdateStatisticsAsync: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§ReleaseDeviceRequested: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut i64) -> HRESULT§RemoveReleaseDeviceRequested: unsafe extern "system" fn(_: *mut c_void, _: i64) -> 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>,

Source§

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>,

Source§

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.