Struct roblox::instance::CommandInstance [−][src]
pub struct CommandInstance<'a> {}Show 21 fields
pub allow_gui_access_points: bool, pub checked: bool, pub default_shortcut: &'a str, pub enabled: bool, pub icon: &'a str, pub name: &'a str, pub permission: CommandPermission, pub status_tip: &'a str, pub text: &'a str, pub archivable: bool, pub class_name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>, pub attribute_changed: RBXScriptSignal<&'a str>, pub changed: RBXScriptSignal<&'a str>, pub child_added: RBXScriptSignal<Option<InstanceRef>>, pub child_removed: RBXScriptSignal<Option<InstanceRef>>, pub descendant_added: RBXScriptSignal<Option<InstanceRef>>, pub descendant_removing: RBXScriptSignal<Option<InstanceRef>>,
Expand description
The CommandInstance Instance Class
Fields
allow_gui_access_points: bool
checked: bool
default_shortcut: &'a str
enabled: bool
icon: &'a str
name: &'a str
permission: CommandPermission
status_tip: &'a str
text: &'a str
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
ancestry_changed: RBXScriptSignal<(Option<InstanceRef>, Option<InstanceRef>)>
Inherited from Instance
attribute_changed: RBXScriptSignal<&'a str>
Inherited from Instance
changed: RBXScriptSignal<&'a str>
Inherited from Instance
child_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
child_removed: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_added: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
descendant_removing: RBXScriptSignal<Option<InstanceRef>>
Inherited from Instance
Implementations
pub fn register_execution_callback(
&self,
callback_function: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
)
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
pub fn find_first_child_which_is_a(
&self,
class_name: &'a str,
recursive: bool
) -> Option<InstanceRef>
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Inherited from Instance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CommandInstance<'a>
impl<'a> Send for CommandInstance<'a>
impl<'a> Sync for CommandInstance<'a>
impl<'a> Unpin for CommandInstance<'a>
impl<'a> UnwindSafe for CommandInstance<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more