[][src]Struct Lotus::LotusBuilder

pub struct LotusBuilder<'a> { /* fields omitted */ }

Builder for Lotus.

Methods

impl<'a> LotusBuilder<'a>[src]

pub fn symbol(&mut self, value: &'a str) -> &mut Self[src]

pub fn precision(&mut self, value: u8) -> &mut Self[src]

pub fn thousand_str(&mut self, value: &'a str) -> &mut Self[src]

pub fn decimal_str(&mut self, value: &'a str) -> &mut Self[src]

pub fn format_positive(&mut self, value: &'a str) -> &mut Self[src]

pub fn format_negative(&mut self, value: &'a str) -> &mut Self[src]

pub fn format_zero(&mut self, value: &'a str) -> &mut Self[src]

pub fn build(&self) -> Result<Lotus<'a>, String>[src]

Builds a new Lotus.

Errors

If a required field has not been initialized.

Trait Implementations

impl<'a> Clone for LotusBuilder<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Default for LotusBuilder<'a>[src]

Auto Trait Implementations

impl<'a> Send for LotusBuilder<'a>

impl<'a> Sync for LotusBuilder<'a>

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]