pub struct TempRef<'str, 'ctx, R = ModuleView<'ctx, 'str>> {
pub id: TempId,
/* private fields */
}Expand description
Immutable temporary-value reference over any QCodeView provider.
Fields§
§id: TempIdImplementations§
Trait Implementations§
impl<'str, 'ctx, R: Copy> Copy for TempRef<'str, 'ctx, R>
Auto Trait Implementations§
impl<'str, 'ctx, R> Freeze for TempRef<'str, 'ctx, R>where
R: Freeze,
impl<'str, 'ctx, R> RefUnwindSafe for TempRef<'str, 'ctx, R>where
R: RefUnwindSafe,
impl<'str, 'ctx, R> Send for TempRef<'str, 'ctx, R>where
R: Send,
impl<'str, 'ctx, R> Sync for TempRef<'str, 'ctx, R>where
R: Sync,
impl<'str, 'ctx, R> Unpin for TempRef<'str, 'ctx, R>where
R: Unpin,
impl<'str, 'ctx, R> UnsafeUnpin for TempRef<'str, 'ctx, R>where
R: UnsafeUnpin,
impl<'str, 'ctx, R> UnwindSafe for TempRef<'str, 'ctx, R>where
R: UnwindSafe,
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