pub enum FragmentKind {
Item,
Field,
Variant,
Param,
Stmt,
MatchArm,
Expr,
Type,
Pattern,
Doc,
Comment,
}Variants§
Trait Implementations§
Source§impl Clone for FragmentKind
impl Clone for FragmentKind
Source§fn clone(&self) -> FragmentKind
fn clone(&self) -> FragmentKind
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 FragmentKind
impl Debug for FragmentKind
Source§impl PartialEq for FragmentKind
impl PartialEq for FragmentKind
Source§fn eq(&self, other: &FragmentKind) -> bool
fn eq(&self, other: &FragmentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FragmentKind
impl Eq for FragmentKind
impl StructuralPartialEq for FragmentKind
Auto Trait Implementations§
impl Freeze for FragmentKind
impl RefUnwindSafe for FragmentKind
impl Send for FragmentKind
impl Sync for FragmentKind
impl Unpin for FragmentKind
impl UnsafeUnpin for FragmentKind
impl UnwindSafe for FragmentKind
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