Struct partial_function::PartialFunctionBuilder[][src]

pub struct PartialFunctionBuilder<B, O> where
    B: PartialOrd
{ /* fields omitted */ }

A builder to create an immutable PartialFunction.

Methods

impl<B, O> PartialFunctionBuilder<B, O> where
    B: PartialOrd
[src]

Creates a new PartialFunctionBuilder.

Adds a bounded function bounded between [lower,higher[ of function func.

Check if you can safely insert into the function list for the specified bounds.

Builds the PartialFunction from the functions added using with.

Auto Trait Implementations

impl<B, O> Send for PartialFunctionBuilder<B, O> where
    B: Send

impl<B, O> Sync for PartialFunctionBuilder<B, O> where
    B: Sync