Enum domain::base::scan::EntrySymbol
source · pub enum EntrySymbol {
Symbol(Symbol),
EndOfToken,
}
Expand description
The symbols encountered in the remainder of an entry.
This can either be a regular symbol or the end of a token.
Variants§
Trait Implementations§
source§impl Clone for EntrySymbol
impl Clone for EntrySymbol
source§fn clone(&self) -> EntrySymbol
fn clone(&self) -> EntrySymbol
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 EntrySymbol
impl Debug for EntrySymbol
source§impl From<Symbol> for EntrySymbol
impl From<Symbol> for EntrySymbol
source§impl PartialEq for EntrySymbol
impl PartialEq for EntrySymbol
source§fn eq(&self, other: &EntrySymbol) -> bool
fn eq(&self, other: &EntrySymbol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EntrySymbol
impl Eq for EntrySymbol
impl StructuralPartialEq for EntrySymbol
Auto Trait Implementations§
impl Freeze for EntrySymbol
impl RefUnwindSafe for EntrySymbol
impl Send for EntrySymbol
impl Sync for EntrySymbol
impl Unpin for EntrySymbol
impl UnwindSafe for EntrySymbol
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
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.