Struct libyang2_sys::lysp_node_leaf
source · #[repr(C)]pub struct lysp_node_leaf {
pub __bindgen_anon_1: lysp_node_leaf__bindgen_ty_1,
pub musts: *mut lysp_restr,
pub when: *mut lysp_when,
pub type_: lysp_type,
pub units: *const c_char,
pub dflt: lysp_qname,
}
Fields§
§__bindgen_anon_1: lysp_node_leaf__bindgen_ty_1
§musts: *mut lysp_restr
§when: *mut lysp_when
§type_: lysp_type
§units: *const c_char
§dflt: lysp_qname
Trait Implementations§
source§impl Clone for lysp_node_leaf
impl Clone for lysp_node_leaf
source§fn clone(&self) -> lysp_node_leaf
fn clone(&self) -> lysp_node_leaf
Returns a copy 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 Default for lysp_node_leaf
impl Default for lysp_node_leaf
impl Copy for lysp_node_leaf
Auto Trait Implementations§
impl RefUnwindSafe for lysp_node_leaf
impl !Send for lysp_node_leaf
impl !Sync for lysp_node_leaf
impl Unpin for lysp_node_leaf
impl UnwindSafe for lysp_node_leaf
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