pub struct SetInspectModeBuilder { /* private fields */ }Implementations§
Source§impl SetInspectModeBuilder
impl SetInspectModeBuilder
pub fn mode(self, mode: impl Into<InspectMode>) -> Self
pub fn highlight_config( self, highlight_config: impl Into<HighlightConfig>, ) -> Self
pub fn build(self) -> Result<SetInspectMode, String>
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 moreSource§impl Default for SetInspectModeBuilder
impl Default for SetInspectModeBuilder
Source§fn default() -> SetInspectModeBuilder
fn default() -> SetInspectModeBuilder
Returns the “default value” for a type. Read more
Auto 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