docs: document pre_blank and post_blank

This commit is contained in:
PoiScript 2019-10-30 11:33:01 +08:00
parent 73c6e9de8f
commit 1cc22d49ab
11 changed files with 57 additions and 26 deletions

View file

@ -6,7 +6,10 @@ use crate::parsers::{blank_lines, take_lines_while};
#[cfg_attr(test, derive(PartialEq))]
#[cfg_attr(feature = "ser", derive(serde::Serialize))]
pub struct FixedWidth<'a> {
/// Fxied width value
pub value: Cow<'a, str>,
/// Numbers of blank lines between last fixed width's line and next
/// non-blank line or buffer's end
pub post_blank: usize,
}