pub struct ResolveNodeBuilder { /* private fields */ }Expand description
Builder for ResolveNode.
Implementations§
Source§impl ResolveNodeBuilder
impl ResolveNodeBuilder
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
Id of the node to resolve.
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
Backend identifier of the node to resolve.
Sourcepub fn object_group<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn object_group<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Symbolic group name that can be used to release multiple objects.
Sourcepub fn execution_context_id<VALUE: Into<ExecutionContextId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn execution_context_id<VALUE: Into<ExecutionContextId>>( &mut self, value: VALUE, ) -> &mut Self
Execution context in which to resolve the node.
Sourcepub fn build(&self) -> Result<ResolveNode, ResolveNodeBuilderError>
pub fn build(&self) -> Result<ResolveNode, ResolveNodeBuilderError>
Trait Implementations§
Source§impl Clone for ResolveNodeBuilder
impl Clone for ResolveNodeBuilder
Source§fn clone(&self) -> ResolveNodeBuilder
fn clone(&self) -> ResolveNodeBuilder
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 ResolveNodeBuilder
impl RefUnwindSafe for ResolveNodeBuilder
impl Send for ResolveNodeBuilder
impl Sync for ResolveNodeBuilder
impl Unpin for ResolveNodeBuilder
impl UnsafeUnpin for ResolveNodeBuilder
impl UnwindSafe for ResolveNodeBuilder
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