pub enum VersionScope<P> {
KnownPath {
path: P,
},
UnknownPath,
}Expand description
Version-scoped forge references either identify a contained path outside the candidate scope or fail before a path can be identified.
Variants§
Trait Implementations§
Source§impl<P: Clone> Clone for VersionScope<P>
impl<P: Clone> Clone for VersionScope<P>
Source§fn clone(&self) -> VersionScope<P>
fn clone(&self) -> VersionScope<P>
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<P: Debug> Debug for VersionScope<P>
impl<P: Debug> Debug for VersionScope<P>
impl<P: Eq> Eq for VersionScope<P>
Source§impl<'_enum, P> From<&'_enum VersionScope<P>> for VersionScopeTag
impl<'_enum, P> From<&'_enum VersionScope<P>> for VersionScopeTag
Source§fn from(val: &'_enum VersionScope<P>) -> VersionScopeTag
fn from(val: &'_enum VersionScope<P>) -> VersionScopeTag
Converts to this type from the input type.
Source§impl<P> From<VersionScope<P>> for VersionScopeTag
impl<P> From<VersionScope<P>> for VersionScopeTag
Source§fn from(val: VersionScope<P>) -> VersionScopeTag
fn from(val: VersionScope<P>) -> VersionScopeTag
Converts to this type from the input type.
Source§impl<P> IntoDiscriminant for VersionScope<P>
impl<P> IntoDiscriminant for VersionScope<P>
Source§type Discriminant = VersionScopeTag
type Discriminant = VersionScopeTag
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl<P: PartialEq> PartialEq for VersionScope<P>
impl<P: PartialEq> PartialEq for VersionScope<P>
impl<P: PartialEq> StructuralPartialEq for VersionScope<P>
Auto Trait Implementations§
impl<P> Freeze for VersionScope<P>where
P: Freeze,
impl<P> RefUnwindSafe for VersionScope<P>where
P: RefUnwindSafe,
impl<P> Send for VersionScope<P>where
P: Send,
impl<P> Sync for VersionScope<P>where
P: Sync,
impl<P> Unpin for VersionScope<P>where
P: Unpin,
impl<P> UnsafeUnpin for VersionScope<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for VersionScope<P>where
P: UnwindSafe,
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