#[repr(transparent)]pub struct Copies(pub u16);Expand description
Represents the number of copies.
§Example
use winprint_ext::ticket::Copies;
let copies = Copies(1);
assert_eq!(copies.0, 1);Tuple Fields§
§0: u16Trait Implementations§
impl Copy for Copies
impl Eq for Copies
Source§impl From<Copies> for PrintTicket
impl From<Copies> for PrintTicket
impl StructuralPartialEq for Copies
Auto Trait Implementations§
impl Freeze for Copies
impl RefUnwindSafe for Copies
impl Send for Copies
impl Sync for Copies
impl Unpin for Copies
impl UnsafeUnpin for Copies
impl UnwindSafe for Copies
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