pub struct SetInspectModeBuilder { /* private fields */ }Expand description
Builder for SetInspectMode.
Implementations§
Source§impl SetInspectModeBuilder
impl SetInspectModeBuilder
Sourcepub fn mode<VALUE: Into<InspectMode>>(&mut self, value: VALUE) -> &mut Self
pub fn mode<VALUE: Into<InspectMode>>(&mut self, value: VALUE) -> &mut Self
Set an inspection mode.
Sourcepub fn highlight_config<VALUE: Into<HighlightConfig>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn highlight_config<VALUE: Into<HighlightConfig>>( &mut self, value: VALUE, ) -> &mut Self
A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false.
Sourcepub fn build(&self) -> Result<SetInspectMode, SetInspectModeBuilderError>
pub fn build(&self) -> Result<SetInspectMode, SetInspectModeBuilderError>
Trait Implementations§
Source§impl Clone for SetInspectModeBuilder
impl Clone for SetInspectModeBuilder
Source§fn clone(&self) -> SetInspectModeBuilder
fn clone(&self) -> SetInspectModeBuilder
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 SetInspectModeBuilder
impl RefUnwindSafe for SetInspectModeBuilder
impl Send for SetInspectModeBuilder
impl Sync for SetInspectModeBuilder
impl Unpin for SetInspectModeBuilder
impl UnsafeUnpin for SetInspectModeBuilder
impl UnwindSafe for SetInspectModeBuilder
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