pub trait Is<Rhs: ?Sized>: Sealed {
// Required methods
fn coerce(self) -> Rhs
where Self: Sized,
Rhs: Sized;
fn rcoerce(rhs: Rhs) -> Self
where Self: Sized,
Rhs: Sized;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".