#[non_exhaustive]pub struct PackageStash {
pub package: String,
pub range: SourceLocation,
pub declaration_item: Option<HirId>,
pub slots: Vec<GlobSlot>,
pub provenance: StashProvenance,
pub confidence: StashConfidence,
}Expand description
One Perl package stash.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package: StringPackage name.
range: SourceLocationSource range that first established this package.
declaration_item: Option<HirId>HIR item that first established this package, when available.
slots: Vec<GlobSlot>Symbol slots observed for this package.
provenance: StashProvenanceHow this stash fact was produced.
confidence: StashConfidenceConfidence in this stash fact.
Trait Implementations§
Source§impl Clone for PackageStash
impl Clone for PackageStash
Source§fn clone(&self) -> PackageStash
fn clone(&self) -> PackageStash
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 PackageStash
impl Debug for PackageStash
Source§impl PartialEq for PackageStash
impl PartialEq for PackageStash
Source§fn eq(&self, other: &PackageStash) -> bool
fn eq(&self, other: &PackageStash) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PackageStash
impl StructuralPartialEq for PackageStash
Auto Trait Implementations§
impl Freeze for PackageStash
impl RefUnwindSafe for PackageStash
impl Send for PackageStash
impl Sync for PackageStash
impl Unpin for PackageStash
impl UnsafeUnpin for PackageStash
impl UnwindSafe for PackageStash
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