#[repr(transparent)]pub struct Print_DiscoveryEvent(pub c_uint);Available on crate features
print and api-12 only.Expand description
Indicate printer discovery events.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Print_DiscoveryEvent
impl Print_DiscoveryEvent
Sourcepub const PRINTER_DISCOVERED: Print_DiscoveryEvent
pub const PRINTER_DISCOVERED: Print_DiscoveryEvent
Printer discovered.
Sourcepub const PRINTER_LOST: Print_DiscoveryEvent
pub const PRINTER_LOST: Print_DiscoveryEvent
Printer lost.
Sourcepub const PRINTER_CONNECTING: Print_DiscoveryEvent
pub const PRINTER_CONNECTING: Print_DiscoveryEvent
Printer connecting.
Sourcepub const PRINTER_CONNECTED: Print_DiscoveryEvent
pub const PRINTER_CONNECTED: Print_DiscoveryEvent
Printer connected.
Trait Implementations§
Source§impl Clone for Print_DiscoveryEvent
impl Clone for Print_DiscoveryEvent
Source§fn clone(&self) -> Print_DiscoveryEvent
fn clone(&self) -> Print_DiscoveryEvent
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 Print_DiscoveryEvent
impl Debug for Print_DiscoveryEvent
Source§impl Hash for Print_DiscoveryEvent
impl Hash for Print_DiscoveryEvent
Source§impl PartialEq for Print_DiscoveryEvent
impl PartialEq for Print_DiscoveryEvent
Source§fn eq(&self, other: &Print_DiscoveryEvent) -> bool
fn eq(&self, other: &Print_DiscoveryEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Print_DiscoveryEvent
impl Eq for Print_DiscoveryEvent
impl StructuralPartialEq for Print_DiscoveryEvent
Auto Trait Implementations§
impl Freeze for Print_DiscoveryEvent
impl RefUnwindSafe for Print_DiscoveryEvent
impl Send for Print_DiscoveryEvent
impl Sync for Print_DiscoveryEvent
impl Unpin for Print_DiscoveryEvent
impl UnsafeUnpin for Print_DiscoveryEvent
impl UnwindSafe for Print_DiscoveryEvent
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