pub struct ExportSet {
pub default_exports: Vec<String>,
pub optional_exports: Vec<String>,
pub tags: Vec<ExportTag>,
pub provenance: Provenance,
pub confidence: Confidence,
pub module_name: Option<String>,
pub anchor_id: Option<AnchorId>,
}Expand description
Canonical export facts inferred for a Perl package.
Fields§
§default_exports: Vec<String>Package symbols exported by default (@EXPORT).
optional_exports: Vec<String>Package symbols exported on request (@EXPORT_OK).
Named export groups (%EXPORT_TAGS).
provenance: ProvenanceHow this export set was inferred.
confidence: ConfidenceConfidence for the inferred export set.
module_name: Option<String>Exporting module or package name, when known.
anchor_id: Option<AnchorId>Source anchor of the export declaration, when available.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExportSet
impl<'de> Deserialize<'de> for ExportSet
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExportSet
impl StructuralPartialEq for ExportSet
Auto Trait Implementations§
impl Freeze for ExportSet
impl RefUnwindSafe for ExportSet
impl Send for ExportSet
impl Sync for ExportSet
impl Unpin for ExportSet
impl UnsafeUnpin for ExportSet
impl UnwindSafe for ExportSet
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