pub trait PlatformTrait: PlatformTraitConst {
// Required method
fn as_raw_mut_Platform(&mut self) -> *mut c_void;
// Provided methods
fn set(&mut self, p: &impl PlatformTraitConst) -> Result<()> { ... }
fn set_1(&mut self, p: Platform) { ... }
}
Expand description
Mutable methods for core::Platform
Required Methods§
fn as_raw_mut_Platform(&mut self) -> *mut c_void
Provided Methods§
fn set(&mut self, p: &impl PlatformTraitConst) -> Result<()>
fn set_1(&mut self, p: Platform)
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.