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§
Sourcefn is_opening(self) -> bool
fn is_opening(self) -> bool
IsOpening() overload
Sourcefn is_closing(self) -> bool
fn is_closing(self) -> bool
IsClosing() overload
Sourcefn set_proc(self, proc: impl Into<GameMessage>)
fn set_proc(self, proc: impl Into<GameMessage>)
SetProc(crate::app::gamemessage::GameMessage) overload
Sourcefn get_text_mesh_pro_component(self) -> TextMeshProUGUI
fn get_text_mesh_pro_component(self) -> TextMeshProUGUI
GetTextMeshProComponent() overload
Sourcefn calc_pos_x(self) -> f32
fn calc_pos_x(self) -> f32
CalcPosX() overload
Sourcefn calc_pos_y(self) -> f32
fn calc_pos_y(self) -> f32
CalcPosY() overload
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn set_shadow_off(self)
fn set_shadow_off(self)
SetShadowOff() overload
Sourcefn set_position(self, x: impl Into<f32>, y: impl Into<f32>)
fn set_position(self, x: impl Into<f32>, y: impl Into<f32>)
SetPosition(f32, f32) 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§
impl<__T: IGameMessageContent> IGameMessageContentMethods for __T
Available on crate feature
app-gamemessagecontent only.