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