pub struct StRectangle {
pub bounding_box: Box<BoundingBox2D>,
pub spatial_reference: String,
pub time_interval: Box<TimeInterval>,
}Fields§
§bounding_box: Box<BoundingBox2D>§spatial_reference: String§time_interval: Box<TimeInterval>Implementations§
Source§impl StRectangle
impl StRectangle
pub fn new( bounding_box: BoundingBox2D, spatial_reference: String, time_interval: TimeInterval, ) -> StRectangle
Trait Implementations§
Source§impl Clone for StRectangle
impl Clone for StRectangle
Source§fn clone(&self) -> StRectangle
fn clone(&self) -> StRectangle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StRectangle
impl Debug for StRectangle
Source§impl Default for StRectangle
impl Default for StRectangle
Source§fn default() -> StRectangle
fn default() -> StRectangle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StRectangle
impl<'de> Deserialize<'de> for StRectangle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StRectangle
impl PartialEq for StRectangle
Source§fn eq(&self, other: &StRectangle) -> bool
fn eq(&self, other: &StRectangle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StRectangle
impl Serialize for StRectangle
impl StructuralPartialEq for StRectangle
Auto Trait Implementations§
impl Freeze for StRectangle
impl RefUnwindSafe for StRectangle
impl Send for StRectangle
impl Sync for StRectangle
impl Unpin for StRectangle
impl UnsafeUnpin for StRectangle
impl UnwindSafe for StRectangle
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