pub trait AnyPin:
Sealed
+ Sealed
+ Is<Type = Pin<Self::Id, Self::Function, Self::Pull>> {
type Id: PinId;
type Function: Function;
type Pull: PullType;
}Expand description
Type class for Pin types.
This trait uses the AnyKind trait pattern to create a type class for
Pin types. See the AnyKind documentation for more details on the
pattern.
Required Associated Types§
Sourcetype Function: Function
type Function: Function
func::Function of the corresponding Pin
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.