pub struct TreeOptions {
pub bucket_size: usize,
pub max_depth: usize,
pub min_extent: f64,
}Expand description
Build parameters. Defaults follow the spec.
Fields§
§bucket_size: usizeLargest leaf.
max_depth: usizeDeepest node (root is depth 0).
min_extent: f64A node whose longest extent is below this is not split further.
Trait Implementations§
Source§impl Clone for TreeOptions
impl Clone for TreeOptions
impl Copy for TreeOptions
Source§impl Debug for TreeOptions
impl Debug for TreeOptions
Source§impl Default for TreeOptions
impl Default for TreeOptions
Source§impl<'de> Deserialize<'de> for TreeOptionswhere
TreeOptions: Default,
impl<'de> Deserialize<'de> for TreeOptionswhere
TreeOptions: Default,
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 TreeOptions
impl PartialEq for TreeOptions
Source§impl Serialize for TreeOptions
impl Serialize for TreeOptions
impl StructuralPartialEq for TreeOptions
Auto Trait Implementations§
impl Forget for TreeOptions
impl Freeze for TreeOptions
impl Move for TreeOptions
impl RefUnwindSafe for TreeOptions
impl Send for TreeOptions
impl Sync for TreeOptions
impl Unpin for TreeOptions
impl UnsafeUnpin for TreeOptions
impl UnwindSafe for TreeOptions
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