pub struct DataDefStmt { /* private fields */ }Expand description
“data-def-stmt”.
Implementations§
Source§impl DataDefStmt
impl DataDefStmt
pub fn container(&self) -> &Vec<ContainerStmt>
pub fn leaf(&self) -> &Vec<LeafStmt>
pub fn leaf_list(&self) -> &Vec<LeafListStmt>
pub fn list(&self) -> &Vec<ListStmt>
pub fn choice(&self) -> &Vec<ChoiceStmt>
pub fn anydata(&self) -> &Vec<AnydataStmt>
pub fn anyxml(&self) -> &Vec<AnyxmlStmt>
pub fn uses(&self) -> &Vec<UsesStmt>
Trait Implementations§
Source§impl Clone for DataDefStmt
impl Clone for DataDefStmt
Source§fn clone(&self) -> DataDefStmt
fn clone(&self) -> DataDefStmt
Returns a duplicate 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 DataDefStmt
impl Debug for DataDefStmt
Source§impl PartialEq for DataDefStmt
impl PartialEq for DataDefStmt
Source§impl Selection for DataDefStmt
impl Selection for DataDefStmt
Source§type SubStmts = (Vec<ContainerStmt>, Vec<LeafStmt>, Vec<LeafListStmt>, Vec<ListStmt>, Vec<ChoiceStmt>, Vec<AnydataStmt>, Vec<AnyxmlStmt>, Vec<UsesStmt>)
type SubStmts = (Vec<ContainerStmt>, Vec<LeafStmt>, Vec<LeafListStmt>, Vec<ListStmt>, Vec<ChoiceStmt>, Vec<AnydataStmt>, Vec<AnyxmlStmt>, Vec<UsesStmt>)
Sub Statements.
Source§fn new_with_substmts(substmts: Self::SubStmts) -> Selfwhere
Self: Sized,
fn new_with_substmts(substmts: Self::SubStmts) -> Selfwhere
Self: Sized,
Constructor with tuple of substatements. Panic if it is not defined.
impl StructuralPartialEq for DataDefStmt
Auto Trait Implementations§
impl Freeze for DataDefStmt
impl RefUnwindSafe for DataDefStmt
impl Send for DataDefStmt
impl Sync for DataDefStmt
impl Unpin for DataDefStmt
impl UnwindSafe for DataDefStmt
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