pub struct SignatureInfo {
pub label: String,
pub doc: Markdown,
pub params: Vec<ParamInfo>,
}Expand description
One signature shown in signature help (GDScript has no overloads, so usually one).
Fields§
§label: StringThe full signature label, e.g.
add_child(node: Node, force_readable_name: bool = false) -> void.
doc: MarkdownOptional documentation (Markdown).
params: Vec<ParamInfo>The parameters, in order.
Trait Implementations§
Source§impl Clone for SignatureInfo
impl Clone for SignatureInfo
Source§fn clone(&self) -> SignatureInfo
fn clone(&self) -> SignatureInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SignatureInfo
impl Debug for SignatureInfo
Source§impl<'de> Deserialize<'de> for SignatureInfo
impl<'de> Deserialize<'de> for SignatureInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignatureInfo
Source§impl PartialEq for SignatureInfo
impl PartialEq for SignatureInfo
Source§fn eq(&self, other: &SignatureInfo) -> bool
fn eq(&self, other: &SignatureInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SignatureInfo
impl Serialize for SignatureInfo
impl StructuralPartialEq for SignatureInfo
Auto Trait Implementations§
impl Freeze for SignatureInfo
impl RefUnwindSafe for SignatureInfo
impl Send for SignatureInfo
impl Sync for SignatureInfo
impl Unpin for SignatureInfo
impl UnsafeUnpin for SignatureInfo
impl UnwindSafe for SignatureInfo
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