[][src]Struct paperclip::v2::codegen::CrateMeta

pub struct CrateMeta {
    pub name: Option<String>,
    pub version: Option<String>,
    pub authors: Option<Vec<String>>,
    pub mode: EmitMode,
    // some fields omitted
}

Metadata for generating a crate.

Fields

name: Option<String>

Name of the crate. If this is not specified, then the name of the working directory is assumed to be crate name.

version: Option<String>

Version (defaults to 0.1.0)

authors: Option<Vec<String>>

List of authors for this crate. Defaults to cargo's defaults.

mode: EmitMode

Whether we're planning to emit a lib, app or module.

Trait Implementations

impl Clone for CrateMeta[src]

impl Debug for CrateMeta[src]

impl Default for CrateMeta[src]

Auto Trait Implementations

impl RefUnwindSafe for CrateMeta

impl Send for CrateMeta

impl Sync for CrateMeta

impl Unpin for CrateMeta

impl UnwindSafe for CrateMeta

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> 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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,