pub enum PackageLocation {
Path(String),
Url(String),
}Expand description
Where an external package can be found.
Variants§
Trait Implementations§
Source§impl Clone for PackageLocation
impl Clone for PackageLocation
Source§fn clone(&self) -> PackageLocation
fn clone(&self) -> PackageLocation
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 PackageLocation
impl Debug for PackageLocation
Source§impl Hash for PackageLocation
impl Hash for PackageLocation
Source§impl Ord for PackageLocation
impl Ord for PackageLocation
Source§fn cmp(&self, other: &PackageLocation) -> Ordering
fn cmp(&self, other: &PackageLocation) -> 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 PackageLocation
impl PartialEq for PackageLocation
Source§impl PartialOrd for PackageLocation
impl PartialOrd for PackageLocation
Source§impl Serialize for PackageLocation
impl Serialize for PackageLocation
impl Eq for PackageLocation
impl StructuralPartialEq for PackageLocation
Auto Trait Implementations§
impl Freeze for PackageLocation
impl RefUnwindSafe for PackageLocation
impl Send for PackageLocation
impl Sync for PackageLocation
impl Unpin for PackageLocation
impl UnsafeUnpin for PackageLocation
impl UnwindSafe for PackageLocation
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