pub struct HashedLines(pub Vec<String>);Expand description
Pre-split list of non-empty lines from a bundled text source.
Derived state for hashed_line_to_string, computed once per
node instance via split_lines.
Tuple Fields§
§0: Vec<String>Implementations§
Source§impl HashedLines
impl HashedLines
Sourcepub fn split_lines(text: &str) -> Self
pub fn split_lines(text: &str) -> Self
Single-call setup. The #[polydat_node] macro invokes
this exactly once in the generated HashedLineToString::new().
Trait Implementations§
impl PolydatSetup for HashedLines
Auto Trait Implementations§
impl Forget for HashedLines
impl Freeze for HashedLines
impl Move for HashedLines
impl RefUnwindSafe for HashedLines
impl Send for HashedLineswhere
RawVecInner: Send,
impl Sync for HashedLineswhere
RawVecInner: Sync,
impl Unpin for HashedLines
impl UnsafeUnpin for HashedLines
impl UnwindSafe for HashedLineswhere
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