pub trait CastInfo {
// Required methods
fn cast_point(&self) -> Point;
fn sender(&self) -> ActorAddr;
}Required Methods§
Sourcefn cast_point(&self) -> Point
fn cast_point(&self) -> Point
Get the cast rank and cast shape. If something wasn’t explicitly sent via a cast, represent it as the only member of a zero-dimensional cast shape, which is the same as a singleton.
fn sender(&self) -> ActorAddr
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".