Trait LocalBuilder

Source
pub trait LocalBuilder: AttrsPropsBuilder {
    // Required methods
    fn new(pat: impl IntoPat) -> Self;
    fn init(self, init: LocalInit) -> Self;
}

Required Methods§

Source

fn new(pat: impl IntoPat) -> Self

Source

fn init(self, init: LocalInit) -> 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 LocalBuilder for Local

Source§

fn new(pat: impl IntoPat) -> Self

Source§

fn init(self, init: LocalInit) -> Self

Implementors§