Struct osm_io::osm::model::bounding_box::BoundingBox
source · pub struct BoundingBox { /* private fields */ }
Implementations§
source§impl BoundingBox
impl BoundingBox
pub fn new(left: f64, bottom: f64, right: f64, top: f64) -> BoundingBox
pub fn merge_point(&mut self, coordinate: &Coordinate)
pub fn merge_bounding_box(&mut self, other: &BoundingBox)
pub fn left(&self) -> f64
pub fn right(&self) -> f64
pub fn top(&self) -> f64
pub fn bottom(&self) -> f64
Trait Implementations§
source§impl Clone for BoundingBox
impl Clone for BoundingBox
source§fn clone(&self) -> BoundingBox
fn clone(&self) -> BoundingBox
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 BoundingBox
impl Debug for BoundingBox
source§impl Default for BoundingBox
impl Default for BoundingBox
source§impl Display for BoundingBox
impl Display for BoundingBox
Auto Trait Implementations§
impl RefUnwindSafe for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Unpin for BoundingBox
impl UnwindSafe for BoundingBox
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