[][src]Struct semver_rs::Builder

pub struct Builder<'a, T> where
    T: Parseable<'a>, 
{ /* fields omitted */ }

A Builder that helps create instances of Version and Range by also optionally supplying Options.

Methods

impl<'a, T> Builder<'a, T> where
    T: Parseable<'a>, 
[src]

pub fn new(input: &'a str) -> Self[src]

pub fn with_options_maybe(self, opts: Option<Options>) -> Self[src]

pub fn with_options(self, opts: Options) -> Self[src]

pub fn parse(self) -> Result<T, Error>[src]

Trait Implementations

impl<'a, T: Debug> Debug for Builder<'a, T> where
    T: Parseable<'a>, 
[src]

Auto Trait Implementations

impl<'a, T> Send for Builder<'a, T> where
    T: Send

impl<'a, T> Sync for Builder<'a, T> where
    T: Sync

Blanket Implementations

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, 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> Borrow for T where
    T: ?Sized
[src]

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

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