#[repr(transparent)]pub struct Print_PrinterEvent(pub c_uint);Available on crate features
print and api-12 only.Expand description
Indicate printer change events.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl Print_PrinterEvent
impl Print_PrinterEvent
Sourcepub const PRINTER_ADDED: Print_PrinterEvent
pub const PRINTER_ADDED: Print_PrinterEvent
Printer added.
Sourcepub const PRINTER_DELETED: Print_PrinterEvent
pub const PRINTER_DELETED: Print_PrinterEvent
Printer deleted.
Sourcepub const PRINTER_STATE_CHANGED: Print_PrinterEvent
pub const PRINTER_STATE_CHANGED: Print_PrinterEvent
Printer state changed.
Sourcepub const PRINTER_INFO_CHANGED: Print_PrinterEvent
pub const PRINTER_INFO_CHANGED: Print_PrinterEvent
Printer info changed.
Trait Implementations§
Source§impl Clone for Print_PrinterEvent
impl Clone for Print_PrinterEvent
Source§fn clone(&self) -> Print_PrinterEvent
fn clone(&self) -> Print_PrinterEvent
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_PrinterEvent
impl Debug for Print_PrinterEvent
Source§impl Hash for Print_PrinterEvent
impl Hash for Print_PrinterEvent
Source§impl PartialEq for Print_PrinterEvent
impl PartialEq for Print_PrinterEvent
Source§fn eq(&self, other: &Print_PrinterEvent) -> bool
fn eq(&self, other: &Print_PrinterEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Print_PrinterEvent
impl Eq for Print_PrinterEvent
impl StructuralPartialEq for Print_PrinterEvent
Auto Trait Implementations§
impl Freeze for Print_PrinterEvent
impl RefUnwindSafe for Print_PrinterEvent
impl Send for Print_PrinterEvent
impl Sync for Print_PrinterEvent
impl Unpin for Print_PrinterEvent
impl UnsafeUnpin for Print_PrinterEvent
impl UnwindSafe for Print_PrinterEvent
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