pub struct MockPointSourceParameters {
pub points: Vec<Coordinate2D>,
pub spatial_bounds: Box<SpatialBoundsDerive>,
}Expand description
MockPointSourceParameters : Parameters for the [MockPointSource] operator.
Fields§
§points: Vec<Coordinate2D>Points to be output by the mock point source.
spatial_bounds: Box<SpatialBoundsDerive>Defines how the spatial bounds of the source are derived. Defaults to None.
Implementations§
Source§impl MockPointSourceParameters
impl MockPointSourceParameters
Sourcepub fn new(
points: Vec<Coordinate2D>,
spatial_bounds: SpatialBoundsDerive,
) -> MockPointSourceParameters
pub fn new( points: Vec<Coordinate2D>, spatial_bounds: SpatialBoundsDerive, ) -> MockPointSourceParameters
Parameters for the [MockPointSource] operator.
Trait Implementations§
Source§impl Clone for MockPointSourceParameters
impl Clone for MockPointSourceParameters
Source§fn clone(&self) -> MockPointSourceParameters
fn clone(&self) -> MockPointSourceParameters
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 MockPointSourceParameters
impl Debug for MockPointSourceParameters
Source§impl Default for MockPointSourceParameters
impl Default for MockPointSourceParameters
Source§fn default() -> MockPointSourceParameters
fn default() -> MockPointSourceParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MockPointSourceParameters
impl<'de> Deserialize<'de> for MockPointSourceParameters
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 MockPointSourceParameters
impl PartialEq for MockPointSourceParameters
Source§fn eq(&self, other: &MockPointSourceParameters) -> bool
fn eq(&self, other: &MockPointSourceParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MockPointSourceParameters
Auto Trait Implementations§
impl Freeze for MockPointSourceParameters
impl RefUnwindSafe for MockPointSourceParameters
impl Send for MockPointSourceParameters
impl Sync for MockPointSourceParameters
impl Unpin for MockPointSourceParameters
impl UnsafeUnpin for MockPointSourceParameters
impl UnwindSafe for MockPointSourceParameters
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