pub struct DiscoveredDef {
pub moniker: Moniker,
pub parent: Moniker,
pub namespace: Namespace,
pub name: Vec<u8>,
pub kind: &'static [u8],
pub visibility: &'static [u8],
pub signature: Vec<u8>,
pub position: Option<Position>,
pub call_name: Vec<u8>,
pub call_arity: Option<usize>,
}Fields§
§moniker: Moniker§parent: Moniker§namespace: Namespace§name: Vec<u8>§kind: &'static [u8]§visibility: &'static [u8]§signature: Vec<u8>§position: Option<Position>§call_name: Vec<u8>§call_arity: Option<usize>Implementations§
Source§impl DiscoveredDef
impl DiscoveredDef
pub fn key(&self) -> DefNameKey
Trait Implementations§
Source§impl Clone for DiscoveredDef
impl Clone for DiscoveredDef
Source§fn clone(&self) -> DiscoveredDef
fn clone(&self) -> DiscoveredDef
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 DiscoveredDef
impl Debug for DiscoveredDef
impl Eq for DiscoveredDef
Source§impl PartialEq for DiscoveredDef
impl PartialEq for DiscoveredDef
impl StructuralPartialEq for DiscoveredDef
Auto Trait Implementations§
impl Freeze for DiscoveredDef
impl RefUnwindSafe for DiscoveredDef
impl Send for DiscoveredDef
impl Sync for DiscoveredDef
impl Unpin for DiscoveredDef
impl UnsafeUnpin for DiscoveredDef
impl UnwindSafe for DiscoveredDef
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.