pub struct HighlightSourceOrderBuilder { /* private fields */ }Expand description
Builder for HighlightSourceOrder.
Implementations§
Source§impl HighlightSourceOrderBuilder
impl HighlightSourceOrderBuilder
Sourcepub fn source_order_config<VALUE: Into<SourceOrderConfig>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn source_order_config<VALUE: Into<SourceOrderConfig>>( &mut self, value: VALUE, ) -> &mut Self
A descriptor for the appearance of the overlay drawing.
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Identifier of the node to highlight.
Sourcepub fn backend_node_id<VALUE: Into<BackendNodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn backend_node_id<VALUE: Into<BackendNodeId>>( &mut self, value: VALUE, ) -> &mut Self
Identifier of the backend node to highlight.
Sourcepub fn object_id<VALUE: Into<RemoteObjectId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn object_id<VALUE: Into<RemoteObjectId>>( &mut self, value: VALUE, ) -> &mut Self
JavaScript object id of the node to be highlighted.
Sourcepub fn build(
&self,
) -> Result<HighlightSourceOrder, HighlightSourceOrderBuilderError>
pub fn build( &self, ) -> Result<HighlightSourceOrder, HighlightSourceOrderBuilderError>
Trait Implementations§
Source§impl Clone for HighlightSourceOrderBuilder
impl Clone for HighlightSourceOrderBuilder
Source§fn clone(&self) -> HighlightSourceOrderBuilder
fn clone(&self) -> HighlightSourceOrderBuilder
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 HighlightSourceOrderBuilder
impl RefUnwindSafe for HighlightSourceOrderBuilder
impl Send for HighlightSourceOrderBuilder
impl Sync for HighlightSourceOrderBuilder
impl Unpin for HighlightSourceOrderBuilder
impl UnsafeUnpin for HighlightSourceOrderBuilder
impl UnwindSafe for HighlightSourceOrderBuilder
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