pub struct Value<E: Numeric> {
pub val: E,
}Expand description
Wrapper over val to make enum work
Fields§
§val: ETrait Implementations§
Source§impl<E: Numeric> CubeType for Value<E>
impl<E: Numeric> CubeType for Value<E>
type ExpandType = ValueExpand<E>
Auto Trait Implementations§
impl<E> Freeze for Value<E>where
E: Freeze,
impl<E> RefUnwindSafe for Value<E>where
E: RefUnwindSafe,
impl<E> Send for Value<E>
impl<E> Sync for Value<E>
impl<E> Unpin for Value<E>where
E: Unpin,
impl<E> UnsafeUnpin for Value<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for Value<E>where
E: 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