pub struct TypedefOrGrouping { /* private fields */ }Expand description
“typedef” stmt / “grouping” stmt
Implementations§
Source§impl TypedefOrGrouping
impl TypedefOrGrouping
pub fn typedef(&self) -> &Vec<TypedefStmt>
pub fn grouping(&self) -> &Vec<GroupingStmt>
Trait Implementations§
Source§impl Clone for TypedefOrGrouping
impl Clone for TypedefOrGrouping
Source§fn clone(&self) -> TypedefOrGrouping
fn clone(&self) -> TypedefOrGrouping
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 TypedefOrGrouping
impl Debug for TypedefOrGrouping
Source§impl PartialEq for TypedefOrGrouping
impl PartialEq for TypedefOrGrouping
Source§impl Selection for TypedefOrGrouping
impl Selection for TypedefOrGrouping
Source§type SubStmts = (Vec<TypedefStmt>, Vec<GroupingStmt>)
type SubStmts = (Vec<TypedefStmt>, Vec<GroupingStmt>)
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 TypedefOrGrouping
Auto Trait Implementations§
impl Freeze for TypedefOrGrouping
impl RefUnwindSafe for TypedefOrGrouping
impl Send for TypedefOrGrouping
impl Sync for TypedefOrGrouping
impl Unpin for TypedefOrGrouping
impl UnwindSafe for TypedefOrGrouping
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