feat(elements): comment and fixed width elements
This commit is contained in:
parent
bd1fc756bd
commit
275fbfad34
4 changed files with 85 additions and 136 deletions
|
|
@ -349,4 +349,18 @@ pub enum Element<'a> {
|
|||
end: usize,
|
||||
value: &'a str,
|
||||
},
|
||||
Comment {
|
||||
#[cfg_attr(all(feature = "serde", not(feature = "extra-serde-info")), serde(skip))]
|
||||
begin: usize,
|
||||
#[cfg_attr(all(feature = "serde", not(feature = "extra-serde-info")), serde(skip))]
|
||||
end: usize,
|
||||
value: &'a str,
|
||||
},
|
||||
FixedWidth {
|
||||
#[cfg_attr(all(feature = "serde", not(feature = "extra-serde-info")), serde(skip))]
|
||||
begin: usize,
|
||||
#[cfg_attr(all(feature = "serde", not(feature = "extra-serde-info")), serde(skip))]
|
||||
end: usize,
|
||||
value: &'a str,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue