pub struct ShorthandEntryBuilder { /* private fields */ }Expand description
Builder for ShorthandEntry.
Implementations§
Source§impl ShorthandEntryBuilder
impl ShorthandEntryBuilder
Sourcepub fn important<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn important<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether the property has “!important” annotation (implies false if absent).
Sourcepub fn build(&self) -> Result<ShorthandEntry, ShorthandEntryBuilderError>
pub fn build(&self) -> Result<ShorthandEntry, ShorthandEntryBuilderError>
Trait Implementations§
Source§impl Clone for ShorthandEntryBuilder
impl Clone for ShorthandEntryBuilder
Source§fn clone(&self) -> ShorthandEntryBuilder
fn clone(&self) -> ShorthandEntryBuilder
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 ShorthandEntryBuilder
impl RefUnwindSafe for ShorthandEntryBuilder
impl Send for ShorthandEntryBuilder
impl Sync for ShorthandEntryBuilder
impl Unpin for ShorthandEntryBuilder
impl UnsafeUnpin for ShorthandEntryBuilder
impl UnwindSafe for ShorthandEntryBuilder
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