pub struct AutoAttachRelatedBuilder { /* private fields */ }Expand description
Builder for AutoAttachRelated.
Implementations§
Source§impl AutoAttachRelatedBuilder
impl AutoAttachRelatedBuilder
pub fn target_id<VALUE: Into<TargetId>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn wait_for_debugger_on_start<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn wait_for_debugger_on_start<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether to pause new targets when attaching to them. Use Runtime.runIfWaitingForDebugger
to run paused targets.
Sourcepub fn filter<VALUE: Into<TargetFilter>>(&mut self, value: VALUE) -> &mut Self
pub fn filter<VALUE: Into<TargetFilter>>(&mut self, value: VALUE) -> &mut Self
Only targets matching filter will be attached.
Sourcepub fn build(&self) -> Result<AutoAttachRelated, AutoAttachRelatedBuilderError>
pub fn build(&self) -> Result<AutoAttachRelated, AutoAttachRelatedBuilderError>
Trait Implementations§
Source§impl Clone for AutoAttachRelatedBuilder
impl Clone for AutoAttachRelatedBuilder
Source§fn clone(&self) -> AutoAttachRelatedBuilder
fn clone(&self) -> AutoAttachRelatedBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AutoAttachRelatedBuilder
impl RefUnwindSafe for AutoAttachRelatedBuilder
impl Send for AutoAttachRelatedBuilder
impl Sync for AutoAttachRelatedBuilder
impl Unpin for AutoAttachRelatedBuilder
impl UnsafeUnpin for AutoAttachRelatedBuilder
impl UnwindSafe for AutoAttachRelatedBuilder
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