pub struct ContentSpec {
pub text: String,
}Expand description
Content specification: raw text input, unstructured.
This struct holds the full source text before any parsing. It’s the entry point for content-level rendering.
Used by: tokenizer, layout generator, renderer, etc.
Fields§
§text: StringRaw textual content to be rendered (unparsed).
Auto Trait Implementations§
impl Freeze for ContentSpec
impl RefUnwindSafe for ContentSpec
impl Send for ContentSpec
impl Sync for ContentSpec
impl Unpin for ContentSpec
impl UnwindSafe for ContentSpec
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