pub struct ProjectParametersBuilder { /* private fields */ }Expand description
Builder for ProjectParameters.
Implementations§
Source§impl ProjectParametersBuilder
impl ProjectParametersBuilder
Sourcepub fn geometries<VALUE: Into<Vec<ArcGISGeometry>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn geometries<VALUE: Into<Vec<ArcGISGeometry>>>( &mut self, value: VALUE, ) -> &mut Self
Geometries to project (REQUIRED).
Sourcepub fn in_sr<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn in_sr<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Input spatial reference WKID (REQUIRED).
Sourcepub fn out_sr<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn out_sr<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Output spatial reference WKID (REQUIRED).
Sourcepub fn transformation<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn transformation<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Datum transformation WKID (optional).
Sourcepub fn transform_forward<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn transform_forward<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether to transform forward or reverse.
Sourcepub fn build(&self) -> Result<ProjectParameters, ProjectParametersBuilderError>
pub fn build(&self) -> Result<ProjectParameters, ProjectParametersBuilderError>
Trait Implementations§
Source§impl Clone for ProjectParametersBuilder
impl Clone for ProjectParametersBuilder
Source§fn clone(&self) -> ProjectParametersBuilder
fn clone(&self) -> ProjectParametersBuilder
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 ProjectParametersBuilder
impl RefUnwindSafe for ProjectParametersBuilder
impl Send for ProjectParametersBuilder
impl Sync for ProjectParametersBuilder
impl Unpin for ProjectParametersBuilder
impl UnsafeUnpin for ProjectParametersBuilder
impl UnwindSafe for ProjectParametersBuilder
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