pub enum DescItemKind {
Scope,
Ref,
Em,
Strong,
Code,
Link,
JavadocLink,
Markup,
Arg,
CodeBlock,
CodeBlockHl(CodeBlockHighlightKind),
}Variants§
Scope
Generic block of documentation.
Ref
Cross-reference to a Lua object.
Em
Emphasis.
Strong
Strong emphasis.
Code
Code markup.
Link
Hyperlink.
JavadocLink
Javadoc @link
Markup
Inline markup, like stars around emphasized text.
Arg
Directive name, code-block syntax name, role name, or some other form of argument.
CodeBlock
Line of code in a code block.
CodeBlockHl(CodeBlockHighlightKind)
Line of code in a code block highlighted by Lua lexer.
Trait Implementations§
Source§impl Clone for DescItemKind
impl Clone for DescItemKind
Source§fn clone(&self) -> DescItemKind
fn clone(&self) -> DescItemKind
Returns a duplicate of the value. Read more
1.0.0 · 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 DescItemKind
impl Debug for DescItemKind
Source§impl PartialEq for DescItemKind
impl PartialEq for DescItemKind
impl Eq for DescItemKind
impl StructuralPartialEq for DescItemKind
Auto Trait Implementations§
impl Freeze for DescItemKind
impl RefUnwindSafe for DescItemKind
impl Send for DescItemKind
impl Sync for DescItemKind
impl Unpin for DescItemKind
impl UnsafeUnpin for DescItemKind
impl UnwindSafe for DescItemKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more