Struct glean_build::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A Glean Rust bindings generator.
Implementations§
source§impl Builder
impl Builder
sourcepub fn with_output<S: Into<String>>(out_dir: S) -> Self
pub fn with_output<S: Into<String>>(out_dir: S) -> Self
sourcepub fn file<S: Into<String>>(&mut self, file: S) -> &mut Self
pub fn file<S: Into<String>>(&mut self, file: S) -> &mut Self
Add a definition file, e.g. metrics.yaml
or pings.yaml
.
Can be called multiple times to add more files.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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