pub struct PtpVersion { /* private fields */ }Expand description
The PTP version of a message.
For most uses of this library, the major version of this version number will be 2.
Implementations§
Trait Implementations§
Source§impl Clone for PtpVersion
impl Clone for PtpVersion
impl Copy for PtpVersion
Source§impl Debug for PtpVersion
impl Debug for PtpVersion
impl Eq for PtpVersion
Source§impl PartialEq for PtpVersion
impl PartialEq for PtpVersion
impl StructuralPartialEq for PtpVersion
Auto Trait Implementations§
impl Forget for PtpVersion
impl Freeze for PtpVersion
impl Move for PtpVersion
impl RefUnwindSafe for PtpVersion
impl Send for PtpVersion
impl Sync for PtpVersion
impl Unpin for PtpVersion
impl UnsafeUnpin for PtpVersion
impl UnwindSafe for PtpVersion
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