pub enum LoopBound<Expression> {
Static(usize),
Dynamic {
expr: Expression,
width: usize,
signed: bool,
},
}Variants§
Trait Implementations§
Source§impl<'de, Expression> Deserialize<'de> for LoopBound<Expression>where
Expression: Deserialize<'de>,
impl<'de, Expression> Deserialize<'de> for LoopBound<Expression>where
Expression: Deserialize<'de>,
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
impl<Expression: Eq> Eq for LoopBound<Expression>
impl<Expression: PartialEq> StructuralPartialEq for LoopBound<Expression>
Auto Trait Implementations§
impl<Expression> Freeze for LoopBound<Expression>where
Expression: Freeze,
impl<Expression> RefUnwindSafe for LoopBound<Expression>where
Expression: RefUnwindSafe,
impl<Expression> Send for LoopBound<Expression>where
Expression: Send,
impl<Expression> Sync for LoopBound<Expression>where
Expression: Sync,
impl<Expression> Unpin for LoopBound<Expression>where
Expression: Unpin,
impl<Expression> UnsafeUnpin for LoopBound<Expression>where
Expression: UnsafeUnpin,
impl<Expression> UnwindSafe for LoopBound<Expression>where
Expression: 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