Enum term_rustdoc::tree::ImplKind
source · pub enum ImplKind {
Inherent,
Trait,
Both,
}
Expand description
This type implements Add
and AddAssign
, and it means
when both operands are the same, the output is the same,
if not, the output is ImplKind::Both
.
This leads to before you add ImplCount
s, if you care about
the same impl kind, you should check it by yourself.
Variants§
Trait Implementations§
source§impl AddAssign for ImplKind
impl AddAssign for ImplKind
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreimpl Copy for ImplKind
Auto Trait Implementations§
impl RefUnwindSafe for ImplKind
impl Send for ImplKind
impl Sync for ImplKind
impl Unpin for ImplKind
impl UnwindSafe for ImplKind
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