pub trait StaticBoxMethods: ControlMethods {
// Provided method
fn create_str<W: WindowMethods, P: PointMethods, S: SizeMethods>(
&self,
parent: Option<&W>,
id: c_int,
label: &str,
pos: &P,
size: &S,
style: c_long,
name: &str,
) -> bool { ... }
}Expand description
This trait represents C++ wxStaticBox class’s methods and inheritance.
See StaticBoxIsOwned documentation for the class usage.
Provided Methods§
Sourcefn create_str<W: WindowMethods, P: PointMethods, S: SizeMethods>(
&self,
parent: Option<&W>,
id: c_int,
label: &str,
pos: &P,
size: &S,
style: c_long,
name: &str,
) -> bool
fn create_str<W: WindowMethods, P: PointMethods, S: SizeMethods>( &self, parent: Option<&W>, id: c_int, label: &str, pos: &P, size: &S, style: c_long, name: &str, ) -> bool
Creates the static box for two-step construction.
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.