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: StringChange the current directory
PackIndex(String)
Tuple Fields
0: StringSet the name of the pack index file
ManifestFile(String)
Tuple Fields
0: StringSet the name of the manifest file
Pack
Fields
filename: StringSpecify the filename
force_compression: boolActivate compression for this package
Initialize a new pack file
AddDir(DirSpec)
Tuple Fields
0: DirSpecInclude a directory
RemDir(DirSpec)
Tuple Fields
0: DirSpecExclude a directory
AddFile
Fields
filename: StringThe name of that file
Add a file
RemFile
Fields
filename: StringThe 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
