pub enum DocKind {
Preceding,
Trailing,
}Expand description
The kind of documentation comment.
Variants§
Preceding
Preceding documentation: -- | or {- | -}
Documents the following item.
Trailing
Trailing documentation: -- ^ or {- ^ -}
Documents the preceding item.
Trait Implementations§
impl Copy for DocKind
impl Eq for DocKind
impl StructuralPartialEq for DocKind
Auto Trait Implementations§
impl Freeze for DocKind
impl RefUnwindSafe for DocKind
impl Send for DocKind
impl Sync for DocKind
impl Unpin for DocKind
impl UnsafeUnpin for DocKind
impl UnwindSafe for DocKind
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