Enum kernel::callback::RustOrRawFnPtr
[−]
[src]
pub enum RustOrRawFnPtr { Raw { ptr: NonZero<*mut ()>, }, Rust { func: fn(_: usize, _: usize, _: usize, _: usize), }, }
Variants
Raw
Fields of Raw
ptr: NonZero<*mut ()> |
Rust
Fields of Rust
func: fn(_: usize, _: usize, _: usize, _: usize) |
Trait Implementations
impl Clone for RustOrRawFnPtr
[src]
fn clone(&self) -> RustOrRawFnPtr
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more