Struct roblox::instance::Mouse [−][src]
pub struct Mouse<'a> {Show 32 fields
pub hit: CFrame,
pub icon: &'a str,
pub origin: CFrame,
pub target: Option<InstanceRef>,
pub target_filter: Option<InstanceRef>,
pub target_surface: NormalId,
pub unit_ray: Ray,
pub view_size_x: i32,
pub view_size_y: i32,
pub x: i32,
pub y: 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 button1_down: RBXScriptSignal<()>,
pub button1_up: RBXScriptSignal<()>,
pub button2_down: RBXScriptSignal<()>,
pub button2_up: RBXScriptSignal<()>,
pub idle: RBXScriptSignal<()>,
pub move: RBXScriptSignal<()>,
pub wheel_backward: RBXScriptSignal<()>,
pub wheel_forward: 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 Mouse Instance Class
Fields
hit: CFrameicon: &'a strorigin: CFrametarget: Option<InstanceRef>target_filter: Option<InstanceRef>target_surface: NormalIdunit_ray: Rayview_size_x: i32view_size_y: i32x: i32y: 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
idle: RBXScriptSignal<()>move: RBXScriptSignal<()>wheel_backward: RBXScriptSignal<()>wheel_forward: 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
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 Mouse<'a>
impl<'a> UnwindSafe for Mouse<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more