[][src]Struct cargo_flutter::Cargo

pub struct Cargo<'a> { /* fields omitted */ }

Methods

impl<'a> Cargo<'a>[src]

pub fn new(config: &'a mut Config, args: Vec<&'a str>) -> Result<Self, Error>[src]

pub fn cmd(&self) -> &str[src]

pub fn target(&self) -> Option<&str>[src]

pub fn package(&self) -> Result<&Package, Error>[src]

pub fn release(&self) -> bool[src]

pub fn host_target(&self) -> Result<String, Error>[src]

pub fn triple(&self) -> Result<String, Error>[src]

pub fn workspace(&self) -> &Workspace[src]

pub fn target_dir(&self) -> PathBuf[src]

pub fn build_dir(&self) -> PathBuf[src]

pub fn build(&self) -> Result<(), Error>[src]

pub fn run(&self) -> Result<String, Error>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for Cargo<'a>

impl<'a> !Send for Cargo<'a>

impl<'a> !Sync for Cargo<'a>

impl<'a> Unpin for Cargo<'a>

impl<'a> !UnwindSafe for Cargo<'a>

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

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,