pub struct SignalParam {
pub name: GodotString,
pub default: Variant,
pub export_info: ExportInfo,
pub usage: PropertyUsage,
}Expand description
Parameter in a signal declaration.
Instead of providing values for each field, check out the param*() methods in SignalBuilder.
Fields§
§name: GodotStringParameter name.
default: VariantDefault value, used when no argument is provided.
export_info: ExportInfoMetadata and UI hints about exporting, e.g. parameter type.
usage: PropertyUsageIn which context the signal parameter is used.
Auto Trait Implementations§
impl Freeze for SignalParam
impl RefUnwindSafe for SignalParam
impl Send for SignalParam
impl Sync for SignalParam
impl Unpin for SignalParam
impl UnwindSafe for SignalParam
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