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