pub struct SetMediaTextBuilder { /* private fields */ }Expand description
Builder for SetMediaText.
Implementations§
Source§impl SetMediaTextBuilder
impl SetMediaTextBuilder
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<SetMediaText, SetMediaTextBuilderError>
pub fn build(&self) -> Result<SetMediaText, SetMediaTextBuilderError>
Trait Implementations§
Source§impl Clone for SetMediaTextBuilder
impl Clone for SetMediaTextBuilder
Source§fn clone(&self) -> SetMediaTextBuilder
fn clone(&self) -> SetMediaTextBuilder
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 SetMediaTextBuilder
impl RefUnwindSafe for SetMediaTextBuilder
impl Send for SetMediaTextBuilder
impl Sync for SetMediaTextBuilder
impl Unpin for SetMediaTextBuilder
impl UnsafeUnpin for SetMediaTextBuilder
impl UnwindSafe for SetMediaTextBuilder
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