pub struct ProgramVersion {
pub program: u32,
pub version: u32,
}Fields§
§program: u32§version: u32Trait Implementations§
Source§impl Clone for ProgramVersion
impl Clone for ProgramVersion
Source§fn clone(&self) -> ProgramVersion
fn clone(&self) -> ProgramVersion
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 moreimpl Copy for ProgramVersion
Source§impl Debug for ProgramVersion
impl Debug for ProgramVersion
impl Eq for ProgramVersion
Source§impl Hash for ProgramVersion
impl Hash for ProgramVersion
Source§impl PartialEq for ProgramVersion
impl PartialEq for ProgramVersion
Source§fn eq(&self, other: &ProgramVersion) -> bool
fn eq(&self, other: &ProgramVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgramVersion
Auto Trait Implementations§
impl Freeze for ProgramVersion
impl RefUnwindSafe for ProgramVersion
impl Send for ProgramVersion
impl Sync for ProgramVersion
impl Unpin for ProgramVersion
impl UnsafeUnpin for ProgramVersion
impl UnwindSafe for ProgramVersion
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