pub struct ResolvedInclude {
pub id: String,
pub name: String,
pub source: InputSource,
}Expand description
A resolved include containing the source identity and the content.
Fields§
§id: StringThe canonical identity of the included source, used for cycle detection and absolute paths.
name: StringThe display name of the included source, used for error messages.
source: InputSourceThe actual content to parse.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedInclude
impl !RefUnwindSafe for ResolvedInclude
impl !Send for ResolvedInclude
impl !Sync for ResolvedInclude
impl Unpin for ResolvedInclude
impl UnsafeUnpin for ResolvedInclude
impl !UnwindSafe for ResolvedInclude
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