pub struct InspectedElementAnchorConfigBuilder { /* private fields */ }Expand description
Builder for InspectedElementAnchorConfig.
Implementations§
Source§impl InspectedElementAnchorConfigBuilder
impl InspectedElementAnchorConfigBuilder
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 build(
&self,
) -> Result<InspectedElementAnchorConfig, InspectedElementAnchorConfigBuilderError>
pub fn build( &self, ) -> Result<InspectedElementAnchorConfig, InspectedElementAnchorConfigBuilderError>
Trait Implementations§
Source§impl Clone for InspectedElementAnchorConfigBuilder
impl Clone for InspectedElementAnchorConfigBuilder
Source§fn clone(&self) -> InspectedElementAnchorConfigBuilder
fn clone(&self) -> InspectedElementAnchorConfigBuilder
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 InspectedElementAnchorConfigBuilder
impl RefUnwindSafe for InspectedElementAnchorConfigBuilder
impl Send for InspectedElementAnchorConfigBuilder
impl Sync for InspectedElementAnchorConfigBuilder
impl Unpin for InspectedElementAnchorConfigBuilder
impl UnsafeUnpin for InspectedElementAnchorConfigBuilder
impl UnwindSafe for InspectedElementAnchorConfigBuilder
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