#[repr(C)]
pub struct BBox<N: NumTrait, T> {
pub inner: T,
// some fields omitted
}
A wrapper type around a type T and bounding box where the bounding box is hidden.
This is what is inserted into the tree. This way the user
cannot modify the bounding box since it is hidden, with only read access.
Unsafe since user could create a new BBox with a different aabb
inside of a callback function and assign it to the mutable reference.
Unsafe since user could call this function
using a mutable reference from inside of a callback function
of a dinotree query function.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more