pub enum Atom {
Identifier(Identifier),
IdentifierWithMod(IdentifierWithMod),
FieldAccess(FieldAccess),
FieldAccessWithMod(FieldAccessWithMod),
}Variants§
Identifier(Identifier)
IdentifierWithMod(IdentifierWithMod)
FieldAccess(FieldAccess)
FieldAccessWithMod(FieldAccessWithMod)
Trait Implementations§
Source§impl From<FieldAccess> for Atom
impl From<FieldAccess> for Atom
Source§fn from(f: FieldAccess) -> Self
fn from(f: FieldAccess) -> Self
Converts to this type from the input type.
Source§impl From<FieldAccessWithMod> for Atom
impl From<FieldAccessWithMod> for Atom
Source§fn from(f: FieldAccessWithMod) -> Self
fn from(f: FieldAccessWithMod) -> Self
Converts to this type from the input type.
Source§impl From<Identifier> for Atom
impl From<Identifier> for Atom
Source§fn from(id: Identifier) -> Self
fn from(id: Identifier) -> Self
Converts to this type from the input type.
Source§impl From<IdentifierWithMod> for Atom
impl From<IdentifierWithMod> for Atom
Source§fn from(m: IdentifierWithMod) -> Self
fn from(m: IdentifierWithMod) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Atom
impl RefUnwindSafe for Atom
impl Send for Atom
impl Sync for Atom
impl Unpin for Atom
impl UnsafeUnpin for Atom
impl UnwindSafe for Atom
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