pub enum Variable<'a> {
Any,
Unify(&'a str),
}
Variants
Any
Unify(&'a str)
Trait Implementations
sourceimpl<'a> FromBorrowedStr<'a> for Variable<'a>
impl<'a> FromBorrowedStr<'a> for Variable<'a>
Allows Either<Variable, _>
to implement FromBorrowedStr
.
type Err = VariableParseError
fn from_borrowed_str(s: &'a str) -> Result<Self, Self::Err>
impl<'a> StructuralPartialEq for Variable<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Variable<'a>
impl<'a> Send for Variable<'a>
impl<'a> Sync for Variable<'a>
impl<'a> Unpin for Variable<'a>
impl<'a> UnwindSafe for Variable<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more