pub trait MatSizeTrait: MatSizeTraitConst {
// Required method
fn as_raw_mut_MatSize(&mut self) -> *mut c_void;
// Provided methods
fn p_mut(&mut self) -> *mut i32 { ... }
unsafe fn set_p(&mut self, val: *const i32) { ... }
fn get_mut(&mut self, i: i32) -> Result<i32> { ... }
}
Expand description
Mutable methods for core::MatSize
Required Methods§
fn as_raw_mut_MatSize(&mut self) -> *mut c_void
Provided Methods§
fn p_mut(&mut self) -> *mut i32
unsafe fn set_p(&mut self, val: *const i32)
fn get_mut(&mut self, i: i32) -> Result<i32>
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.