Trait tuirealm::props::builder::PropsBuilder[][src]

pub trait PropsBuilder {
    fn build(&mut self) -> Props;
fn hidden(&mut self) -> &mut Self;
fn visible(&mut self) -> &mut Self; }

PropsBuilder

The PropsBuilder trait just defines the method build, which all the builders must implement. This method must return the Props hold by the ProspBuilder. If you’re looking on how to implement a Props Builder, check out the GenericPropsBuilder.

Required methods

fn build(&mut self) -> Props[src]

build

Build Props from builder You shouldn’t allow this method to be called twice. Panic is ok.

fn hidden(&mut self) -> &mut Self[src]

hidden

Initialize props with visible set to False

fn visible(&mut self) -> &mut Self[src]

visible

Initialize props with visible set to True

Loading content...

Implementors

impl PropsBuilder for GenericPropsBuilder[src]

Loading content...