Struct solp::ast::Version[][src]

pub struct Version<'input> {
    pub name: &'input str,
    pub ver: &'input str,
}

Fields

name: &'input strver: &'input str

Implementations

impl<'input> Version<'input>[src]

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

pub fn from(name: &Expr<'input>, val: &Expr<'input>) -> Self[src]

Trait Implementations

impl<'input> Clone for Version<'input>[src]

impl<'input> Copy for Version<'input>[src]

impl<'input> Debug for Version<'input>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for Version<'input>

impl<'input> Send for Version<'input>

impl<'input> Sync for Version<'input>

impl<'input> Unpin for Version<'input>

impl<'input> UnwindSafe for Version<'input>

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> Pointable for T

type Init = T

The type for initializers.

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

type Owned = T

The resulting type after obtaining ownership.

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.