pub struct Keyword<'a> {
pub key: Cow<'a, str>,
pub optional: Option<Cow<'a, str>>,
pub value: Cow<'a, str>,
pub post_blank: usize,
}
Expand description
Keyword Element
Fields§
§key: Cow<'a, str>
Keyword name
optional: Option<Cow<'a, str>>
§value: Cow<'a, str>
Keyword value
post_blank: usize
Numbers of blank lines between keyword line and next non-blank line or buffer’s end
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Keyword<'a>
impl<'a> RefUnwindSafe for Keyword<'a>
impl<'a> Send for Keyword<'a>
impl<'a> Sync for Keyword<'a>
impl<'a> Unpin for Keyword<'a>
impl<'a> UnwindSafe for Keyword<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more