rustc_errors::markdown::parse

Type Alias ParseResult

source
type ParseResult<'a> = Option<(MdTree<'a>, &'a [u8])>;
Expand description

Output of a parse function

Aliased Type§

enum ParseResult<'a> {
    None,
    Some((MdTree<'a>, &'a [u8])),
}

Variants§

§

None

No value.

§

Some((MdTree<'a>, &'a [u8]))

Some value of type T.

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: 56 bytes

Size for each variant:

  • None: 0 bytes
  • Some: 56 bytes