pub struct SetRuleSelectorParamsBuilder { /* private fields */ }
Implementations§
source§impl SetRuleSelectorParamsBuilder
impl SetRuleSelectorParamsBuilder
pub fn style_sheet_id( self, style_sheet_id: impl Into<StyleSheetId>, ) -> SetRuleSelectorParamsBuilder
pub fn range( self, range: impl Into<SourceRange>, ) -> SetRuleSelectorParamsBuilder
pub fn selector( self, selector: impl Into<String>, ) -> SetRuleSelectorParamsBuilder
pub fn build(self) -> Result<SetRuleSelectorParams, String>
Trait Implementations§
source§impl Clone for SetRuleSelectorParamsBuilder
impl Clone for SetRuleSelectorParamsBuilder
source§fn clone(&self) -> SetRuleSelectorParamsBuilder
fn clone(&self) -> SetRuleSelectorParamsBuilder
Returns a copy 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 moresource§impl Default for SetRuleSelectorParamsBuilder
impl Default for SetRuleSelectorParamsBuilder
source§fn default() -> SetRuleSelectorParamsBuilder
fn default() -> SetRuleSelectorParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetRuleSelectorParamsBuilder
impl RefUnwindSafe for SetRuleSelectorParamsBuilder
impl Send for SetRuleSelectorParamsBuilder
impl Sync for SetRuleSelectorParamsBuilder
impl Unpin for SetRuleSelectorParamsBuilder
impl UnwindSafe for SetRuleSelectorParamsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)