Struct ide::MonikerResult
source · pub struct MonikerResult {
pub identifier: MonikerIdentifier,
pub kind: MonikerKind,
pub package_information: PackageInformation,
}
Fields§
§identifier: MonikerIdentifier
§kind: MonikerKind
§package_information: PackageInformation
Implementations§
source§impl MonikerResult
impl MonikerResult
pub fn from_def( db: &RootDatabase, def: Definition, from_crate: Crate ) -> Option<Self>
Trait Implementations§
source§impl Clone for MonikerResult
impl Clone for MonikerResult
source§fn clone(&self) -> MonikerResult
fn clone(&self) -> MonikerResult
Returns a copy of the value. Read more
1.0.0 · 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 MonikerResult
impl Debug for MonikerResult
source§impl Hash for MonikerResult
impl Hash for MonikerResult
source§impl PartialEq for MonikerResult
impl PartialEq for MonikerResult
source§fn eq(&self, other: &MonikerResult) -> bool
fn eq(&self, other: &MonikerResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MonikerResult
impl StructuralPartialEq for MonikerResult
Auto Trait Implementations§
impl RefUnwindSafe for MonikerResult
impl Send for MonikerResult
impl Sync for MonikerResult
impl Unpin for MonikerResult
impl UnwindSafe for MonikerResult
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
§impl<T> Cast for T
impl<T> Cast for T
§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
Checks if this value is equivalent to the given key. Read more
§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.