pub enum Framework {
Moose,
Moo,
Mouse,
ClassAccessor,
ObjectPad,
Native,
NativeClass,
PlainOO,
None,
}Expand description
Which OO framework a package uses.
Variants§
Moose
use Moose;
Moo
use Moo;
Mouse
use Mouse;
ClassAccessor
use Class::Accessor; or use parent 'Class::Accessor';
ObjectPad
use Object::Pad;
Native
Native Perl OOP (bless-based)
NativeClass
Native Perl 5.38+ class (use feature ‘class’)
PlainOO
Plain OO via use parent, use base, or @ISA (no framework)
None
No OO framework detected
Trait Implementations§
impl Copy for Framework
impl Eq for Framework
impl StructuralPartialEq for Framework
Auto Trait Implementations§
impl Freeze for Framework
impl RefUnwindSafe for Framework
impl Send for Framework
impl Sync for Framework
impl Unpin for Framework
impl UnsafeUnpin for Framework
impl UnwindSafe for Framework
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.