pub struct ChdkVersion {
pub major: u32,
pub minor: u32,
}Expand description
CHDK PTP protocol version reported by the camera.
Fields§
§major: u32§minor: u32Trait Implementations§
Source§impl Clone for ChdkVersion
impl Clone for ChdkVersion
Source§fn clone(&self) -> ChdkVersion
fn clone(&self) -> ChdkVersion
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 ChdkVersion
impl Debug for ChdkVersion
Source§impl Display for ChdkVersion
impl Display for ChdkVersion
impl Copy for ChdkVersion
Auto Trait Implementations§
impl Freeze for ChdkVersion
impl RefUnwindSafe for ChdkVersion
impl Send for ChdkVersion
impl Sync for ChdkVersion
impl Unpin for ChdkVersion
impl UnsafeUnpin for ChdkVersion
impl UnwindSafe for ChdkVersion
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