pub enum SemanticEventKind {
Begin(DistributionHeader),
DocumentMetadata(Box<DocumentMeta>),
Dependency(DependencyEvent),
Module(ModuleEvent),
End,
}Expand description
The semantic payload of one format-neutral traversal event.
Variants§
Begin(DistributionHeader)
Starts a distribution.
DocumentMetadata(Box<DocumentMeta>)
Document-owned 4.1.0 metadata, emitted immediately after the header.
Dependency(DependencyEvent)
Provides one dependency specification.
Module(ModuleEvent)
Provides one module.
End
Ends the distribution.
Trait Implementations§
Source§impl Clone for SemanticEventKind
impl Clone for SemanticEventKind
Source§impl Debug for SemanticEventKind
impl Debug for SemanticEventKind
Source§impl PartialEq for SemanticEventKind
impl PartialEq for SemanticEventKind
impl StructuralPartialEq for SemanticEventKind
Auto Trait Implementations§
impl Freeze for SemanticEventKind
impl RefUnwindSafe for SemanticEventKind
impl Send for SemanticEventKind
impl Sync for SemanticEventKind
impl Unpin for SemanticEventKind
impl UnsafeUnpin for SemanticEventKind
impl UnwindSafe for SemanticEventKind
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