pub enum KnowledgeRef {
Library {
pack: KnowledgeName,
},
Package {
package: PackageKnowledgeName,
},
Local {
pack: KnowledgeName,
},
}Variants§
Library
Fields
§
pack: KnowledgeNamePackage
Fields
§
package: PackageKnowledgeNameLocal
Fields
§
pack: KnowledgeNameImplementations§
Trait Implementations§
Source§impl Clone for KnowledgeRef
impl Clone for KnowledgeRef
Source§fn clone(&self) -> KnowledgeRef
fn clone(&self) -> KnowledgeRef
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 KnowledgeRef
impl Debug for KnowledgeRef
Source§impl Display for KnowledgeRef
impl Display for KnowledgeRef
impl Eq for KnowledgeRef
Source§impl FromStr for KnowledgeRef
impl FromStr for KnowledgeRef
Source§impl Hash for KnowledgeRef
impl Hash for KnowledgeRef
Source§impl Ord for KnowledgeRef
impl Ord for KnowledgeRef
Source§fn cmp(&self, other: &KnowledgeRef) -> Ordering
fn cmp(&self, other: &KnowledgeRef) -> Ordering
1.21.0 (const: unstable) · 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 KnowledgeRef
impl PartialEq for KnowledgeRef
Source§fn eq(&self, other: &KnowledgeRef) -> bool
fn eq(&self, other: &KnowledgeRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for KnowledgeRef
impl PartialOrd for KnowledgeRef
impl StructuralPartialEq for KnowledgeRef
Auto Trait Implementations§
impl Freeze for KnowledgeRef
impl RefUnwindSafe for KnowledgeRef
impl Send for KnowledgeRef
impl Sync for KnowledgeRef
impl Unpin for KnowledgeRef
impl UnsafeUnpin for KnowledgeRef
impl UnwindSafe for KnowledgeRef
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.