pub struct CapstoneVersion {
    pub major: u16,
    pub minor: u16,
}Expand description
The API version of capstone.
Fields§
§major: u16The major version of capstone.
minor: u16The minor version of capstone.
Trait Implementations§
Source§impl Clone for CapstoneVersion
 
impl Clone for CapstoneVersion
Source§fn clone(&self) -> CapstoneVersion
 
fn clone(&self) -> CapstoneVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 CapstoneVersion
 
impl Debug for CapstoneVersion
Source§impl Display for CapstoneVersion
 
impl Display for CapstoneVersion
Source§impl Hash for CapstoneVersion
 
impl Hash for CapstoneVersion
Source§impl Ord for CapstoneVersion
 
impl Ord for CapstoneVersion
Source§fn cmp(&self, other: &CapstoneVersion) -> Ordering
 
fn cmp(&self, other: &CapstoneVersion) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CapstoneVersion
 
impl PartialEq for CapstoneVersion
Source§impl PartialOrd for CapstoneVersion
 
impl PartialOrd for CapstoneVersion
impl Copy for CapstoneVersion
impl Eq for CapstoneVersion
impl StructuralPartialEq for CapstoneVersion
Auto Trait Implementations§
impl Freeze for CapstoneVersion
impl RefUnwindSafe for CapstoneVersion
impl Send for CapstoneVersion
impl Sync for CapstoneVersion
impl Unpin for CapstoneVersion
impl UnwindSafe for CapstoneVersion
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