pub struct AstStaticAssertDecl {
pub expr: AstExpr,
pub span: Option<Span>,
}Fields§
§expr: AstExpr§span: Option<Span>Trait Implementations§
Source§impl Clone for AstStaticAssertDecl
impl Clone for AstStaticAssertDecl
Source§fn clone(&self) -> AstStaticAssertDecl
fn clone(&self) -> AstStaticAssertDecl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstStaticAssertDecl
impl Debug for AstStaticAssertDecl
Source§impl PartialEq for AstStaticAssertDecl
impl PartialEq for AstStaticAssertDecl
impl StructuralPartialEq for AstStaticAssertDecl
Auto Trait Implementations§
impl Freeze for AstStaticAssertDecl
impl RefUnwindSafe for AstStaticAssertDecl
impl Send for AstStaticAssertDecl
impl Sync for AstStaticAssertDecl
impl Unpin for AstStaticAssertDecl
impl UnsafeUnpin for AstStaticAssertDecl
impl UnwindSafe for AstStaticAssertDecl
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