pub struct AdbVersion {
pub major: u32,
pub minor: u32,
pub revision: u32,
}
Expand description
Represents the ADB server version.
Fields§
§major: u32
Major version number.
minor: u32
Minor version number.
revision: u32
Revision number.
Implementations§
Source§impl AdbVersion
impl AdbVersion
Sourcepub fn new(minor: u32, revision: u32) -> Self
pub fn new(minor: u32, revision: u32) -> Self
Instantiates a new AdbVersion.
Trait Implementations§
Source§impl Debug for AdbVersion
impl Debug for AdbVersion
Source§impl Display for AdbVersion
impl Display for AdbVersion
Auto Trait Implementations§
impl Freeze for AdbVersion
impl RefUnwindSafe for AdbVersion
impl Send for AdbVersion
impl Sync for AdbVersion
impl Unpin for AdbVersion
impl UnwindSafe for AdbVersion
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