Trait MatSizeTrait

Source
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§

Provided Methods§

Source

fn p_mut(&mut self) -> *mut i32

Source

unsafe fn set_p(&mut self, val: *const i32)

Source

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.

Implementors§