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_1musts: *mut lysp_restrwhen: *mut lysp_whentype_: lysp_typeunits: *const c_chardflt: lysp_qnameTrait Implementations
sourceimpl Clone for lysp_node_leaf
impl Clone for lysp_node_leaf
sourcefn clone(&self) -> lysp_node_leaf
fn clone(&self) -> lysp_node_leaf
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more