pub struct Action {
pub label: String,
pub kind: ActionKind,
pub range: TextRange,
pub edits: Vec<TextEdit>,
}Expand description
An ink! attribute code/intent action.
Fields§
§label: StringLabel which identifies the action.
kind: ActionKindThe kind of the action (e.g. quickfix or refactor).
range: TextRangeRange where the action is activated.
edits: Vec<TextEdit>Text edits that will be performed by the action.
Trait Implementations§
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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