pub enum DocblockTagKind {
Param,
Return,
Throws,
Var,
Property,
Method,
Template,
Deprecated,
Since,
See,
Other,
}Expand description
Common PHPDoc tag kind metadata.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DocblockTagKind
impl Clone for DocblockTagKind
Source§fn clone(&self) -> DocblockTagKind
fn clone(&self) -> DocblockTagKind
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 DocblockTagKind
impl Debug for DocblockTagKind
Source§impl Display for DocblockTagKind
impl Display for DocblockTagKind
Source§impl FromStr for DocblockTagKind
impl FromStr for DocblockTagKind
Source§type Err = PhpDocblockError
type Err = PhpDocblockError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<DocblockTagKind, <DocblockTagKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<DocblockTagKind, <DocblockTagKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for DocblockTagKind
impl Hash for DocblockTagKind
Source§impl Ord for DocblockTagKind
impl Ord for DocblockTagKind
Source§fn cmp(&self, other: &DocblockTagKind) -> Ordering
fn cmp(&self, other: &DocblockTagKind) -> 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 DocblockTagKind
impl PartialEq for DocblockTagKind
Source§fn eq(&self, other: &DocblockTagKind) -> bool
fn eq(&self, other: &DocblockTagKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DocblockTagKind
impl PartialOrd for DocblockTagKind
impl Copy for DocblockTagKind
impl Eq for DocblockTagKind
impl StructuralPartialEq for DocblockTagKind
Auto Trait Implementations§
impl Freeze for DocblockTagKind
impl RefUnwindSafe for DocblockTagKind
impl Send for DocblockTagKind
impl Sync for DocblockTagKind
impl Unpin for DocblockTagKind
impl UnsafeUnpin for DocblockTagKind
impl UnwindSafe for DocblockTagKind
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