pub struct ValueWrapper<X: RudaPrimitive> { /* private fields */ }Expand description
Wrap the item to be able to modify it as a field
Implementations§
Source§impl<X: RudaPrimitive> ValueWrapper<X>
impl<X: RudaPrimitive> ValueWrapper<X>
pub fn unwrap(&self) -> X
pub fn __expand_unwrap( scope: &mut Scope, this: <Self as RudaType>::ExpandType, ) -> <X as RudaType>::ExpandType
Trait Implementations§
Source§impl<X: RudaPrimitive> RudaType for ValueWrapper<X>
impl<X: RudaPrimitive> RudaType for ValueWrapper<X>
type ExpandType = ValueWrapperExpand<X>
Auto Trait Implementations§
impl<X> Freeze for ValueWrapper<X>where
X: Freeze,
impl<X> RefUnwindSafe for ValueWrapper<X>where
X: RefUnwindSafe,
impl<X> Send for ValueWrapper<X>
impl<X> Sync for ValueWrapper<X>
impl<X> Unpin for ValueWrapper<X>where
X: Unpin,
impl<X> UnsafeUnpin for ValueWrapper<X>where
X: UnsafeUnpin,
impl<X> UnwindSafe for ValueWrapper<X>where
X: 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