pub struct PrimExpr<T: PrimType>(/* private fields */);Expand description
This represents a value that can be passed to functions, put in fields, etc.
Implementations§
Trait Implementations§
Source§impl<T: PrimType> Expr<T> for PrimExpr<T>
impl<T: PrimType> Expr<T> for PrimExpr<T>
fn expr_raw(&self) -> (&StackShared, String)
fn expr_sentinel(&self) -> String
Source§impl<T: PrimType> ListToRecMappable for PrimExpr<T>
impl<T: PrimType> ListToRecMappable for PrimExpr<T>
Source§impl<T: PrimType> RecToListMappable for PrimExpr<T>
impl<T: PrimType> RecToListMappable for PrimExpr<T>
Source§impl<T: PrimType> ToFuncArg<T> for PrimExpr<T>
impl<T: PrimType> ToFuncArg<T> for PrimExpr<T>
fn to_func_arg(self, _shared: &StackShared) -> PrimExpr<T>
Source§impl<T: PrimType> ToListMappable for PrimExpr<T>
impl<T: PrimType> ToListMappable for PrimExpr<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for PrimExpr<T>
impl<T> !Send for PrimExpr<T>
impl<T> !Sync for PrimExpr<T>
impl<T> !UnwindSafe for PrimExpr<T>
impl<T> Freeze for PrimExpr<T>
impl<T> Unpin for PrimExpr<T>where
T: Unpin,
impl<T> UnsafeUnpin for PrimExpr<T>
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