#[repr(C)]pub struct List {
pub counter: usize,
pub former: *mut Entry,
pub latter: *mut Entry,
}Fields§
§counter: usize§former: *mut Entry§latter: *mut EntryImplementations§
Source§impl List
impl List
pub fn from_pointer(stack_pointer: Pointer) -> (List, Pointer)
pub fn print(&self)
pub fn print_arguments(&self)
pub fn get(&self, index: usize) -> Option<&Entry>
pub fn get_mut(&mut self, index: usize) -> Option<&mut Entry>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl !Send for List
impl !Sync for List
impl Unpin for List
impl UnwindSafe for List
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