[−][src]Type Definition fastobo::ast::Eol
type Eol = Line<()>;
The optional part of a line, holding a qualifier list and a comment.
It can be used as a builder to create a fully-fledged Line
.
Example
let line = Eol::with_comment(Comment::new("ENVO uses 8 digits identifiers")) .and_inner(ClassIdent::from_str("ENVO:00000001").unwrap()); let frame = TermFrame::new(line); assert_eq!(frame.to_string(), "[Term] id: ENVO:00000001 ! ENVO uses 8 digits identifiers ");