#[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< list of must restrictions ([sized array](@ref sizedarrays))
when: *mut lysp_when< when statement
type_: lysp_type< type of the leaf node (mandatory)
units: *const c_char< units of the leaf’s type
dflt: lysp_qname< default value, it may or may not be a qualified name
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 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 lysp_node_leaf
Auto Trait Implementations§
impl !Send for lysp_node_leaf
impl !Sync for lysp_node_leaf
impl Freeze for lysp_node_leaf
impl RefUnwindSafe for lysp_node_leaf
impl Unpin for lysp_node_leaf
impl UnsafeUnpin 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