pub enum PhpAttributeTarget {
Class,
Function,
Method,
Property,
ClassConstant,
Parameter,
EnumCase,
All,
}Expand description
PHP attribute target metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PhpAttributeTarget
impl Clone for PhpAttributeTarget
Source§fn clone(&self) -> PhpAttributeTarget
fn clone(&self) -> PhpAttributeTarget
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 PhpAttributeTarget
impl Debug for PhpAttributeTarget
Source§impl Display for PhpAttributeTarget
impl Display for PhpAttributeTarget
Source§impl Hash for PhpAttributeTarget
impl Hash for PhpAttributeTarget
Source§impl Ord for PhpAttributeTarget
impl Ord for PhpAttributeTarget
Source§fn cmp(&self, other: &PhpAttributeTarget) -> Ordering
fn cmp(&self, other: &PhpAttributeTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhpAttributeTarget
impl PartialEq for PhpAttributeTarget
Source§fn eq(&self, other: &PhpAttributeTarget) -> bool
fn eq(&self, other: &PhpAttributeTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpAttributeTarget
impl PartialOrd for PhpAttributeTarget
impl Copy for PhpAttributeTarget
impl Eq for PhpAttributeTarget
impl StructuralPartialEq for PhpAttributeTarget
Auto Trait Implementations§
impl Freeze for PhpAttributeTarget
impl RefUnwindSafe for PhpAttributeTarget
impl Send for PhpAttributeTarget
impl Sync for PhpAttributeTarget
impl Unpin for PhpAttributeTarget
impl UnsafeUnpin for PhpAttributeTarget
impl UnwindSafe for PhpAttributeTarget
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