Skip to main content

AddAssignSpec

Trait AddAssignSpec 

Source
pub trait AddAssignSpec<Rhs = Self>: AddAssign<Rhs> {
    // Required methods
    spec fn obeys_add_assign_spec() -> bool;
    spec fn add_assign_req(&self, rhs: Rhs) -> bool;
    spec fn add_assign_spec(&self, rhs: Rhs) -> &Self;
}

Required Methods§

Source

spec fn obeys_add_assign_spec() -> bool

Source

spec fn add_assign_req(&self, rhs: Rhs) -> bool

Source

spec fn add_assign_spec(&self, rhs: Rhs) -> &Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Rhs, VERUS_SPEC__A: AddAssign<Rhs> + ?Sized> AddAssignSpec<Rhs> for VERUS_SPEC__A