pub struct SetContainerQueryTextBuilder { /* private fields */ }Implementations§
Source§impl SetContainerQueryTextBuilder
impl SetContainerQueryTextBuilder
pub fn style_sheet_id(self, style_sheet_id: impl Into<StyleSheetId>) -> Self
pub fn range(self, range: impl Into<SourceRange>) -> Self
pub fn text(self, text: impl Into<String>) -> Self
pub fn build(self) -> Result<SetContainerQueryText, String>
Trait Implementations§
Source§impl Clone for SetContainerQueryTextBuilder
impl Clone for SetContainerQueryTextBuilder
Source§fn clone(&self) -> SetContainerQueryTextBuilder
fn clone(&self) -> SetContainerQueryTextBuilder
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 moreSource§impl Default for SetContainerQueryTextBuilder
impl Default for SetContainerQueryTextBuilder
Source§fn default() -> SetContainerQueryTextBuilder
fn default() -> SetContainerQueryTextBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetContainerQueryTextBuilder
impl RefUnwindSafe for SetContainerQueryTextBuilder
impl Send for SetContainerQueryTextBuilder
impl Sync for SetContainerQueryTextBuilder
impl Unpin for SetContainerQueryTextBuilder
impl UnsafeUnpin for SetContainerQueryTextBuilder
impl UnwindSafe for SetContainerQueryTextBuilder
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