Struct elasticsearch_dsl::search::params::Coordinate
source · [−]pub struct Coordinate { /* private fields */ }Expand description
Represents a point in two dimensional space
Implementations
sourceimpl Coordinate
impl Coordinate
sourcepub fn new(x: f32, y: f32) -> Self
pub fn new(x: f32, y: f32) -> Self
Creates an instance of Coordinate
Trait Implementations
sourceimpl Clone for Coordinate
impl Clone for Coordinate
sourcefn clone(&self) -> Coordinate
fn clone(&self) -> Coordinate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Coordinate
impl Debug for Coordinate
sourceimpl Display for Coordinate
impl Display for Coordinate
sourceimpl From<[f32; 2]> for Coordinate
impl From<[f32; 2]> for Coordinate
sourceimpl From<(f32, f32)> for Coordinate
impl From<(f32, f32)> for Coordinate
sourceimpl FromStr for Coordinate
impl FromStr for Coordinate
sourceimpl PartialEq<Coordinate> for Coordinate
impl PartialEq<Coordinate> for Coordinate
sourcefn eq(&self, other: &Coordinate) -> bool
fn eq(&self, other: &Coordinate) -> bool
sourceimpl PartialOrd<Coordinate> for Coordinate
impl PartialOrd<Coordinate> for Coordinate
sourcefn partial_cmp(&self, other: &Coordinate) -> Option<Ordering>
fn partial_cmp(&self, other: &Coordinate) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl Serialize for Coordinate
impl Serialize for Coordinate
impl Copy for Coordinate
impl StructuralPartialEq for Coordinate
Auto Trait Implementations
impl RefUnwindSafe for Coordinate
impl Send for Coordinate
impl Sync for Coordinate
impl Unpin for Coordinate
impl UnwindSafe for Coordinate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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