pub struct SegView<'a> {
pub label: &'a str,
pub byte_start: u32,
pub byte_len: u32,
pub importance: u16,
pub depth: u8,
pub flags: u8,
}Expand description
One segment of a SegsView.
Fields§
§label: &'a strHeading-path label.
byte_start: u32Byte offset in the source document.
byte_len: u32Byte length in the source document.
importance: u16Importance in 1/65535 units.
depth: u8Heading depth.
flags: u8Segment flags (format::base::sflags).
Trait Implementations§
impl<'a> Copy for SegView<'a>
impl<'a> Eq for SegView<'a>
impl<'a> StructuralPartialEq for SegView<'a>
Auto Trait Implementations§
impl<'a> Freeze for SegView<'a>
impl<'a> RefUnwindSafe for SegView<'a>
impl<'a> Send for SegView<'a>
impl<'a> Sync for SegView<'a>
impl<'a> Unpin for SegView<'a>
impl<'a> UnsafeUnpin for SegView<'a>
impl<'a> UnwindSafe for SegView<'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