pub struct EmbedResult {
pub content: String,
pub diagnostics: Vec<Diagnostic>,
pub embed_deps: Vec<(String, String)>,
}Expand description
The result of resolving embed placeholders in a document.
Fields§
§content: StringThe content with embed placeholders replaced by inlined file content.
diagnostics: Vec<Diagnostic>Diagnostics produced during resolution (missing files, cycles, etc.).
embed_deps: Vec<(String, String)>(target_path, source_path) pairs for watch-mode invalidation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EmbedResult
impl RefUnwindSafe for EmbedResult
impl Send for EmbedResult
impl Sync for EmbedResult
impl Unpin for EmbedResult
impl UnsafeUnpin for EmbedResult
impl UnwindSafe for EmbedResult
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