pub struct AssertEntry {
pub name: ScopedName,
pub body: AssertBody,
pub span: Span,
pub src: BodySource,
}Expand description
An assert declaration with lowered body.
Fields§
§name: ScopedName§body: AssertBody§span: Span§src: BodySourceSource provenance of span; see ConstEntry::src (#868).
Trait Implementations§
Source§impl Clone for AssertEntry
impl Clone for AssertEntry
Source§fn clone(&self) -> AssertEntry
fn clone(&self) -> AssertEntry
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 moreAuto Trait Implementations§
impl Freeze for AssertEntry
impl RefUnwindSafe for AssertEntry
impl Send for AssertEntry
impl Sync for AssertEntry
impl Unpin for AssertEntry
impl UnsafeUnpin for AssertEntry
impl UnwindSafe for AssertEntry
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