pub enum TopLevelElement {
Block(Block),
Line(Line),
Comment(Comment),
}Variants§
Trait Implementations§
Source§impl Clone for TopLevelElement
impl Clone for TopLevelElement
Source§fn clone(&self) -> TopLevelElement
fn clone(&self) -> TopLevelElement
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 TopLevelElement
impl Debug for TopLevelElement
Source§impl Display for TopLevelElement
impl Display for TopLevelElement
Source§impl From<Block> for TopLevelElement
impl From<Block> for TopLevelElement
Source§impl From<Command> for TopLevelElement
impl From<Command> for TopLevelElement
Source§impl From<Comment> for TopLevelElement
impl From<Comment> for TopLevelElement
Source§impl From<Line> for TopLevelElement
impl From<Line> for TopLevelElement
Source§impl From<Marker> for TopLevelElement
impl From<Marker> for TopLevelElement
Source§impl PartialEq for TopLevelElement
impl PartialEq for TopLevelElement
impl Eq for TopLevelElement
impl StructuralPartialEq for TopLevelElement
Auto Trait Implementations§
impl Freeze for TopLevelElement
impl RefUnwindSafe for TopLevelElement
impl Send for TopLevelElement
impl Sync for TopLevelElement
impl Unpin for TopLevelElement
impl UnwindSafe for TopLevelElement
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