pub struct LibraryPath {
pub path: String,
pub name: String,
pub version: String,
}Expand description
Resolved filesystem path and name for a Maven library coordinate.
Fields§
§path: StringRelative directory path, e.g. "net/minecraftforge/forge/1.19-41.0.63".
name: StringFile name with extension, e.g. "forge-1.19-41.0.63.jar".
version: StringRaw version string from the coordinate.
Trait Implementations§
Source§impl Clone for LibraryPath
impl Clone for LibraryPath
Source§fn clone(&self) -> LibraryPath
fn clone(&self) -> LibraryPath
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 LibraryPath
impl Debug for LibraryPath
Source§impl PartialEq for LibraryPath
impl PartialEq for LibraryPath
Source§fn eq(&self, other: &LibraryPath) -> bool
fn eq(&self, other: &LibraryPath) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LibraryPath
impl StructuralPartialEq for LibraryPath
Auto Trait Implementations§
impl Freeze for LibraryPath
impl RefUnwindSafe for LibraryPath
impl Send for LibraryPath
impl Sync for LibraryPath
impl Unpin for LibraryPath
impl UnsafeUnpin for LibraryPath
impl UnwindSafe for LibraryPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.