pub struct Binding {
pub name: StrRef,
pub pos: Pos,
}Expand description
A source binding. A name attached to a source of events.
§Examples
in FROM e IN events, e is the binding.
Fields§
§name: StrRefName attached to a source of events
pos: PosPosition in the source code where that binding was introduced
Trait Implementations§
impl Copy for Binding
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnwindSafe for Binding
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