pub struct Include {
pub include_path: PathBuf,
pub range_start: usize,
pub range_end: usize,
pub relative_path: bool,
}
Expand description
Represents a pattern matched include directive.
Fields§
§include_path: PathBuf
Canonical path to included file
range_start: usize
Start position in text buffer of include directive
range_end: usize
End position in text buffer of include directive
relative_path: bool
Identifies if the path is relative or absolute
Trait Implementations§
impl Eq for Include
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnwindSafe for Include
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.