#[repr(C)]pub struct pm_context_node {
pub context: pm_context_t,
pub prev: *mut pm_context_node,
}
Expand description
This is a node in a linked list of contexts.
Fields§
§context: pm_context_t
The context that this node represents.
prev: *mut pm_context_node
A pointer to the previous context in the linked list.
Trait Implementations§
Source§impl Clone for pm_context_node
impl Clone for pm_context_node
Source§fn clone(&self) -> pm_context_node
fn clone(&self) -> pm_context_node
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for pm_context_node
impl Debug for pm_context_node
Source§impl Default for pm_context_node
impl Default for pm_context_node
impl Copy for pm_context_node
Auto Trait Implementations§
impl Freeze for pm_context_node
impl RefUnwindSafe for pm_context_node
impl !Send for pm_context_node
impl !Sync for pm_context_node
impl Unpin for pm_context_node
impl UnwindSafe for pm_context_node
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