Enum goko::PartitionType [−][src]
pub enum PartitionType { Nearest, First, }
When 2 spheres overlap under a node, and there is a point in the overlap we have to decide to which sphere it belongs. As we create the nodes in a particular sequence, we can assign them to the first to be created or we can assign it to the nearest.
Variants
Conflicts assigning a point to several eligible nodes are assigned to the nearest node.
Conflicts assigning a point to several eligible nodes are assigned to the first node to be created.
Trait Implementations
impl Clone for PartitionType
[src]
impl Clone for PartitionType
[src]fn clone(&self) -> PartitionType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PartitionType
[src]
impl Copy for PartitionType
[src]impl<'de> Deserialize<'de> for PartitionType
[src]
impl<'de> Deserialize<'de> for PartitionType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for PartitionType
[src]
impl Serialize for PartitionType
[src]Auto Trait Implementations
impl RefUnwindSafe for PartitionType
impl RefUnwindSafe for PartitionType
impl Send for PartitionType
impl Send for PartitionType
impl Sync for PartitionType
impl Sync for PartitionType
impl Unpin for PartitionType
impl Unpin for PartitionType
impl UnwindSafe for PartitionType
impl UnwindSafe for PartitionType
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,