pub trait CastInfo {
// Required methods
fn cast_info(&self) -> (usize, Shape);
fn sender(&self) -> &ActorId;
}
Required Methods§
Sourcefn cast_info(&self) -> (usize, Shape)
fn cast_info(&self) -> (usize, Shape)
Get the cast rank and cast shape. If something wasn’t explicitly sent via a cast, then we represent it as the only member of a 0-dimensonal cast shape, which is the same as a singleton.