#[non_exhaustive]pub enum MissingPolicy {
Null,
Default,
}Expand description
Missing-value policy for sparse property layers.
The actual default scalar, when present, is stored in Arrow data for the sparse layer. This enum records whether a total default exists.
§Performance
Copying, comparing, and debug-formatting are O(1).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Null
Missing positions are null and therefore not directly weight-total.
Default
Missing positions read from an Arrow scalar default stored with the layer.
Trait Implementations§
Source§impl Clone for MissingPolicy
impl Clone for MissingPolicy
Source§fn clone(&self) -> MissingPolicy
fn clone(&self) -> MissingPolicy
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 moreimpl Copy for MissingPolicy
Source§impl Debug for MissingPolicy
impl Debug for MissingPolicy
impl Eq for MissingPolicy
Source§impl Hash for MissingPolicy
impl Hash for MissingPolicy
Source§impl Ord for MissingPolicy
impl Ord for MissingPolicy
Source§fn cmp(&self, other: &MissingPolicy) -> Ordering
fn cmp(&self, other: &MissingPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MissingPolicy
impl PartialEq for MissingPolicy
Source§fn eq(&self, other: &MissingPolicy) -> bool
fn eq(&self, other: &MissingPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MissingPolicy
impl PartialOrd for MissingPolicy
impl StructuralPartialEq for MissingPolicy
Auto Trait Implementations§
impl Freeze for MissingPolicy
impl RefUnwindSafe for MissingPolicy
impl Send for MissingPolicy
impl Sync for MissingPolicy
impl Unpin for MissingPolicy
impl UnsafeUnpin for MissingPolicy
impl UnwindSafe for MissingPolicy
Blanket Implementations§
impl<T> Allocation for T
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