pub enum SourceRustCallOrigin {
DeclaredModule,
AnchoredPath,
ModuleLookup,
}Expand description
Native syntax evidence that establishes a static Rust call path.
Variants§
DeclaredModule
Lexical lookup selected an actual mod declaration.
AnchoredPath
The callee explicitly used crate, self or super qualification.
ModuleLookup
Mixed module-level namespaces need source-target classification before lookup.
Trait Implementations§
Source§impl Clone for SourceRustCallOrigin
impl Clone for SourceRustCallOrigin
Source§fn clone(&self) -> SourceRustCallOrigin
fn clone(&self) -> SourceRustCallOrigin
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 SourceRustCallOrigin
Source§impl Debug for SourceRustCallOrigin
impl Debug for SourceRustCallOrigin
impl Eq for SourceRustCallOrigin
Source§impl PartialEq for SourceRustCallOrigin
impl PartialEq for SourceRustCallOrigin
Source§fn eq(&self, other: &SourceRustCallOrigin) -> bool
fn eq(&self, other: &SourceRustCallOrigin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceRustCallOrigin
Auto Trait Implementations§
impl Freeze for SourceRustCallOrigin
impl RefUnwindSafe for SourceRustCallOrigin
impl Send for SourceRustCallOrigin
impl Sync for SourceRustCallOrigin
impl Unpin for SourceRustCallOrigin
impl UnsafeUnpin for SourceRustCallOrigin
impl UnwindSafe for SourceRustCallOrigin
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.