pub struct SignatureHelp {
pub label: String,
pub range: TextRange,
pub parameters: Vec<SignatureParameter>,
pub active_parameter: Option<usize>,
pub detail: Option<String>,
}Expand description
An ink! attribute signature help.
Fields§
§label: StringText of the signature.
range: TextRangeRange where the signature applies.
parameters: Vec<SignatureParameter>Parameters of the signature.
active_parameter: Option<usize>Index of the active parameter.
detail: Option<String>Extra details about the signature.
Trait Implementations§
Source§impl Clone for SignatureHelp
impl Clone for SignatureHelp
Source§fn clone(&self) -> SignatureHelp
fn clone(&self) -> SignatureHelp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignatureHelp
impl Debug for SignatureHelp
Source§impl PartialEq for SignatureHelp
impl PartialEq for SignatureHelp
impl Eq for SignatureHelp
impl StructuralPartialEq for SignatureHelp
Auto Trait Implementations§
impl Freeze for SignatureHelp
impl RefUnwindSafe for SignatureHelp
impl Send for SignatureHelp
impl Sync for SignatureHelp
impl Unpin for SignatureHelp
impl UnwindSafe for SignatureHelp
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