Struct roblox::instance::Plugin [−][src]
pub struct Plugin<'a> {}Show 22 fields
pub collision_enabled: bool, pub grid_size: f32, pub host_data_model_type: StudioDataModelType, pub host_data_model_type_is_current: bool, pub multiple_document_interface_instance: Option<InstanceRef>, pub uses_asset_insertion_drag: bool, pub archivable: bool, pub class_name: &'a str, pub name: &'a str, pub parent: Option<InstanceRef>, pub roblox_locked: bool, pub source_asset_id: i64, pub deactivation: RBXScriptSignal<()>, pub ready: RBXScriptSignal<()>, pub unloading: RBXScriptSignal<()>, 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 Plugin Instance Class
Fields
collision_enabled: bool
grid_size: f32
host_data_model_type: StudioDataModelType
host_data_model_type_is_current: bool
multiple_document_interface_instance: Option<InstanceRef>
uses_asset_insertion_drag: bool
archivable: bool
Inherited from Instance
class_name: &'a str
Inherited from Instance
name: &'a str
Inherited from Instance
parent: Option<InstanceRef>
Inherited from Instance
roblox_locked: bool
Inherited from Instance
source_asset_id: i64
Inherited from Instance
deactivation: RBXScriptSignal<()>
ready: RBXScriptSignal<()>
unloading: RBXScriptSignal<()>
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 create_plugin_action(
&self,
action_id: &'a str,
text: &'a str,
status_tip: &'a str,
icon_name: &'a str,
allow_binding: bool
) -> Option<InstanceRef>
pub fn on_invoke(
&self,
key: &'a str,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> Option<InstanceRef>
pub fn on_set_item(
&self,
key: &'a str,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> Option<InstanceRef>
pub fn create_dock_widget_plugin_gui(
&self,
plugin_gui_id: &'a str,
dock_widget_plugin_gui_info: DockWidgetPluginGuiInfo
) -> Option<InstanceRef>
pub fn create_q_widget_plugin_gui(
&self,
plugin_gui_id: &'a str,
plugin_gui_options: Dictionary
) -> Option<InstanceRef>
pub fn import_fbx_animation(
&self,
rig_model: Option<InstanceRef>,
is_r15: bool
) -> Option<InstanceRef>
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for Plugin<'a>
impl<'a> UnwindSafe for Plugin<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more