pub enum ResolvedVariable {
Unique(String),
Ambiguous(Vec<String>),
NotFound,
}Expand description
Result of resolving a variable
Variants§
Unique(String)
Single unambiguous path found
Ambiguous(Vec<String>)
Multiple paths found - needs manual resolution
NotFound
No matching path found
Trait Implementations§
Source§impl Clone for ResolvedVariable
impl Clone for ResolvedVariable
Source§fn clone(&self) -> ResolvedVariable
fn clone(&self) -> ResolvedVariable
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 ResolvedVariable
impl RefUnwindSafe for ResolvedVariable
impl Send for ResolvedVariable
impl Sync for ResolvedVariable
impl Unpin for ResolvedVariable
impl UnwindSafe for ResolvedVariable
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