[][src]Struct proteus::TransformBuilder

pub struct TransformBuilder { /* fields omitted */ }

This type provides the ability to create a Transformer for use.

Methods

impl TransformBuilder[src]

pub fn add_action(self, action: Box<dyn Action>) -> Self[src]

adds a single Action to be applied during the transformation.

pub fn add_actions(self, actions: Vec<Box<dyn Action>>) -> Self[src]

adds multiple Action to be applied during the transformation.

pub fn build(self) -> Result<Transformer, Error>[src]

creates the final Transformer representation.

Trait Implementations

impl Debug for TransformBuilder[src]

impl Default for TransformBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.