pub enum DocKind {
Type,
Syntax,
Handler,
}Expand description
Topical bucket for a documentation entry.
Variants§
Type
Built-in types (String, Integer, Channel, Trusted,
…) — surfaced both on hover and inside type-annotation
completion.
Syntax
Declaration / step / clause keywords (type, flow,
persona, step, ask, …) — surfaced on hover when the
user lands on the keyword itself.
Handler
Stdlib handler names. The 0.g shipped corpus does not
populate this bucket yet (Axon’s “handlers” are step kinds
and field-level keys, mostly covered under Syntax); this
variant exists so future content additions don’t require a
schema change.
Trait Implementations§
Source§impl Ord for DocKind
impl Ord for DocKind
Source§impl PartialOrd for DocKind
impl PartialOrd for DocKind
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