pub struct AssertDecl {
pub tags: Vec<TagDecl>,
pub description: Option<StringLiteral>,
pub expr: String,
pub span: SourceSpan,
}Fields§
§description: Option<StringLiteral>§expr: String§span: SourceSpanTrait Implementations§
Source§impl Clone for AssertDecl
impl Clone for AssertDecl
Source§fn clone(&self) -> AssertDecl
fn clone(&self) -> AssertDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssertDecl
impl Debug for AssertDecl
impl Eq for AssertDecl
Source§impl PartialEq for AssertDecl
impl PartialEq for AssertDecl
impl StructuralPartialEq for AssertDecl
Auto Trait Implementations§
impl Freeze for AssertDecl
impl RefUnwindSafe for AssertDecl
impl Send for AssertDecl
impl Sync for AssertDecl
impl Unpin for AssertDecl
impl UnsafeUnpin for AssertDecl
impl UnwindSafe for AssertDecl
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