Struct debris_common::input_file::CodeRef
source · pub struct CodeRef<'a> {
input_files: &'a InputFiles,
pub file: CodeId,
}
Expand description
A handy object to work in a specific input file
Fields§
§input_files: &'a InputFiles
§file: CodeId
Implementations§
Trait Implementations§
impl<'a> Copy for CodeRef<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CodeRef<'a>
impl<'a> Send for CodeRef<'a>
impl<'a> Sync for CodeRef<'a>
impl<'a> Unpin for CodeRef<'a>
impl<'a> UnwindSafe for CodeRef<'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