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