Struct volo_build::BoxClonePlugin
source · pub struct BoxClonePlugin(/* private fields */);
Implementations§
source§impl BoxClonePlugin
impl BoxClonePlugin
pub fn new<P>(p: P) -> BoxClonePluginwhere
P: ClonePlugin + 'static,
Trait Implementations§
source§impl Clone for BoxClonePlugin
impl Clone for BoxClonePlugin
source§fn clone(&self) -> BoxClonePlugin
fn clone(&self) -> BoxClonePlugin
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Plugin for BoxClonePlugin
impl Plugin for BoxClonePlugin
fn on_item(&mut self, cx: &Context, def_id: DefId, item: Arc<Item>)
fn on_field(&mut self, cx: &Context, def_id: DefId, f: Arc<Field>)
fn on_variant(&mut self, cx: &Context, def_id: DefId, variant: Arc<EnumVariant>)
fn on_emit(&mut self, cx: &Context)
fn on_codegen_uint(&mut self, cx: &Context, items: &[DefId])
Auto Trait Implementations§
impl Freeze for BoxClonePlugin
impl !RefUnwindSafe for BoxClonePlugin
impl Send for BoxClonePlugin
impl Sync for BoxClonePlugin
impl Unpin for BoxClonePlugin
impl !UnwindSafe for BoxClonePlugin
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> ClonePlugin for T
impl<T> ClonePlugin for T
fn clone_box(&self) -> Box<dyn ClonePlugin>
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