Enum geos::Dimensions
source · pub enum Dimensions {
TwoD,
ThreeD,
Other(u32),
}
Variants§
Trait Implementations§
source§impl Clone for Dimensions
impl Clone for Dimensions
source§fn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
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 Dimensions
impl Debug for Dimensions
source§impl Into<i32> for Dimensions
impl Into<i32> for Dimensions
source§impl Ord for Dimensions
impl Ord for Dimensions
source§fn cmp(&self, other: &Dimensions) -> Ordering
fn cmp(&self, other: &Dimensions) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Dimensions
impl PartialEq for Dimensions
source§fn eq(&self, other: &Dimensions) -> bool
fn eq(&self, other: &Dimensions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Dimensions
impl PartialOrd for Dimensions
source§fn partial_cmp(&self, other: &Dimensions) -> Option<Ordering>
fn partial_cmp(&self, other: &Dimensions) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for Dimensions
impl TryFrom<i32> for Dimensions
impl Copy for Dimensions
impl Eq for Dimensions
impl StructuralPartialEq for Dimensions
Auto Trait Implementations§
impl Freeze for Dimensions
impl RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl UnwindSafe for Dimensions
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