pub struct Checkbox<'a> {
pub indent: usize,
pub inner_start: usize,
pub inner: &'a str,
pub text: &'a str,
}Expand description
A checkbox line as OpenSpec matches it.
Fields§
§indent: usizeLeading whitespace, in bytes.
inner_start: usizeByte offset of what is between the brackets, within the line.
inner: &'a strWhat is between the brackets.
text: &'a strThe text after the brackets.
Implementations§
Trait Implementations§
impl<'a> Eq for Checkbox<'a>
impl<'a> StructuralPartialEq for Checkbox<'a>
Auto Trait Implementations§
impl<'a> Freeze for Checkbox<'a>
impl<'a> RefUnwindSafe for Checkbox<'a>
impl<'a> Send for Checkbox<'a>
impl<'a> Sync for Checkbox<'a>
impl<'a> Unpin for Checkbox<'a>
impl<'a> UnsafeUnpin for Checkbox<'a>
impl<'a> UnwindSafe for Checkbox<'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