Enum kernel::callback::RustOrRawFnPtr[][src]

pub enum RustOrRawFnPtr {
    Raw {
        ptr: NonNull<*mut ()>,
    },
    Rust {
        func: fn(_: usize, _: usize, _: usize, _: usize),
    },
}

Variants

Fields of Raw

Fields of Rust

Trait Implementations

impl Clone for RustOrRawFnPtr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for RustOrRawFnPtr
[src]

impl Debug for RustOrRawFnPtr
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for RustOrRawFnPtr

impl !Sync for RustOrRawFnPtr