Lines Matching defs:crate
3 //! The `kernel` crate.
5 //! This crate contains the kernel APIs that have been ported or wrapped for
9 //! modules written in Rust) depends on [`core`] and this crate.
12 //! do so first instead of bypassing this crate.
41 // Allow proc-macros to refer to `::kernel` inside the `kernel` crate (this crate).
42 extern crate self as kernel;
160 /// Prefix to appear before log messages printed from within the `kernel` crate.
163 /// Dummy module type for `#[vtable]` `impl` blocks within the `kernel` crate (e.g. KUnit tests).
190 /// [`Opaque`]: crate::types::Opaque
191 /// [`Opaque::cast_into`]: crate::types::Opaque::cast_into
192 /// [`Opaque::cast_from`]: crate::types::Opaque::cast_from
221 $crate::assert_same_type(field_ptr, (&raw const (*container_ptr).$($fields)*).cast_mut());