pub struct SafetyDecl {
pub name: String,
pub params: Vec<Param>,
pub invariants: Vec<Spanned<Expr>>,
}Fields§
§name: String§params: Vec<Param>§invariants: Vec<Spanned<Expr>>Trait Implementations§
Source§impl Clone for SafetyDecl
impl Clone for SafetyDecl
Auto Trait Implementations§
impl Forget for SafetyDecl
impl Freeze for SafetyDecl
impl RefUnwindSafe for SafetyDecl
impl Send for SafetyDecl
impl Sync for SafetyDecl
impl Unpin for SafetyDecl
impl UnsafeUnpin for SafetyDecl
impl UnwindSafe for SafetyDecl
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