pub enum LockedSource {
Index,
}Expand description
Where a locked package was sourced from.
Variants§
Index
Resolved from the local JSON package index.
Implementations§
Trait Implementations§
Source§impl Clone for LockedSource
impl Clone for LockedSource
Source§fn clone(&self) -> LockedSource
fn clone(&self) -> LockedSource
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 moreimpl Copy for LockedSource
Source§impl Debug for LockedSource
impl Debug for LockedSource
impl Eq for LockedSource
Source§impl PartialEq for LockedSource
impl PartialEq for LockedSource
Source§fn eq(&self, other: &LockedSource) -> bool
fn eq(&self, other: &LockedSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LockedSource
Auto Trait Implementations§
impl Freeze for LockedSource
impl RefUnwindSafe for LockedSource
impl Send for LockedSource
impl Sync for LockedSource
impl Unpin for LockedSource
impl UnsafeUnpin for LockedSource
impl UnwindSafe for LockedSource
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.