pub enum PhpAttributeRepeatability {
Single,
Repeatable,
}Expand description
PHP attribute repeatability metadata.
Variants§
Implementations§
Source§impl PhpAttributeRepeatability
impl PhpAttributeRepeatability
pub const fn is_repeatable(self) -> bool
Trait Implementations§
Source§impl Clone for PhpAttributeRepeatability
impl Clone for PhpAttributeRepeatability
Source§fn clone(&self) -> PhpAttributeRepeatability
fn clone(&self) -> PhpAttributeRepeatability
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 PhpAttributeRepeatability
impl Debug for PhpAttributeRepeatability
Source§impl Hash for PhpAttributeRepeatability
impl Hash for PhpAttributeRepeatability
Source§impl Ord for PhpAttributeRepeatability
impl Ord for PhpAttributeRepeatability
Source§fn cmp(&self, other: &PhpAttributeRepeatability) -> Ordering
fn cmp(&self, other: &PhpAttributeRepeatability) -> 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 PhpAttributeRepeatability
impl PartialEq for PhpAttributeRepeatability
Source§fn eq(&self, other: &PhpAttributeRepeatability) -> bool
fn eq(&self, other: &PhpAttributeRepeatability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PhpAttributeRepeatability
impl PartialOrd for PhpAttributeRepeatability
impl Copy for PhpAttributeRepeatability
impl Eq for PhpAttributeRepeatability
impl StructuralPartialEq for PhpAttributeRepeatability
Auto Trait Implementations§
impl Freeze for PhpAttributeRepeatability
impl RefUnwindSafe for PhpAttributeRepeatability
impl Send for PhpAttributeRepeatability
impl Sync for PhpAttributeRepeatability
impl Unpin for PhpAttributeRepeatability
impl UnsafeUnpin for PhpAttributeRepeatability
impl UnwindSafe for PhpAttributeRepeatability
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