#[repr(C)]pub struct lysc_prefix {
pub prefix: *mut c_char,
pub mod_: *const lys_module,
}Expand description
@brief Compiled prefix data pair mapping of prefixes to modules. In case the format is ::LY_VALUE_SCHEMA_RESOLVED, the expected prefix data is a sized array of these structures.
Fields§
§prefix: *mut c_char< used prefix
mod_: *const lys_module< mapping to a module
Trait Implementations§
Source§impl Clone for lysc_prefix
impl Clone for lysc_prefix
Source§fn clone(&self) -> lysc_prefix
fn clone(&self) -> lysc_prefix
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 lysc_prefix
Source§impl Debug for lysc_prefix
impl Debug for lysc_prefix
Auto Trait Implementations§
impl !Send for lysc_prefix
impl !Sync for lysc_prefix
impl Freeze for lysc_prefix
impl RefUnwindSafe for lysc_prefix
impl Unpin for lysc_prefix
impl UnsafeUnpin for lysc_prefix
impl UnwindSafe for lysc_prefix
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