pub struct ConfigEntrySpan {
pub path: PathBuf,
pub start: usize,
pub end: usize,
}Expand description
The place where a config file declares one entry of a list setting.
Fields§
§path: PathBufThe canonical path of the config file that declares the entry. For an
extends chain, this is the file whose list is in effect.
start: usizeThe byte offset where the entry starts, at its opening quote.
end: usizeThe byte offset where the entry ends, after its closing quote.
Trait Implementations§
Source§impl Clone for ConfigEntrySpan
impl Clone for ConfigEntrySpan
Source§impl Debug for ConfigEntrySpan
impl Debug for ConfigEntrySpan
impl Eq for ConfigEntrySpan
Source§impl PartialEq for ConfigEntrySpan
impl PartialEq for ConfigEntrySpan
impl StructuralPartialEq for ConfigEntrySpan
Auto Trait Implementations§
impl Freeze for ConfigEntrySpan
impl RefUnwindSafe for ConfigEntrySpan
impl Send for ConfigEntrySpan
impl Sync for ConfigEntrySpan
impl Unpin for ConfigEntrySpan
impl UnsafeUnpin for ConfigEntrySpan
impl UnwindSafe for ConfigEntrySpan
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§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.