#[repr(C)]pub struct Scan_ScannerDevice {
pub scannerId: *const c_char,
pub manufacturer: *const c_char,
pub model: *const c_char,
pub discoverMode: *const c_char,
pub serialNumber: *const c_char,
}Available on crate features
scan and api-12 only.Expand description
Indicates scanner device information.
Available since API-level: 12
Fields§
§scannerId: *const c_charScanner id.
manufacturer: *const c_charScanner manufacturer.
model: *const c_charScanner model.
discoverMode: *const c_charScanner discoverMode.
serialNumber: *const c_charScanner serialNumber.
Trait Implementations§
Source§impl Clone for Scan_ScannerDevice
impl Clone for Scan_ScannerDevice
Source§fn clone(&self) -> Scan_ScannerDevice
fn clone(&self) -> Scan_ScannerDevice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Scan_ScannerDevice
impl Debug for Scan_ScannerDevice
impl Copy for Scan_ScannerDevice
Auto Trait Implementations§
impl Freeze for Scan_ScannerDevice
impl RefUnwindSafe for Scan_ScannerDevice
impl !Send for Scan_ScannerDevice
impl !Sync for Scan_ScannerDevice
impl Unpin for Scan_ScannerDevice
impl UnsafeUnpin for Scan_ScannerDevice
impl UnwindSafe for Scan_ScannerDevice
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