Enum rustdoc::theme::Events [−][src]
enum Events {
StartLineComment(usize),
StartComment(usize),
EndComment(usize),
InBlock(usize),
OutBlock(usize),
}
Expand description
All variants contain the position they occur.
Variants
StartLineComment(usize)
Tuple Fields of StartLineComment
0: usize
StartComment(usize)
Tuple Fields of StartComment
0: usize
EndComment(usize)
Tuple Fields of EndComment
0: usize
InBlock(usize)
Tuple Fields of InBlock
0: usize
OutBlock(usize)
Tuple Fields of OutBlock
0: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Events
impl UnwindSafe for Events
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
StartLineComment
: 8 bytesStartComment
: 8 bytesEndComment
: 8 bytesInBlock
: 8 bytesOutBlock
: 8 bytes