#[repr(C)]pub struct lyd_node_opaq__bindgen_ty_1__bindgen_ty_1 {
pub hash: u32,
pub flags: u32,
pub schema: *const lysc_node,
pub parent: *mut lyd_node,
pub next: *mut lyd_node,
pub prev: *mut lyd_node,
pub meta: *mut lyd_meta,
pub priv_: *mut c_void,
}Fields§
§hash: u32< always 0
flags: u32< always 0
schema: *const lysc_node< always NULL
parent: *mut lyd_node< pointer to the parent node, NULL in case of root node
next: *mut lyd_node< pointer to the next sibling node (NULL if there is no one)
prev: *mut lyd_node< pointer to the previous sibling node \note Note that this pointer is never NULL. If there is no sibling node, pointer points to the node itself. In case of the first node, this pointer points to the last node in the list.
meta: *mut lyd_meta< always NULL
priv_: *mut c_void< private user data, not used by libyang
Trait Implementations§
Source§impl Clone for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl Clone for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
Source§fn clone(&self) -> lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
fn clone(&self) -> lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations§
impl !Send for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl !Sync for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl Freeze for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl RefUnwindSafe for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl Unpin for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl UnsafeUnpin for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
impl UnwindSafe for lyd_node_opaq__bindgen_ty_1__bindgen_ty_1
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