pub struct SetPropertyRulePropertyNameBuilder { /* private fields */ }Expand description
Builder for SetPropertyRulePropertyName.
Implementations§
Source§impl SetPropertyRulePropertyNameBuilder
impl SetPropertyRulePropertyNameBuilder
pub fn style_sheet_id<VALUE: Into<StyleSheetId>>( &mut self, value: VALUE, ) -> &mut Self
pub fn range<VALUE: Into<SourceRange>>(&mut self, value: VALUE) -> &mut Self
pub fn property_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<SetPropertyRulePropertyName, SetPropertyRulePropertyNameBuilderError>
pub fn build( &self, ) -> Result<SetPropertyRulePropertyName, SetPropertyRulePropertyNameBuilderError>
Trait Implementations§
Source§impl Clone for SetPropertyRulePropertyNameBuilder
impl Clone for SetPropertyRulePropertyNameBuilder
Source§fn clone(&self) -> SetPropertyRulePropertyNameBuilder
fn clone(&self) -> SetPropertyRulePropertyNameBuilder
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 SetPropertyRulePropertyNameBuilder
impl RefUnwindSafe for SetPropertyRulePropertyNameBuilder
impl Send for SetPropertyRulePropertyNameBuilder
impl Sync for SetPropertyRulePropertyNameBuilder
impl Unpin for SetPropertyRulePropertyNameBuilder
impl UnsafeUnpin for SetPropertyRulePropertyNameBuilder
impl UnwindSafe for SetPropertyRulePropertyNameBuilder
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