pub enum TableInitialValue {
Null,
Expr(ConstExpr),
}Expand description
Initial value for all elements in a table.
Variants§
Null
Initialize each table element to null, optionally setting some elements to non-null given the precomputed image.
Expr(ConstExpr)
An arbitrary const expression.
Trait Implementations§
Source§impl Debug for TableInitialValue
impl Debug for TableInitialValue
Source§impl<'de> Deserialize<'de> for TableInitialValue
impl<'de> Deserialize<'de> for TableInitialValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableInitialValue
impl RefUnwindSafe for TableInitialValue
impl Send for TableInitialValue
impl Sync for TableInitialValue
impl Unpin for TableInitialValue
impl UnsafeUnpin for TableInitialValue
impl UnwindSafe for TableInitialValue
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