pub struct EmitSet {
pub pb: bool,
pub single_proto: bool,
pub proto: bool,
pub manifest: bool,
}Expand description
Which artefacts to write to the output directory. All default on.
A set of independent on/off toggles is exactly what a bool-per-field struct is for; there is no state combination to model as an enum.
Fields§
§pb: boolThe combined FileDescriptorSet — <name>.pb.
single_proto: boolA single combined .proto text file — <name>.proto (compilable when
single-package; a combined view otherwise).
proto: boolOne .proto per package under <name>/.
manifest: boolThe message-type manifest — <name>.messages.json.
Trait Implementations§
impl Copy for EmitSet
Auto Trait Implementations§
impl Freeze for EmitSet
impl RefUnwindSafe for EmitSet
impl Send for EmitSet
impl Sync for EmitSet
impl Unpin for EmitSet
impl UnwindSafe for EmitSet
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