pub(super) struct ResolvePathResult {
pub(super) resolved_def: PerNs,
pub(super) segment_index: Option<usize>,
pub(super) reached_fixedpoint: ReachedFixedPoint,
pub(super) prefix_info: ResolvePathResultPrefixInfo,
}Fields§
§resolved_def: PerNs§segment_index: Option<usize>The index of the last resolved segment, or None if the full path has been resolved.
reached_fixedpoint: ReachedFixedPoint§prefix_info: ResolvePathResultPrefixInfoImplementations§
Source§impl ResolvePathResult
impl ResolvePathResult
fn empty(reached_fixedpoint: ReachedFixedPoint) -> ResolvePathResult
fn new( resolved_def: PerNs, reached_fixedpoint: ReachedFixedPoint, segment_index: Option<usize>, prefix_info: ResolvePathResultPrefixInfo, ) -> ResolvePathResult
Trait Implementations§
Source§impl Clone for ResolvePathResult
impl Clone for ResolvePathResult
Source§fn clone(&self) -> ResolvePathResult
fn clone(&self) -> ResolvePathResult
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 moreAuto Trait Implementations§
impl Freeze for ResolvePathResult
impl RefUnwindSafe for ResolvePathResult
impl Send for ResolvePathResult
impl Sync for ResolvePathResult
impl Unpin for ResolvePathResult
impl UnsafeUnpin for ResolvePathResult
impl UnwindSafe for ResolvePathResult
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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