pub struct GetHighlightObjectForTestBuilder { /* private fields */ }Implementations§
Source§impl GetHighlightObjectForTestBuilder
impl GetHighlightObjectForTestBuilder
pub fn node_id(self, node_id: impl Into<NodeId>) -> Self
pub fn include_distance(self, include_distance: impl Into<bool>) -> Self
pub fn include_style(self, include_style: impl Into<bool>) -> Self
pub fn color_format(self, color_format: impl Into<ColorFormat>) -> Self
pub fn show_accessibility_info( self, show_accessibility_info: impl Into<bool>, ) -> Self
pub fn build(self) -> Result<GetHighlightObjectForTest, String>
Trait Implementations§
Source§impl Clone for GetHighlightObjectForTestBuilder
impl Clone for GetHighlightObjectForTestBuilder
Source§fn clone(&self) -> GetHighlightObjectForTestBuilder
fn clone(&self) -> GetHighlightObjectForTestBuilder
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 GetHighlightObjectForTestBuilder
impl Default for GetHighlightObjectForTestBuilder
Source§fn default() -> GetHighlightObjectForTestBuilder
fn default() -> GetHighlightObjectForTestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetHighlightObjectForTestBuilder
impl RefUnwindSafe for GetHighlightObjectForTestBuilder
impl Send for GetHighlightObjectForTestBuilder
impl Sync for GetHighlightObjectForTestBuilder
impl Unpin for GetHighlightObjectForTestBuilder
impl UnsafeUnpin for GetHighlightObjectForTestBuilder
impl UnwindSafe for GetHighlightObjectForTestBuilder
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