#[repr(C)]pub struct k_obj_range {
pub start: *const c_void,
pub end: *const c_void,
pub stride: usize,
pub indirect: bool,
}Expand description
@brief Contiguous range of permanent objects of one type
Objects in the range are enumerated by walking it, so they are never registered at run time. The range holds either the objects themselves or, when @a indirect is set, pointers to them.
Fields§
§start: *const c_void< First element
end: *const c_void< One past the last element
stride: usize< Element size
indirect: bool< Elements are pointers to the objects
Trait Implementations§
Source§impl Debug for k_obj_range
impl Debug for k_obj_range
Source§impl Default for k_obj_range
impl Default for k_obj_range
Source§fn default() -> k_obj_range
fn default() -> k_obj_range
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for k_obj_range
impl !Sync for k_obj_range
impl Freeze for k_obj_range
impl RefUnwindSafe for k_obj_range
impl Unpin for k_obj_range
impl UnsafeUnpin for k_obj_range
impl UnwindSafe for k_obj_range
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