Skip to main content

DivAssign

Trait DivAssign 

Source
pub unsafe trait DivAssign<Rhs = Self>: DivAssign<Rhs> { }
Expand description

This trait is empty declaration of ::core::ops::DivAssign to be used with newer_type::implement.

§Example

#[implement(for<Rhs> newer_type_std::ops::DivAssign<Rhs>)]
struct MyStruct {
    slot: usize
}

§Safety

should be implemented by newer_type::implement

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§