pub struct LibraryVersion {
pub name: String,
pub major: u32,
pub minor: u32,
pub patch: u32,
}Expand description
A version record for an external library.
Fields§
§name: StringLibrary name.
major: u32Major version.
minor: u32Minor version.
patch: u32Patch version.
Implementations§
Trait Implementations§
Source§impl Clone for LibraryVersion
impl Clone for LibraryVersion
Source§fn clone(&self) -> LibraryVersion
fn clone(&self) -> LibraryVersion
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 LibraryVersion
impl Debug for LibraryVersion
Source§impl Display for LibraryVersion
impl Display for LibraryVersion
Source§impl PartialEq for LibraryVersion
impl PartialEq for LibraryVersion
impl Eq for LibraryVersion
impl StructuralPartialEq for LibraryVersion
Auto Trait Implementations§
impl Freeze for LibraryVersion
impl RefUnwindSafe for LibraryVersion
impl Send for LibraryVersion
impl Sync for LibraryVersion
impl Unpin for LibraryVersion
impl UnsafeUnpin for LibraryVersion
impl UnwindSafe for LibraryVersion
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