Enum rustfmt_nightly::comment::CodeBlockAttribute [−][src]
enum CodeBlockAttribute {
Rust,
Ignore,
Text,
ShouldPanic,
NoRun,
CompileFail,
}
Expand description
Attributes for code blocks in rustdoc. See https://doc.rust-lang.org/rustdoc/print.html#attributes.
Variants
Implementations
Auto Trait Implementations
impl RefUnwindSafe for CodeBlockAttribute
impl Send for CodeBlockAttribute
impl Sync for CodeBlockAttribute
impl Unpin for CodeBlockAttribute
impl UnwindSafe for CodeBlockAttribute
Blanket Implementations
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: 1 byte
Size for each variant:
Rust
: 0 bytesIgnore
: 0 bytesText
: 0 bytesShouldPanic
: 0 bytesNoRun
: 0 bytesCompileFail
: 0 bytes