pub struct Drawer<'a> {
pub name: Cow<'a, str>,
pub pre_blank: usize,
pub post_blank: usize,
}
Expand description
Drawer Element
Fields§
§name: Cow<'a, str>
Drawer name
pre_blank: usize
Numbers of blank lines between first drawer’s line and next non-blank line
post_blank: usize
Numbers of blank lines between last drawer’s line and next non-blank line or buffer’s end
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Drawer<'a>
impl<'a> RefUnwindSafe for Drawer<'a>
impl<'a> Send for Drawer<'a>
impl<'a> Sync for Drawer<'a>
impl<'a> Unpin for Drawer<'a>
impl<'a> UnwindSafe for Drawer<'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