pub struct IncludeContext {
pub include_stack: Vec<String>,
pub include_dirs: Vec<String>,
}Expand description
Context for include resolution
Fields§
§include_stack: Vec<String>Stack of currently included files for cycle detection and context
include_dirs: Vec<String>List of include directories to search
Trait Implementations§
Source§impl Clone for IncludeContext
impl Clone for IncludeContext
Source§fn clone(&self) -> IncludeContext
fn clone(&self) -> IncludeContext
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 IncludeContext
impl Debug for IncludeContext
Source§impl Default for IncludeContext
impl Default for IncludeContext
Source§fn default() -> IncludeContext
fn default() -> IncludeContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncludeContext
impl RefUnwindSafe for IncludeContext
impl Send for IncludeContext
impl Sync for IncludeContext
impl Unpin for IncludeContext
impl UnwindSafe for IncludeContext
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