#[non_exhaustive]pub struct UnresolvedImpl {
pub path: SharedStr,
pub self_type: SharedStr,
pub file: RelPath,
pub line: usize,
pub span: SpanFact,
pub target: TargetId,
pub test: TestRole,
pub members: Vec<ItemId>,
}Expand description
An inherent impl block whose self type names no struct, enum or union the index can see, once for each module path its file is reached under.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: SharedStrThe self path written in the impl’s module, which its members are
recorded under: the module path followed by the path the self type is
written with (crate, self and super taken from the module; a path
that starts with :: from its first segment, alone), or, for a self
type that has no path, by the written self type without spaces.
self_type: SharedStrThe self type as written, without spaces.
file: RelPathThe file that holds the impl.
line: usizeThe 1-based line of the impl keyword.
span: SpanFactThe whole impl block.
target: TargetIdThe target whose module tree holds the impl.
test: TestRoleThe test role of the impl, counting the module tree’s test flag.
members: Vec<ItemId>The members of the impl block, in source order.
Trait Implementations§
Source§impl Clone for UnresolvedImpl
impl Clone for UnresolvedImpl
Source§impl Debug for UnresolvedImpl
impl Debug for UnresolvedImpl
impl Eq for UnresolvedImpl
Source§impl PartialEq for UnresolvedImpl
impl PartialEq for UnresolvedImpl
impl StructuralPartialEq for UnresolvedImpl
Auto Trait Implementations§
impl Forget for UnresolvedImpl
impl Freeze for UnresolvedImpl
impl Move for UnresolvedImpl
impl RefUnwindSafe for UnresolvedImpl
impl Send for UnresolvedImpl
impl Sync for UnresolvedImpl
impl Unpin for UnresolvedImpl
impl UnsafeUnpin for UnresolvedImpl
impl UnwindSafe for UnresolvedImpl
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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
key and return true if they are equal.impl<T> EvidenceLease for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more