pub struct SwidTypeBuilder { /* private fields */ }Expand description
Builder for SwidType.
Implementations§
Source§impl SwidTypeBuilder
impl SwidTypeBuilder
pub fn tag_id(&mut self, value: String) -> &mut Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn version(&mut self, value: Option<String>) -> &mut Self
pub fn tag_version(&mut self, value: Option<i32>) -> &mut Self
pub fn patch(&mut self, value: Option<bool>) -> &mut Self
pub fn text(&mut self, value: Option<AttachedTextType>) -> &mut Self
pub fn url(&mut self, value: Option<String>) -> &mut Self
Trait Implementations§
Source§impl Clone for SwidTypeBuilder
impl Clone for SwidTypeBuilder
Source§fn clone(&self) -> SwidTypeBuilder
fn clone(&self) -> SwidTypeBuilder
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 moreSource§impl Default for SwidTypeBuilder
impl Default for SwidTypeBuilder
Source§fn default() -> SwidTypeBuilder
fn default() -> SwidTypeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SwidTypeBuilder
impl RefUnwindSafe for SwidTypeBuilder
impl Send for SwidTypeBuilder
impl Sync for SwidTypeBuilder
impl Unpin for SwidTypeBuilder
impl UnwindSafe for SwidTypeBuilder
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