pub struct ValueLocation {
pub path: Arc<PathBuf>,
pub content: Text,
pub location: Range<usize>,
}Expand description
The on-disk file name and byte offsets that provide the config value. Useful if applications want to edit config values in-place.
Fields§
§path: Arc<PathBuf>§content: Text§location: Range<usize>Trait Implementations§
Source§impl Clone for ValueLocation
impl Clone for ValueLocation
Source§fn clone(&self) -> ValueLocation
fn clone(&self) -> ValueLocation
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 moreAuto Trait Implementations§
impl Freeze for ValueLocation
impl !RefUnwindSafe for ValueLocation
impl Send for ValueLocation
impl Sync for ValueLocation
impl Unpin for ValueLocation
impl !UnwindSafe for ValueLocation
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