Struct volo_build::Builder
source · pub struct Builder<MkB, P> { /* private fields */ }
Implementations§
source§impl<MkB, Parser> Builder<MkB, Parser>
impl<MkB, Parser> Builder<MkB, Parser>
pub fn add_service<P>(self, path: P) -> Self
pub fn plugin<P: Plugin + 'static>(self, p: P) -> Self
pub fn out_dir<P: AsRef<Path>>(self, out_dir: P) -> Self
pub fn config_file_path(self, path: PathBuf) -> Self
pub fn ignore_unused(self, ignore_unused: bool) -> Self
pub fn touch( self, items: impl IntoIterator<Item = (PathBuf, Vec<impl Into<String>>)>, ) -> Self
pub fn keep_unknown_fields( self, keep_unknown_fields: impl IntoIterator<Item = PathBuf>, ) -> Self
pub fn special_namings(self, namings: impl IntoIterator<Item = FastStr>) -> Self
pub fn dedup(self, dedup_list: Vec<FastStr>) -> Self
Auto Trait Implementations§
impl<MkB, P> !Freeze for Builder<MkB, P>
impl<MkB, P> !RefUnwindSafe for Builder<MkB, P>
impl<MkB, P> Send for Builder<MkB, P>
impl<MkB, P> Sync for Builder<MkB, P>
impl<MkB, P> Unpin for Builder<MkB, P>
impl<MkB, P> !UnwindSafe for Builder<MkB, P>
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more