pub trait ReceiverBuilder: AttrsPropsBuilder {
// Required methods
fn new() -> Self;
fn reference(self, reference: bool) -> Self;
fn lifetime(self, lifetime: impl Into<Lifetime>) -> Self;
fn mutability(self, mutability: bool) -> Self;
fn ty(self, ty: impl IntoType) -> Self;
}
Required Methods§
fn new() -> Self
fn reference(self, reference: bool) -> Self
fn lifetime(self, lifetime: impl Into<Lifetime>) -> Self
fn mutability(self, mutability: bool) -> Self
fn ty(self, ty: impl IntoType) -> Self
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.