Expand description
Builder used to create a LatLong
Fields
latitude: i64longitude: i64Implementations
sourceimpl LatLongBuilder
impl LatLongBuilder
pub fn new() -> Self
pub fn with_lat_long(self, latitude: i64, longitude: i64) -> LatLongBuilder
pub fn build(self) -> Result<LatLong, LatLongBuildError>
Trait Implementations
sourceimpl Clone for LatLongBuilder
impl Clone for LatLongBuilder
sourcefn clone(&self) -> LatLongBuilder
fn clone(&self) -> LatLongBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for LatLongBuilder
impl Default for LatLongBuilder
sourcefn default() -> LatLongBuilder
fn default() -> LatLongBuilder
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LatLongBuilder> for LatLongBuilder
impl PartialEq<LatLongBuilder> for LatLongBuilder
sourcefn eq(&self, other: &LatLongBuilder) -> bool
fn eq(&self, other: &LatLongBuilder) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &LatLongBuilder) -> bool
fn ne(&self, other: &LatLongBuilder) -> bool
This method tests for !=.
impl StructuralPartialEq for LatLongBuilder
Auto Trait Implementations
impl RefUnwindSafe for LatLongBuilder
impl Send for LatLongBuilder
impl Sync for LatLongBuilder
impl Unpin for LatLongBuilder
impl UnwindSafe for LatLongBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more