Skip to main content

SplitTy

Trait SplitTy 

Source
pub trait SplitTy<X: Property> {
    type Left;
    type Right;

    // Required method
    fn split_ty(self) -> (Self::Left, Self::Right);
}

Required Associated Types§

Required Methods§

Source

fn split_ty(self) -> (Self::Left, Self::Right)

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§