pub enum ExporterDetector {
UseExporterImport,
UseParentExporter,
UseBaseExporter,
OurIsaExporter,
}Expand description
Detection method for Exporter inheritance.
Variants§
UseExporterImport
Detected via use Exporter; or use Exporter 'import';
UseParentExporter
Detected via use parent 'Exporter'; or use parent qw(Exporter ...)
UseBaseExporter
Detected via use base 'Exporter'; or use base qw(Exporter ...)
OurIsaExporter
Detected via our @ISA = qw(Exporter ...); or bare @ISA = qw(Exporter ...);
Trait Implementations§
Source§impl Clone for ExporterDetector
impl Clone for ExporterDetector
Source§fn clone(&self) -> ExporterDetector
fn clone(&self) -> ExporterDetector
Returns a duplicate of the value. Read more
1.0.0 · 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 ExporterDetector
impl Debug for ExporterDetector
Source§impl PartialEq for ExporterDetector
impl PartialEq for ExporterDetector
impl Copy for ExporterDetector
impl Eq for ExporterDetector
impl StructuralPartialEq for ExporterDetector
Auto Trait Implementations§
impl Freeze for ExporterDetector
impl RefUnwindSafe for ExporterDetector
impl Send for ExporterDetector
impl Sync for ExporterDetector
impl Unpin for ExporterDetector
impl UnsafeUnpin for ExporterDetector
impl UnwindSafe for ExporterDetector
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