pub struct ShortCaseOrCaseStmt { /* private fields */ }Expand description
“short-case-stmt” / “case-stmt”.
Implementations§
Source§impl ShortCaseOrCaseStmt
impl ShortCaseOrCaseStmt
pub fn choice(&self) -> &Vec<ChoiceStmt>
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 anydata(&self) -> &Vec<AnydataStmt>
pub fn anyxml(&self) -> &Vec<AnyxmlStmt>
pub fn case(&self) -> &Vec<CaseStmt>
Trait Implementations§
Source§impl Clone for ShortCaseOrCaseStmt
impl Clone for ShortCaseOrCaseStmt
Source§fn clone(&self) -> ShortCaseOrCaseStmt
fn clone(&self) -> ShortCaseOrCaseStmt
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 ShortCaseOrCaseStmt
impl Debug for ShortCaseOrCaseStmt
Source§impl PartialEq for ShortCaseOrCaseStmt
impl PartialEq for ShortCaseOrCaseStmt
Source§impl Selection for ShortCaseOrCaseStmt
impl Selection for ShortCaseOrCaseStmt
Source§type SubStmts = (Vec<ChoiceStmt>, Vec<ContainerStmt>, Vec<LeafStmt>, Vec<LeafListStmt>, Vec<ListStmt>, Vec<AnydataStmt>, Vec<AnyxmlStmt>, Vec<CaseStmt>)
type SubStmts = (Vec<ChoiceStmt>, Vec<ContainerStmt>, Vec<LeafStmt>, Vec<LeafListStmt>, Vec<ListStmt>, Vec<AnydataStmt>, Vec<AnyxmlStmt>, Vec<CaseStmt>)
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 ShortCaseOrCaseStmt
Auto Trait Implementations§
impl Freeze for ShortCaseOrCaseStmt
impl RefUnwindSafe for ShortCaseOrCaseStmt
impl Send for ShortCaseOrCaseStmt
impl Sync for ShortCaseOrCaseStmt
impl Unpin for ShortCaseOrCaseStmt
impl UnwindSafe for ShortCaseOrCaseStmt
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