pub struct DetachedElementInfoBuilder { /* private fields */ }Expand description
Builder for DetachedElementInfo.
Implementations§
Source§impl DetachedElementInfoBuilder
impl DetachedElementInfoBuilder
pub fn tree_node<VALUE: Into<Node>>(&mut self, value: VALUE) -> &mut Self
pub fn retained_node_ids<VALUE: Into<Vec<NodeId>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<DetachedElementInfo, DetachedElementInfoBuilderError>
pub fn build( &self, ) -> Result<DetachedElementInfo, DetachedElementInfoBuilderError>
Trait Implementations§
Source§impl Clone for DetachedElementInfoBuilder
impl Clone for DetachedElementInfoBuilder
Source§fn clone(&self) -> DetachedElementInfoBuilder
fn clone(&self) -> DetachedElementInfoBuilder
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 DetachedElementInfoBuilder
impl RefUnwindSafe for DetachedElementInfoBuilder
impl Send for DetachedElementInfoBuilder
impl Sync for DetachedElementInfoBuilder
impl Unpin for DetachedElementInfoBuilder
impl UnsafeUnpin for DetachedElementInfoBuilder
impl UnwindSafe for DetachedElementInfoBuilder
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