pub struct RemovalBuilder { /* private fields */ }
Expand description
Builder for Removal
.
Implementations§
Source§impl RemovalBuilder
impl RemovalBuilder
Sourcepub fn by_class<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn by_class<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identify items to remove by matching their class.
Sourcepub fn by_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn by_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identify items to remove indicated by their id.
Sourcepub fn by_item_name<VALUE: Into<ItemNameReference>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn by_item_name<VALUE: Into<ItemNameReference>>( &mut self, value: VALUE, ) -> &mut Self
Identify items to remove by the name of the item’s information object name, e.g. title or prop.
Sourcepub fn by_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn by_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Identify items remove by matching their assigned name.
Trait Implementations§
Source§impl Clone for RemovalBuilder
impl Clone for RemovalBuilder
Source§fn clone(&self) -> RemovalBuilder
fn clone(&self) -> RemovalBuilder
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 RemovalBuilder
impl RefUnwindSafe for RemovalBuilder
impl Send for RemovalBuilder
impl Sync for RemovalBuilder
impl Unpin for RemovalBuilder
impl UnwindSafe for RemovalBuilder
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