pub enum TableOrSection<'ast> {
Section(Section<'ast>),
Table(Table<'ast>),
}
Variants§
Trait Implementations§
Source§impl<'ast> Clone for TableOrSection<'ast>
impl<'ast> Clone for TableOrSection<'ast>
Source§fn clone(&self) -> TableOrSection<'ast>
fn clone(&self) -> TableOrSection<'ast>
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<'ast> Debug for TableOrSection<'ast>
impl<'ast> Debug for TableOrSection<'ast>
Source§impl<'ast> FromPest<'ast> for TableOrSection<'ast>
impl<'ast> FromPest<'ast> for TableOrSection<'ast>
Source§impl<'ast> PartialEq for TableOrSection<'ast>
impl<'ast> PartialEq for TableOrSection<'ast>
impl<'ast> StructuralPartialEq for TableOrSection<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for TableOrSection<'ast>
impl<'ast> RefUnwindSafe for TableOrSection<'ast>
impl<'ast> Send for TableOrSection<'ast>
impl<'ast> Sync for TableOrSection<'ast>
impl<'ast> Unpin for TableOrSection<'ast>
impl<'ast> UnwindSafe for TableOrSection<'ast>
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