pub struct AxValueBuilder { /* private fields */ }Expand description
Builder for AxValue.
Implementations§
Source§impl AxValueBuilder
impl AxValueBuilder
Sourcepub fn type<VALUE: Into<AxValueType>>(&mut self, value: VALUE) -> &mut Self
pub fn type<VALUE: Into<AxValueType>>(&mut self, value: VALUE) -> &mut Self
The type of this value.
Sourcepub fn value<VALUE: Into<Json>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<Json>>(&mut self, value: VALUE) -> &mut Self
The computed value of this property.
One or more related nodes, if applicable.
Sourcepub fn sources<VALUE: Into<Vec<AxValueSource>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn sources<VALUE: Into<Vec<AxValueSource>>>( &mut self, value: VALUE, ) -> &mut Self
The sources which contributed to the computation of this property.
Trait Implementations§
Source§impl Clone for AxValueBuilder
impl Clone for AxValueBuilder
Source§fn clone(&self) -> AxValueBuilder
fn clone(&self) -> AxValueBuilder
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 AxValueBuilder
impl RefUnwindSafe for AxValueBuilder
impl Send for AxValueBuilder
impl Sync for AxValueBuilder
impl Unpin for AxValueBuilder
impl UnsafeUnpin for AxValueBuilder
impl UnwindSafe for AxValueBuilder
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