Skip to main content

Adjust

Trait Adjust 

Source
pub trait Adjust<P, const FI: usize> {
    type Adjusted;
}
Expand description

Adjustable partial type: Self but with field #FI accessible with permission P.

Used by the partial!() macro.

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§