pub struct GetLocationForSelectorReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetLocationForSelectorReturnObject.
Implementations§
Source§impl GetLocationForSelectorReturnObjectBuilder
impl GetLocationForSelectorReturnObjectBuilder
pub fn ranges(&mut self, value: Vec<SourceRange>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<GetLocationForSelectorReturnObject, GetLocationForSelectorReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetLocationForSelectorReturnObject, GetLocationForSelectorReturnObjectBuilderError>
Builds a new GetLocationForSelectorReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetLocationForSelectorReturnObjectBuilder
impl Clone for GetLocationForSelectorReturnObjectBuilder
Source§fn clone(&self) -> GetLocationForSelectorReturnObjectBuilder
fn clone(&self) -> GetLocationForSelectorReturnObjectBuilder
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 GetLocationForSelectorReturnObjectBuilder
impl RefUnwindSafe for GetLocationForSelectorReturnObjectBuilder
impl Send for GetLocationForSelectorReturnObjectBuilder
impl Sync for GetLocationForSelectorReturnObjectBuilder
impl Unpin for GetLocationForSelectorReturnObjectBuilder
impl UnsafeUnpin for GetLocationForSelectorReturnObjectBuilder
impl UnwindSafe for GetLocationForSelectorReturnObjectBuilder
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