#[repr(C)]pub struct Params {
pub handler_func: extern "C" fn(data: *const u8),
pub handler_data: *const u8,
}Expand description
Parameters of allocate
Fields§
§handler_func: extern "C" fn(data: *const u8)Function called when the timer triggers.
handler_data: *const u8The opaque data to use when calling the handler function.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl !Send for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more