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