pub struct AxPropertyBuilder { /* private fields */ }Expand description
Builder for AxProperty.
Implementations§
Source§impl AxPropertyBuilder
impl AxPropertyBuilder
Sourcepub fn name<VALUE: Into<AxPropertyName>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<AxPropertyName>>(&mut self, value: VALUE) -> &mut Self
The name of this property.
Sourcepub fn value<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<AxValue>>(&mut self, value: VALUE) -> &mut Self
The value of this property.
Sourcepub fn build(&self) -> Result<AxProperty, AxPropertyBuilderError>
pub fn build(&self) -> Result<AxProperty, AxPropertyBuilderError>
Trait Implementations§
Source§impl Clone for AxPropertyBuilder
impl Clone for AxPropertyBuilder
Source§fn clone(&self) -> AxPropertyBuilder
fn clone(&self) -> AxPropertyBuilder
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 AxPropertyBuilder
impl RefUnwindSafe for AxPropertyBuilder
impl Send for AxPropertyBuilder
impl Sync for AxPropertyBuilder
impl Unpin for AxPropertyBuilder
impl UnsafeUnpin for AxPropertyBuilder
impl UnwindSafe for AxPropertyBuilder
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