pub enum SourceRustBinding {
Declaration(usize),
TypeDeclaration(usize),
UnresolvedType,
UnresolvedImport,
Use(Arc<SourceRustUse>),
Unresolved,
}Expand description
Source-owned meaning of a Rust module’s value slot.
Variants§
Declaration(usize)
Actual callable declaration ordinal in the accompanying graph.
TypeDeclaration(usize)
A type namespace owner, which never proves a direct callable value.
UnresolvedType
A type namespace owner survived while its exact declaration proof did not.
UnresolvedImport
A lost import may occupy either namespace and must remain a competing blocker.
Use(Arc<SourceRustUse>)
A source use binding may forward a value or a namespace.
Unresolved
The source name exists but cannot prove a callable target.
Trait Implementations§
Source§impl Clone for SourceRustBinding
impl Clone for SourceRustBinding
Source§fn clone(&self) -> SourceRustBinding
fn clone(&self) -> SourceRustBinding
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 SourceRustBinding
impl Debug for SourceRustBinding
impl Eq for SourceRustBinding
Source§impl PartialEq for SourceRustBinding
impl PartialEq for SourceRustBinding
Source§fn eq(&self, other: &SourceRustBinding) -> bool
fn eq(&self, other: &SourceRustBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceRustBinding
Auto Trait Implementations§
impl Freeze for SourceRustBinding
impl RefUnwindSafe for SourceRustBinding
impl Send for SourceRustBinding
impl Sync for SourceRustBinding
impl Unpin for SourceRustBinding
impl UnsafeUnpin for SourceRustBinding
impl UnwindSafe for SourceRustBinding
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.