pub struct TagBuilder { /* private fields */ }
Implementations§
Source§impl TagBuilder
impl TagBuilder
pub fn new(name: &str) -> Self
pub fn location(self, location: Location) -> Self
pub fn path<P: AsRef<Path>>(self, path: P) -> Self
pub fn clone(self, command: String) -> Self
pub fn work(self, command: String) -> Self
pub fn priority(self, priority: i32) -> Self
pub fn build(self) -> Tag
Auto Trait Implementations§
impl Freeze for TagBuilder
impl RefUnwindSafe for TagBuilder
impl Send for TagBuilder
impl Sync for TagBuilder
impl Unpin for TagBuilder
impl UnwindSafe for TagBuilder
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