Struct tblgen::SourceInfo
source · pub struct SourceInfo<'a>(_);
Expand description
Reference to TableGen source file.
See TableGenParser::source_info
and
RecordKeeper::source_info
.
Trait Implementations§
source§impl<'a> Clone for SourceInfo<'a>
impl<'a> Clone for SourceInfo<'a>
source§fn clone(&self) -> SourceInfo<'a>
fn clone(&self) -> SourceInfo<'a>
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<'a> Debug for SourceInfo<'a>
impl<'a> Debug for SourceInfo<'a>
source§impl<'a> PartialEq<SourceInfo<'a>> for SourceInfo<'a>
impl<'a> PartialEq<SourceInfo<'a>> for SourceInfo<'a>
source§fn eq(&self, other: &SourceInfo<'a>) -> bool
fn eq(&self, other: &SourceInfo<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for SourceInfo<'a>
impl<'a> Eq for SourceInfo<'a>
impl<'a> StructuralEq for SourceInfo<'a>
impl<'a> StructuralPartialEq for SourceInfo<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SourceInfo<'a>
impl<'a> !Send for SourceInfo<'a>
impl<'a> !Sync for SourceInfo<'a>
impl<'a> Unpin for SourceInfo<'a>
impl<'a> UnwindSafe for SourceInfo<'a>
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