Skip to main content

IGameMessageContentMethods

Trait IGameMessageContentMethods 

Source
pub trait IGameMessageContentMethods: IGameMessageContent {
Show 15 methods // Provided methods fn is_opening(self) -> bool { ... } fn is_closing(self) -> bool { ... } fn is_closed(self) -> bool { ... } fn open(self) { ... } fn close(self) { ... } fn set_proc(self, proc: impl Into<GameMessage>) { ... } fn get_text_mesh_pro_component(self) -> TextMeshProUGUI { ... } fn build(self) { ... } fn delete(self) { ... } fn calc_pos_x(self) -> f32 { ... } fn calc_pos_y(self) -> f32 { ... } fn on_destroy(self) { ... } fn set_shadow_off(self) { ... } fn set_position(self, x: impl Into<f32>, y: impl Into<f32>) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn is_opening(self) -> bool

IsOpening() overload

Source

fn is_closing(self) -> bool

IsClosing() overload

Source

fn is_closed(self) -> bool

IsClosed() overload

Source

fn open(self)

Open() overload

Source

fn close(self)

Close() overload

Source

fn set_proc(self, proc: impl Into<GameMessage>)

SetProc(crate::app::gamemessage::GameMessage) overload

Source

fn get_text_mesh_pro_component(self) -> TextMeshProUGUI

GetTextMeshProComponent() overload

Source

fn build(self)

Build() overload

Source

fn delete(self)

Delete() overload

Source

fn calc_pos_x(self) -> f32

CalcPosX() overload

Source

fn calc_pos_y(self) -> f32

CalcPosY() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn set_shadow_off(self)

SetShadowOff() overload

Source

fn set_position(self, x: impl Into<f32>, y: impl Into<f32>)

SetPosition(f32, f32) overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IGameMessageContent> IGameMessageContentMethods for __T

Available on crate feature app-gamemessagecontent only.