pub enum ContextLocation {
SourceOrTemplate(String, bool),
Variables,
}Expand description
Specifies which file is using the evaluation context.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ContextLocation
impl Clone for ContextLocation
Source§fn clone(&self) -> ContextLocation
fn clone(&self) -> ContextLocation
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 ContextLocation
impl RefUnwindSafe for ContextLocation
impl Send for ContextLocation
impl Sync for ContextLocation
impl Unpin for ContextLocation
impl UnwindSafe for ContextLocation
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