Trait ReceiverBuilder

Source
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§

Source

fn new() -> Self

Source

fn reference(self, reference: bool) -> Self

Source

fn lifetime(self, lifetime: impl Into<Lifetime>) -> Self

Source

fn mutability(self, mutability: bool) -> Self

Source

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.

Implementations on Foreign Types§

Source§

impl ReceiverBuilder for Receiver

Source§

fn new() -> Self

Source§

fn reference(self, reference: bool) -> Self

Source§

fn lifetime(self, lifetime: impl Into<Lifetime>) -> Self

Source§

fn mutability(self, mutability: bool) -> Self

Source§

fn ty(self, ty: impl IntoType) -> Self

Implementors§