Struct roblox::instance::Stats [−][src]
pub struct Stats<'a> {Show 23 fields
pub contacts_count: i32,
pub data_receive_kbps: f32,
pub data_send_kbps: f32,
pub heartbeat_time_ms: f32,
pub instance_count: i32,
pub moving_primitives_count: i32,
pub physics_receive_kbps: f32,
pub physics_send_kbps: f32,
pub physics_step_time_ms: f32,
pub primitives_count: i32,
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 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 Stats Instance Class
Fields
contacts_count: i32data_receive_kbps: f32data_send_kbps: f32heartbeat_time_ms: f32instance_count: i32moving_primitives_count: i32physics_receive_kbps: f32physics_send_kbps: f32physics_step_time_ms: f32primitives_count: i32archivable: boolInherited from Instance
class_name: &'a strInherited from Instance
name: &'a strInherited from Instance
parent: Option<InstanceRef>Inherited from Instance
roblox_locked: boolInherited from Instance
source_asset_id: i64Inherited 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 get_paginated_memory_by_texture(
&self,
query_type: TextureQueryType,
page_index: i32,
page_size: i32
) -> Dictionary
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 Stats<'a>
impl<'a> UnwindSafe for Stats<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more