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