pub struct RemoveAttributeBuilder { /* private fields */ }Expand description
Builder for RemoveAttribute.
Implementations§
Source§impl RemoveAttributeBuilder
impl RemoveAttributeBuilder
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 element to remove attribute from.
Sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Name of the attribute to remove.
Sourcepub fn build(&self) -> Result<RemoveAttribute, RemoveAttributeBuilderError>
pub fn build(&self) -> Result<RemoveAttribute, RemoveAttributeBuilderError>
Trait Implementations§
Source§impl Clone for RemoveAttributeBuilder
impl Clone for RemoveAttributeBuilder
Source§fn clone(&self) -> RemoveAttributeBuilder
fn clone(&self) -> RemoveAttributeBuilder
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 RemoveAttributeBuilder
impl RefUnwindSafe for RemoveAttributeBuilder
impl Send for RemoveAttributeBuilder
impl Sync for RemoveAttributeBuilder
impl Unpin for RemoveAttributeBuilder
impl UnsafeUnpin for RemoveAttributeBuilder
impl UnwindSafe for RemoveAttributeBuilder
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