pub enum GeodMask {
GeodNone = 0,
GeodLatitude = 128,
GeodLongitude = 264,
GeodAzimuth = 512,
GeodDistance = 1_025,
GeodDistanceIn = 2_051,
GeodReducedlength = 4_101,
GeodGeodesicScale = 8_197,
GeodArea = 16_400,
GeodAll = 32_671,
}Expand description
mask values for the \e caps argument to geod_lineinit().
Variants§
GeodNone = 0
Calculate nothing
GeodLatitude = 128
Calculate latitude
GeodLongitude = 264
Calculate longitude
GeodAzimuth = 512
Calculate azimuth
GeodDistance = 1_025
Calculate distance
GeodDistanceIn = 2_051
Allow distance as input
GeodReducedlength = 4_101
Calculate reduced length
GeodGeodesicScale = 8_197
Calculate geodesic scale
GeodArea = 16_400
Calculate area
GeodAll = 32_671
Calculate everything
Trait Implementations§
impl Copy for GeodMask
impl StructuralPartialEq for GeodMask
Auto Trait Implementations§
impl Freeze for GeodMask
impl RefUnwindSafe for GeodMask
impl Send for GeodMask
impl Sync for GeodMask
impl Unpin for GeodMask
impl UnwindSafe for GeodMask
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().