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; }
Expand description

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

build

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

hidden

Initialize props with visible set to False

visible

Initialize props with visible set to True

Implementors