pub struct HashpipeLineMapping {
pub host_line_range: Range<usize>,
pub host_stripped_range: Range<usize>,
pub normalized_content_range: Range<usize>,
pub normalized_line_range: Range<usize>,
pub host_newline_len: usize,
}Expand description
Per-line mapping between host (original content) and normalized YAML text.
Fields§
§host_line_range: Range<usize>Byte range of the full host line (including newline, if present).
host_stripped_range: Range<usize>Byte range of stripped host line content (without trailing newline bytes).
normalized_content_range: Range<usize>Byte range of normalized line content (without normalized newline byte).
normalized_line_range: Range<usize>Byte range of normalized line including normalized newline, if present.
host_newline_len: usizeHost newline byte length for this line (0, 1 for LF, 2 for CRLF).
Trait Implementations§
Source§impl Clone for HashpipeLineMapping
impl Clone for HashpipeLineMapping
Source§fn clone(&self) -> HashpipeLineMapping
fn clone(&self) -> HashpipeLineMapping
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HashpipeLineMapping
impl Debug for HashpipeLineMapping
Source§impl PartialEq for HashpipeLineMapping
impl PartialEq for HashpipeLineMapping
impl Eq for HashpipeLineMapping
impl StructuralPartialEq for HashpipeLineMapping
Auto Trait Implementations§
impl Freeze for HashpipeLineMapping
impl RefUnwindSafe for HashpipeLineMapping
impl Send for HashpipeLineMapping
impl Sync for HashpipeLineMapping
impl Unpin for HashpipeLineMapping
impl UnsafeUnpin for HashpipeLineMapping
impl UnwindSafe for HashpipeLineMapping
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