Enum forester_rs::tree::parser::ast::FileEntity
source · pub enum FileEntity {
Tree(Tree),
Import(Import),
}
Variants§
Trait Implementations§
source§impl Clone for FileEntity
impl Clone for FileEntity
source§fn clone(&self) -> FileEntity
fn clone(&self) -> FileEntity
Returns a copy 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 FileEntity
impl Debug for FileEntity
source§impl PartialEq for FileEntity
impl PartialEq for FileEntity
source§fn eq(&self, other: &FileEntity) -> bool
fn eq(&self, other: &FileEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FileEntity
Auto Trait Implementations§
impl RefUnwindSafe for FileEntity
impl Send for FileEntity
impl Sync for FileEntity
impl Unpin for FileEntity
impl UnwindSafe for FileEntity
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