Don't implement Clone/Copy for PadProbeId

It's only possible to use it at most once.
This commit is contained in:
Sebastian Dröge 2017-09-09 00:45:45 +03:00
parent 24b8b383d8
commit 8caf88810c

View file

@ -31,7 +31,7 @@ use libc;
use ffi;
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)]
#[derive(Debug, Default, PartialEq, Eq)]
pub struct PadProbeId(libc::c_ulong);
pub const PAD_PROBE_ID_INVALID: PadProbeId = PadProbeId(0);