Enum bootimage::args::BuildCommand [−][src]
Internal representation of the cargo bootimage
command.
Variants
Build(BuildArgs)
A normal invocation (i.e. no --help
or --version
)
The --version
command
The --help
command
Implementations
impl BuildCommand
[src]
pub fn parse_args<A>(args: A) -> Result<Self> where
A: Iterator<Item = String>,
[src]
A: Iterator<Item = String>,
Parse the command line args into a BuildCommand
.
Auto Trait Implementations
impl RefUnwindSafe for BuildCommand
impl Send for BuildCommand
impl Sync for BuildCommand
impl Unpin for BuildCommand
impl UnwindSafe for BuildCommand
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,