pub struct ArrayLinkNode {
pub next: Option<usize>,
pub prev: Option<usize>,
}Expand description
Linking field node. Contains a next and prev field.
Fields§
§next: Option<usize>Next node. If None, this node is the last node.
prev: Option<usize>Previous node. If None, this node is the first node.
Implementations§
Source§impl ArrayLinkNode
impl ArrayLinkNode
Sourcepub const fn new() -> ArrayLinkNode
pub const fn new() -> ArrayLinkNode
Default constructions.
Trait Implementations§
Source§impl Clone for ArrayLinkNode
impl Clone for ArrayLinkNode
Source§fn clone(&self) -> ArrayLinkNode
fn clone(&self) -> ArrayLinkNode
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrayLinkNode
impl Debug for ArrayLinkNode
Source§impl Default for ArrayLinkNode
impl Default for ArrayLinkNode
Source§fn default() -> ArrayLinkNode
fn default() -> ArrayLinkNode
Returns the “default value” for a type. Read more
impl Copy for ArrayLinkNode
Auto Trait Implementations§
impl Freeze for ArrayLinkNode
impl RefUnwindSafe for ArrayLinkNode
impl Send for ArrayLinkNode
impl Sync for ArrayLinkNode
impl Unpin for ArrayLinkNode
impl UnwindSafe for ArrayLinkNode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)