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: String
Text of the signature.
range: TextRange
Range 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 copy 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.