pub struct System {
pub id: SystemId,
pub name: String,
pub coordinate: Coordinate,
pub security: Security,
}
Expand description
Describe a system.
Fields§
§id: SystemId
§name: String
§coordinate: Coordinate
§security: Security
Implementations§
Trait Implementations§
source§impl From<&System> for SystemClass
impl From<&System> for SystemClass
source§impl From<System> for SystemClass
impl From<System> for SystemClass
source§impl PartialEq<System> for System
impl PartialEq<System> for System
source§impl PointDistance for System
impl PointDistance for System
source§fn distance_2(&self, point: &[f64; 3]) -> f64
fn distance_2(&self, point: &[f64; 3]) -> f64
Returns the squared euclidean distance between an object to a point.
source§fn contains_point(&self, point: &<Self::Envelope as Envelope>::Point) -> bool
fn contains_point(&self, point: &<Self::Envelope as Envelope>::Point) -> bool
Returns
true
if a point is contained within this object. Read moresource§fn distance_2_if_less_or_equal(
&self,
point: &<Self::Envelope as Envelope>::Point,
max_distance_2: <<Self::Envelope as Envelope>::Point as Point>::Scalar
) -> Option<<<Self::Envelope as Envelope>::Point as Point>::Scalar>
fn distance_2_if_less_or_equal( &self, point: &<Self::Envelope as Envelope>::Point, max_distance_2: <<Self::Envelope as Envelope>::Point as Point>::Scalar ) -> Option<<<Self::Envelope as Envelope>::Point as Point>::Scalar>
Returns the squared distance to this object, or
None
if the distance
is larger than a given maximum value. Read moresource§impl RTreeObject for System
impl RTreeObject for System
impl Eq for System
Auto Trait Implementations§
impl RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl UnwindSafe for System
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.