Struct solp::ast::Project[][src]

pub struct Project<'input> {
    pub type_id: &'input str,
    pub type_descr: &'input str,
    pub id: &'input str,
    pub name: &'input str,
    pub path: &'input str,
}

Fields

type_id: &'input strtype_descr: &'input strid: &'input strname: &'input strpath: &'input str

Implementations

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

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

pub fn from_begin(head: &Expr<'input>) -> Option<Self>[src]

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

Trait Implementations

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

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

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

impl<'input> Default for Project<'input>[src]

Auto Trait Implementations

impl<'input> RefUnwindSafe for Project<'input>

impl<'input> Send for Project<'input>

impl<'input> Sync for Project<'input>

impl<'input> Unpin for Project<'input>

impl<'input> UnwindSafe for Project<'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.