pub struct TempSpaceRef<'str, 'ctx, R = ModuleView<'ctx, 'str>> {
pub id: TempSpaceId,
/* private fields */
}Expand description
Immutable temporary-space reference over any QCodeView provider.
Fields§
§id: TempSpaceIdImplementations§
Source§impl<'str, 'ctx, R> TempSpaceRef<'str, 'ctx, R>
impl<'str, 'ctx, R> TempSpaceRef<'str, 'ctx, R>
pub fn new(view: R, id: TempSpaceId) -> Self
Trait Implementations§
Source§impl<'str, 'ctx, R: Clone> Clone for TempSpaceRef<'str, 'ctx, R>
impl<'str, 'ctx, R: Clone> Clone for TempSpaceRef<'str, 'ctx, R>
Source§fn clone(&self) -> TempSpaceRef<'str, 'ctx, R>
fn clone(&self) -> TempSpaceRef<'str, 'ctx, R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'str, 'ctx, R: Copy> Copy for TempSpaceRef<'str, 'ctx, R>
Auto Trait Implementations§
impl<'str, 'ctx, R> Freeze for TempSpaceRef<'str, 'ctx, R>where
R: Freeze,
impl<'str, 'ctx, R> RefUnwindSafe for TempSpaceRef<'str, 'ctx, R>where
R: RefUnwindSafe,
impl<'str, 'ctx, R> Send for TempSpaceRef<'str, 'ctx, R>where
R: Send,
impl<'str, 'ctx, R> Sync for TempSpaceRef<'str, 'ctx, R>where
R: Sync,
impl<'str, 'ctx, R> Unpin for TempSpaceRef<'str, 'ctx, R>where
R: Unpin,
impl<'str, 'ctx, R> UnsafeUnpin for TempSpaceRef<'str, 'ctx, R>where
R: UnsafeUnpin,
impl<'str, 'ctx, R> UnwindSafe for TempSpaceRef<'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