Struct roblox::instance::GuiLabel [−][src]
pub struct GuiLabel<'a> {}Show 61 fields
pub active: bool, pub anchor_point: Vector2, pub automatic_size: AutomaticSize, pub background_color3: Color3, pub background_transparency: f32, pub border_color3: Color3, pub border_mode: BorderMode, pub border_size_pixel: i32, pub clips_descendants: bool, pub layout_order: i32, pub next_selection_down: Option<InstanceRef>, pub next_selection_left: Option<InstanceRef>, pub next_selection_right: Option<InstanceRef>, pub next_selection_up: Option<InstanceRef>, pub position: UDim2, pub rotation: f32, pub selectable: bool, pub selection_image_object: Option<InstanceRef>, pub size: UDim2, pub size_constraint: SizeConstraint, pub transparency: f32, pub visible: bool, pub z_index: i32, pub absolute_position: Vector2, pub absolute_rotation: f32, pub absolute_size: Vector2, pub auto_localize: bool, pub clipped_rect: Rect, pub is_not_occluded: bool, pub raw_rect2_d: Rect, pub root_localization_table: Option<InstanceRef>, pub total_group_scale: f32, 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 input_began: RBXScriptSignal<Option<InstanceRef>>, pub input_changed: RBXScriptSignal<Option<InstanceRef>>, pub input_ended: RBXScriptSignal<Option<InstanceRef>>, pub mouse_enter: RBXScriptSignal<(i32, i32)>, pub mouse_leave: RBXScriptSignal<(i32, i32)>, pub mouse_moved: RBXScriptSignal<(i32, i32)>, pub mouse_wheel_backward: RBXScriptSignal<(i32, i32)>, pub mouse_wheel_forward: RBXScriptSignal<(i32, i32)>, pub selection_gained: RBXScriptSignal<()>, pub selection_lost: RBXScriptSignal<()>, pub touch_long_press: RBXScriptSignal<(Array<Variant<'a, ()>>, UserInputState)>, pub touch_pan: RBXScriptSignal<(Array<Variant<'a, ()>>, Vector2, Vector2, UserInputState)>, pub touch_pinch: RBXScriptSignal<(Array<Variant<'a, ()>>, f32, f32, UserInputState)>, pub touch_rotate: RBXScriptSignal<(Array<Variant<'a, ()>>, f32, f32, UserInputState)>, pub touch_swipe: RBXScriptSignal<(SwipeDirection, i32)>, pub touch_tap: RBXScriptSignal<Array<Variant<'a, ()>>>, 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 GuiLabel Instance Class
Fields
active: bool
Inherited from GuiObject
anchor_point: Vector2
Inherited from GuiObject
automatic_size: AutomaticSize
Inherited from GuiObject
background_color3: Color3
Inherited from GuiObject
background_transparency: f32
Inherited from GuiObject
border_color3: Color3
Inherited from GuiObject
border_mode: BorderMode
Inherited from GuiObject
border_size_pixel: i32
Inherited from GuiObject
clips_descendants: bool
Inherited from GuiObject
layout_order: i32
Inherited from GuiObject
next_selection_down: Option<InstanceRef>
Inherited from GuiObject
next_selection_left: Option<InstanceRef>
Inherited from GuiObject
next_selection_right: Option<InstanceRef>
Inherited from GuiObject
next_selection_up: Option<InstanceRef>
Inherited from GuiObject
position: UDim2
Inherited from GuiObject
rotation: f32
Inherited from GuiObject
selectable: bool
Inherited from GuiObject
selection_image_object: Option<InstanceRef>
Inherited from GuiObject
size: UDim2
Inherited from GuiObject
size_constraint: SizeConstraint
Inherited from GuiObject
transparency: f32
Inherited from GuiObject
visible: bool
Inherited from GuiObject
z_index: i32
Inherited from GuiObject
absolute_position: Vector2
Inherited from GuiBase2d
absolute_rotation: f32
Inherited from GuiBase2d
absolute_size: Vector2
Inherited from GuiBase2d
auto_localize: bool
Inherited from GuiBase2d
clipped_rect: Rect
Inherited from GuiBase2d
is_not_occluded: bool
Inherited from GuiBase2d
raw_rect2_d: Rect
Inherited from GuiBase2d
root_localization_table: Option<InstanceRef>
Inherited from GuiBase2d
total_group_scale: f32
Inherited from GuiBase2d
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
input_began: RBXScriptSignal<Option<InstanceRef>>
Inherited from GuiObject
input_changed: RBXScriptSignal<Option<InstanceRef>>
Inherited from GuiObject
input_ended: RBXScriptSignal<Option<InstanceRef>>
Inherited from GuiObject
mouse_enter: RBXScriptSignal<(i32, i32)>
Inherited from GuiObject
mouse_leave: RBXScriptSignal<(i32, i32)>
Inherited from GuiObject
mouse_moved: RBXScriptSignal<(i32, i32)>
Inherited from GuiObject
mouse_wheel_backward: RBXScriptSignal<(i32, i32)>
Inherited from GuiObject
mouse_wheel_forward: RBXScriptSignal<(i32, i32)>
Inherited from GuiObject
selection_gained: RBXScriptSignal<()>
Inherited from GuiObject
selection_lost: RBXScriptSignal<()>
Inherited from GuiObject
touch_long_press: RBXScriptSignal<(Array<Variant<'a, ()>>, UserInputState)>
Inherited from GuiObject
touch_pan: RBXScriptSignal<(Array<Variant<'a, ()>>, Vector2, Vector2, UserInputState)>
Inherited from GuiObject
touch_pinch: RBXScriptSignal<(Array<Variant<'a, ()>>, f32, f32, UserInputState)>
Inherited from GuiObject
touch_rotate: RBXScriptSignal<(Array<Variant<'a, ()>>, f32, f32, UserInputState)>
Inherited from GuiObject
touch_swipe: RBXScriptSignal<(SwipeDirection, i32)>
Inherited from GuiObject
touch_tap: RBXScriptSignal<Array<Variant<'a, ()>>>
Inherited from GuiObject
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 tween_position(
&self,
end_position: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
pub fn tween_position(
&self,
end_position: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
Inherited from GuiObject
pub fn tween_size(
&self,
end_size: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
pub fn tween_size(
&self,
end_size: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
Inherited from GuiObject
pub fn tween_size_and_position(
&self,
end_size: UDim2,
end_position: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
pub fn tween_size_and_position(
&self,
end_size: UDim2,
end_position: UDim2,
easing_direction: EasingDirection,
easing_style: EasingStyle,
time: f32,
override: bool,
callback: &'a dyn Fn(&'static [Variant<'a, ()>]) -> Array<Variant<'a, ()>>
) -> bool
Inherited from GuiObject
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 GuiLabel<'a>
impl<'a> UnwindSafe for GuiLabel<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more