pub struct SourceInfo<'a>(/* private fields */);
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 for SourceInfo<'a>
impl<'a> PartialEq for SourceInfo<'a>
impl<'a> Copy for SourceInfo<'a>
impl<'a> Eq for SourceInfo<'a>
impl<'a> StructuralPartialEq for SourceInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for SourceInfo<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)