pub struct ValueBuilder { /* private fields */ }Expand description
Builder for Value.
Implementations§
Source§impl ValueBuilder
impl ValueBuilder
Sourcepub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
pub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
Value range in the underlying resource (if available).
Sourcepub fn specificity<VALUE: Into<Specificity>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn specificity<VALUE: Into<Specificity>>( &mut self, value: VALUE, ) -> &mut Self
Specificity of the selector.
Trait Implementations§
Source§impl Clone for ValueBuilder
impl Clone for ValueBuilder
Source§fn clone(&self) -> ValueBuilder
fn clone(&self) -> ValueBuilder
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 ValueBuilder
impl RefUnwindSafe for ValueBuilder
impl Send for ValueBuilder
impl Sync for ValueBuilder
impl Unpin for ValueBuilder
impl UnsafeUnpin for ValueBuilder
impl UnwindSafe for ValueBuilder
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