Enum assembly_pack::txt::gen::Command [−][src]
pub enum Command {
CurrentDirectory(String),
PackIndex(String),
ManifestFile(String),
Pack {
filename: String,
force_compression: bool,
},
AddDir(DirSpec),
RemDir(DirSpec),
AddFile {
filename: String,
},
RemFile {
filename: String,
},
EndPack,
}
Expand description
A single command
Variants
CurrentDirectory(String)
Tuple Fields
0: String
Change the current directory
PackIndex(String)
Tuple Fields
0: String
Set the name of the pack index file
ManifestFile(String)
Tuple Fields
0: String
Set the name of the manifest file
Pack
Fields
filename: String
Specify the filename
force_compression: bool
Activate compression for this package
Initialize a new pack file
AddDir(DirSpec)
Tuple Fields
0: DirSpec
Include a directory
RemDir(DirSpec)
Tuple Fields
0: DirSpec
Exclude a directory
AddFile
Fields
filename: String
The name of that file
Add a file
RemFile
Fields
filename: String
The name of that file
Remove a file
EndPack
Complete the pack file
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Command
impl UnwindSafe for Command
Blanket Implementations
Mutably borrows from an owned value. Read more
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more