pub struct Variable<'i> {
pub name: &'i str,
pub span: Span,
}
Fields§
§name: &'i str
§span: Span
Trait Implementations§
impl<'i> Eq for Variable<'i>
impl<'i> StructuralPartialEq for Variable<'i>
Auto Trait Implementations§
impl<'i> Freeze for Variable<'i>
impl<'i> RefUnwindSafe for Variable<'i>
impl<'i> Send for Variable<'i>
impl<'i> Sync for Variable<'i>
impl<'i> Unpin for Variable<'i>
impl<'i> UnwindSafe for Variable<'i>
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