pub struct BuildKoboArgs {
pub slow: bool,
pub skip: bool,
pub download_only: bool,
pub features: Option<String>,
}Expand description
Arguments for cargo xtask build-kobo.
Fields§
§slow: boolBuild all thirdparty libraries from source instead of downloading pre-built binaries.
Required for CI where pre-built binaries are not available.
skip: boolSkip the library download/build step entirely.
Use this when libs/ already contains the required .so files.
download_only: boolDownload thirdparty sources without building or cross-compiling.
Useful for pre-populating the source cache in CI setup steps.
features: Option<String>Cargo feature flags to pass to the Cadmus build (e.g. test).
Trait Implementations§
Source§impl Args for BuildKoboArgs
impl Args for BuildKoboArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for BuildKoboArgs
impl Debug for BuildKoboArgs
Source§impl FromArgMatches for BuildKoboArgs
impl FromArgMatches for BuildKoboArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for BuildKoboArgs
impl RefUnwindSafe for BuildKoboArgs
impl Send for BuildKoboArgs
impl Sync for BuildKoboArgs
impl Unpin for BuildKoboArgs
impl UnwindSafe for BuildKoboArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more