pub struct MdSpan {
pub a: u32,
pub b: u32,
pub style: u16,
pub link: u32,
pub image: u32,
pub color: u32,
pub bg: u32,
pub field: u32,
}Expand description
a range of a block’s text with its style
Fields§
§a: u32bytes a .. b of the block’s text
b: u32§style: u16MS_*
link: u32a link: index + 1 into MdDoc::links (0: none)
image: u32an image (the text is U+FFFC): index + 1 into MdDoc::images (0: none)
color: u32HTML colours 0xAARRGGBB (0: the theme’s)
bg: u32§field: u32a form field (the text is U+FFFC): index + 1 into MdDoc::fields (0: none)
Trait Implementations§
impl Eq for MdSpan
impl StructuralPartialEq for MdSpan
Auto Trait Implementations§
impl Forget for MdSpan
impl Freeze for MdSpan
impl RefUnwindSafe for MdSpan
impl Send for MdSpan
impl Sync for MdSpan
impl Unpin for MdSpan
impl UnsafeUnpin for MdSpan
impl UnwindSafe for MdSpan
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