Struct rst_app::ui::FmtArtifact
[−]
[src]
pub struct FmtArtifact { pub long: bool, pub path: Option<PathBuf>, pub parts: Option<Vec<FmtArtifact>>, pub partof: Option<Vec<FmtArtifact>>, pub loc: Option<Loc>, pub text: Option<String>, pub name: ArtNameRc, }
structure which contains all the information necessary to format an artifact for cmdline, html, or anything else purposely doesn't contain items that are always displayed such as completed or tested
Fields
long: bool
path: Option<PathBuf>
parts: Option<Vec<FmtArtifact>>
partof: Option<Vec<FmtArtifact>>
loc: Option<Loc>
text: Option<String>
name: ArtNameRc
Methods
impl FmtArtifact
[src]
fn write<W: Write>(&self,
w: &mut W,
cwd: &Path,
artifacts: &Artifacts,
settings: &Settings,
indent: u8)
-> Result<()>
w: &mut W,
cwd: &Path,
artifacts: &Artifacts,
settings: &Settings,
indent: u8)
-> Result<()>
write the formatted version of the artifact to the cmdline writter
Trait Implementations
impl Debug for FmtArtifact
[src]
impl Default for FmtArtifact
[src]
fn default() -> FmtArtifact
Returns the "default value" for a type. Read more