pub struct CartesianCoordinateBuilder { /* private fields */ }
Expand description
Allows the incremental building of an elliptical coordinate
Implementations§
Source§impl CartesianCoordinateBuilder
impl CartesianCoordinateBuilder
pub fn new() -> CartesianCoordinateBuilder
pub fn with_x(&mut self, x: Length) -> &mut CartesianCoordinateBuilder
pub fn with_y(&mut self, y: Length) -> &mut CartesianCoordinateBuilder
pub fn with_z(&mut self, z: Length) -> &mut CartesianCoordinateBuilder
pub fn with_altitude( &mut self, alt: Altitude, ) -> &mut CartesianCoordinateBuilder
pub fn with_altitude_uncertainty( &mut self, alt_unk: Length, ) -> &mut CartesianCoordinateBuilder
pub fn with_position_uncertainty( &mut self, pos_unk: PositionUncertainty, ) -> &mut CartesianCoordinateBuilder
pub fn with_timestamp( &mut self, timestamp: UnixTimestamp, ) -> &mut CartesianCoordinateBuilder
pub fn build(self) -> Result<CartesianCoordinate, ConvertError>
Trait Implementations§
Source§impl Clone for CartesianCoordinateBuilder
impl Clone for CartesianCoordinateBuilder
Source§fn clone(&self) -> CartesianCoordinateBuilder
fn clone(&self) -> CartesianCoordinateBuilder
Returns a copy 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 Debug for CartesianCoordinateBuilder
impl Debug for CartesianCoordinateBuilder
Source§impl Default for CartesianCoordinateBuilder
impl Default for CartesianCoordinateBuilder
Source§fn default() -> CartesianCoordinateBuilder
fn default() -> CartesianCoordinateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CartesianCoordinateBuilder
impl RefUnwindSafe for CartesianCoordinateBuilder
impl Send for CartesianCoordinateBuilder
impl Sync for CartesianCoordinateBuilder
impl Unpin for CartesianCoordinateBuilder
impl UnwindSafe for CartesianCoordinateBuilder
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