pub trait IdManagerMethods: WxRustMethods {
// Provided methods
fn reserve_id(count: c_int) -> c_int { ... }
fn unreserve_id(id: c_int, count: c_int) { ... }
}Expand description
This trait represents C++ wxIdManager class’s methods and inheritance.
See IdManagerIsOwned documentation for the class usage.
Provided Methods§
Sourcefn reserve_id(count: c_int) -> c_int
fn reserve_id(count: c_int) -> c_int
Called directly by wxWindow::NewControlId(), this function will create a new ID or range of IDs.
Sourcefn unreserve_id(id: c_int, count: c_int)
fn unreserve_id(id: c_int, count: c_int)
Called directly by wxWindow::UnreserveControlId(), this function will unreserve an ID or range of IDs that is currently reserved.
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.