pub struct AssertForall {
pub attrs: Vec<Attribute>,
pub assert_token: Assert,
pub forall_token: Forall,
pub or1_token: Or,
pub inputs: Punctuated<Pat, Comma>,
pub or2_token: Or,
pub expr: Box<Expr>,
pub implies: Option<(Implies, Box<Expr>)>,
pub by_token: By,
pub body: Box<Block>,
}Fields§
§attrs: Vec<Attribute>§assert_token: Assert§forall_token: Forall§or1_token: Or§inputs: Punctuated<Pat, Comma>§or2_token: Or§expr: Box<Expr>§implies: Option<(Implies, Box<Expr>)>§by_token: By§body: Box<Block>Trait Implementations§
Source§impl Clone for AssertForall
Available on crate feature clone-impls only.
impl Clone for AssertForall
Available on crate feature
clone-impls only.Source§impl Debug for AssertForall
Available on crate feature extra-traits only.
impl Debug for AssertForall
Available on crate feature
extra-traits only.Source§impl From<AssertForall> for Expr
impl From<AssertForall> for Expr
Source§fn from(e: AssertForall) -> Expr
fn from(e: AssertForall) -> Expr
Converts to this type from the input type.
Source§impl Hash for AssertForall
Available on crate feature extra-traits only.
impl Hash for AssertForall
Available on crate feature
extra-traits only.Source§impl Parse for AssertForall
impl Parse for AssertForall
fn parse(input: ParseStream<'_>) -> Result<Self>
Source§impl PartialEq for AssertForall
Available on crate feature extra-traits only.
impl PartialEq for AssertForall
Available on crate feature
extra-traits only.Source§impl ToTokens for AssertForall
impl ToTokens for AssertForall
Source§fn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for AssertForall
Available on crate feature
extra-traits only.Auto Trait Implementations§
impl Freeze for AssertForall
impl RefUnwindSafe for AssertForall
impl !Send for AssertForall
impl !Sync for AssertForall
impl Unpin for AssertForall
impl UnsafeUnpin for AssertForall
impl UnwindSafe for AssertForall
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Spanned for Twhere
T: Spanned + ?Sized,
impl<T> Spanned for Twhere
T: Spanned + ?Sized,
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.