Struct libyang2_sys::lysp_module
source · #[repr(C)]pub struct lysp_module {Show 19 fields
pub mod_: *mut lys_module,
pub revs: *mut lysp_revision,
pub imports: *mut lysp_import,
pub includes: *mut lysp_include,
pub extensions: *mut lysp_ext,
pub features: *mut lysp_feature,
pub identities: *mut lysp_ident,
pub typedefs: *mut lysp_tpdf,
pub groupings: *mut lysp_node_grp,
pub data: *mut lysp_node,
pub augments: *mut lysp_node_augment,
pub rpcs: *mut lysp_node_action,
pub notifs: *mut lysp_node_notif,
pub deviations: *mut lysp_deviation,
pub exts: *mut lysp_ext_instance,
pub version: u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u16; 3],
}
Fields§
§mod_: *mut lys_module
§revs: *mut lysp_revision
§imports: *mut lysp_import
§includes: *mut lysp_include
§extensions: *mut lysp_ext
§features: *mut lysp_feature
§identities: *mut lysp_ident
§typedefs: *mut lysp_tpdf
§groupings: *mut lysp_node_grp
§data: *mut lysp_node
§augments: *mut lysp_node_augment
§rpcs: *mut lysp_node_action
§notifs: *mut lysp_node_notif
§deviations: *mut lysp_deviation
§exts: *mut lysp_ext_instance
§version: u8
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u16; 3]
Implementations§
source§impl lysp_module
impl lysp_module
pub fn parsing(&self) -> u8
pub fn set_parsing(&mut self, val: u8)
pub fn is_submod(&self) -> u8
pub fn set_is_submod(&mut self, val: u8)
pub fn new_bitfield_1( parsing: u8, is_submod: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
source§impl Clone for lysp_module
impl Clone for lysp_module
source§fn clone(&self) -> lysp_module
fn clone(&self) -> lysp_module
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 Debug for lysp_module
impl Debug for lysp_module
source§impl Default for lysp_module
impl Default for lysp_module
impl Copy for lysp_module
Auto Trait Implementations§
impl RefUnwindSafe for lysp_module
impl !Send for lysp_module
impl !Sync for lysp_module
impl Unpin for lysp_module
impl UnwindSafe for lysp_module
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