#[non_exhaustive]pub enum ValueOrigin {
File {
entry: usize,
key: String,
span: Range<usize>,
},
Lookup,
}Expand description
Where one resolved variable value came from.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ValueOrigin
impl Clone for ValueOrigin
Source§impl Debug for ValueOrigin
impl Debug for ValueOrigin
impl Eq for ValueOrigin
Source§impl PartialEq for ValueOrigin
impl PartialEq for ValueOrigin
impl StructuralPartialEq for ValueOrigin
Auto Trait Implementations§
impl Freeze for ValueOrigin
impl RefUnwindSafe for ValueOrigin
impl Send for ValueOrigin
impl Sync for ValueOrigin
impl Unpin for ValueOrigin
impl UnsafeUnpin for ValueOrigin
impl UnwindSafe for ValueOrigin
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