pub struct BlockParamRef<'str, 'ctx, R = ModuleView<'ctx, 'str>> {
pub id: BlockParamId,
/* private fields */
}Fields§
§id: BlockParamIdImplementations§
Source§impl<'s, 'ctx: 's, 'str: 'ctx, R> BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
impl<'s, 'ctx: 's, 'str: 'ctx, R> BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
Source§impl<'str, 'ctx, R> BlockParamRef<'str, 'ctx, R>
impl<'str, 'ctx, R> BlockParamRef<'str, 'ctx, R>
Source§impl<'str, 'ctx> BlockParamRef<'str, 'ctx>
impl<'str, 'ctx> BlockParamRef<'str, 'ctx>
pub fn from_id(ctx: &'ctx Context<'str>, id: BlockParamId) -> Self
Trait Implementations§
Source§impl<'str, 'ctx, R: Clone> Clone for BlockParamRef<'str, 'ctx, R>
impl<'str, 'ctx, R: Clone> Clone for BlockParamRef<'str, 'ctx, R>
Source§fn clone(&self) -> BlockParamRef<'str, 'ctx, R>
fn clone(&self) -> BlockParamRef<'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 BlockParamRef<'str, 'ctx, R>
Source§impl<'str: 'ctx, 'ctx, R> Display for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
impl<'str: 'ctx, 'ctx, R> Display for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
Source§impl<'str, 'ctx, R> From<BlockParamRef<'str, 'ctx, R>> for ValueRef<'str, 'ctx, R>
impl<'str, 'ctx, R> From<BlockParamRef<'str, 'ctx, R>> for ValueRef<'str, 'ctx, R>
Source§fn from(param_ref: BlockParamRef<'str, 'ctx, R>) -> Self
fn from(param_ref: BlockParamRef<'str, 'ctx, R>) -> Self
Converts to this type from the input type.
Source§impl<'str: 'ctx, 'ctx, R> Named for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
impl<'str: 'ctx, 'ctx, R> Named for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
Source§impl<'str: 'ctx, 'ctx, R> Value<'str, 'ctx> for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
impl<'str: 'ctx, 'ctx, R> Value<'str, 'ctx> for BlockParamRef<'str, 'ctx, R>where
R: QCodeView<'ctx, 'str>,
Auto Trait Implementations§
impl<'str, 'ctx, R> Freeze for BlockParamRef<'str, 'ctx, R>where
R: Freeze,
impl<'str, 'ctx, R> RefUnwindSafe for BlockParamRef<'str, 'ctx, R>where
R: RefUnwindSafe,
impl<'str, 'ctx, R> Send for BlockParamRef<'str, 'ctx, R>where
R: Send,
impl<'str, 'ctx, R> Sync for BlockParamRef<'str, 'ctx, R>where
R: Sync,
impl<'str, 'ctx, R> Unpin for BlockParamRef<'str, 'ctx, R>where
R: Unpin,
impl<'str, 'ctx, R> UnsafeUnpin for BlockParamRef<'str, 'ctx, R>where
R: UnsafeUnpin,
impl<'str, 'ctx, R> UnwindSafe for BlockParamRef<'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