pub struct Kfunc {
pub name: &'static str,
pub params: &'static [(&'static str, Ty)],
pub ret: Ty,
pub weak: bool,
pub sized: bool,
}Expand description
A kfunc of the catalog in scx_rustsched’s kfuncs.rs: its name, parameters and return type, whether a kernel may lack it, and whether it takes a trailing size parameter on kernels that pass the structure’s size.
Fields§
§name: &'static str§params: &'static [(&'static str, Ty)]§ret: Ty§weak: bool§sized: boolAuto Trait Implementations§
impl Freeze for Kfunc
impl RefUnwindSafe for Kfunc
impl Send for Kfunc
impl Sync for Kfunc
impl Unpin for Kfunc
impl UnsafeUnpin for Kfunc
impl UnwindSafe for Kfunc
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