pub trait KernelArgTraitConst {
// Required method
fn as_raw_KernelArg(&self) -> *const c_void;
// Provided methods
fn flags(&self) -> i32 { ... }
fn obj(&self) -> *const c_void { ... }
fn sz(&self) -> size_t { ... }
fn wscale(&self) -> i32 { ... }
fn iwscale(&self) -> i32 { ... }
}Expand description
Constant methods for core::KernelArg
Required Methods§
fn as_raw_KernelArg(&self) -> *const c_void
Provided Methods§
fn flags(&self) -> i32
fn obj(&self) -> *const c_void
fn sz(&self) -> size_t
fn wscale(&self) -> i32
fn iwscale(&self) -> i32
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".