pub struct Binding {
pub feature: String,
pub step_span: Span,
pub macro_name: String,
}Expand description
One prose step bound to a macro — powers go-to-definition and references.
Fields§
§feature: StringSource name of the feature file the step lives in.
step_span: SpanByte span of the step text in the normalized feature source.
macro_name: StringThe macro this step resolved to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin 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