pub struct TextSegment {
pub start_utf16: usize,
pub end_utf16: usize,
pub source: SegmentSource,
pub contexts: Vec<InlineContext>,
pub xml_path: Vec<usize>,
}Fields§
§start_utf16: usize§end_utf16: usize§source: SegmentSource§contexts: Vec<InlineContext>§xml_path: Vec<usize>Trait Implementations§
Source§impl Clone for TextSegment
impl Clone for TextSegment
Source§impl Debug for TextSegment
impl Debug for TextSegment
impl Eq for TextSegment
Source§impl PartialEq for TextSegment
impl PartialEq for TextSegment
impl StructuralPartialEq for TextSegment
Auto Trait Implementations§
impl Forget for TextSegment
impl Freeze for TextSegment
impl Move for TextSegment
impl RefUnwindSafe for TextSegment
impl Send for TextSegmentwhere
RawVecInner: Send,
impl Sync for TextSegmentwhere
RawVecInner: Sync,
impl Unpin for TextSegment
impl UnsafeUnpin for TextSegmentwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<InlineContext>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for TextSegmentwhere
RawVecInner: UnwindSafe,
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