pub struct Generator {
pub name: String,
pub provider: StringFromEnvVar,
pub output: Option<StringFromEnvVar>,
pub config: HashMap<String, GeneratorConfigValue>,
pub binary_targets: Vec<StringFromEnvVar>,
pub preview_features: Option<BitFlags<PreviewFeature>>,
pub documentation: Option<String>,
}
Fields§
§name: String
§provider: StringFromEnvVar
§output: Option<StringFromEnvVar>
§config: HashMap<String, GeneratorConfigValue>
§binary_targets: Vec<StringFromEnvVar>
§preview_features: Option<BitFlags<PreviewFeature>>
§documentation: Option<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
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