Struct include_merkle::Include
source · 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 StructuralEq for Include
impl StructuralPartialEq for Include
Auto Trait Implementations
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnwindSafe for Include
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.