Struct yash_syntax::source::SourceChar
source · [−]Expand description
Character with source description.
Fields
value: char
Character value.
location: Location
Location of this character in source code.
Trait Implementations
sourceimpl Clone for SourceChar
impl Clone for SourceChar
sourcefn clone(&self) -> SourceChar
fn clone(&self) -> SourceChar
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SourceChar
impl Debug for SourceChar
sourceimpl PartialEq<SourceChar> for SourceChar
impl PartialEq<SourceChar> for SourceChar
sourcefn eq(&self, other: &SourceChar) -> bool
fn eq(&self, other: &SourceChar) -> bool
impl Eq for SourceChar
impl StructuralEq for SourceChar
impl StructuralPartialEq for SourceChar
Auto Trait Implementations
impl !RefUnwindSafe for SourceChar
impl !Send for SourceChar
impl !Sync for SourceChar
impl Unpin for SourceChar
impl !UnwindSafe for SourceChar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more