Struct nibi::app::config::DirConf

source ·
pub struct DirConf { /* private fields */ }

Implementations§

Examples found in repository?
src/cmd/init.rs (line 154)
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
fn create_src_dirs(config: &Config, root_dir: &Path) -> bool {
	match config.get_dir_conf().create_src_dirs(root_dir) {
		Err(errs) => {
			for e in errs {
				println!(
					"ディレクトリ {} の作成中にエラーが発生しました: {}",
					e.1.display(),
					e.0
				);
			}
			false
		}
		_ => true,
	}
}

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.