pub struct NodePayload<'a> {
pub index: NodeIndex,
pub node: &'a BSPNode,
pub covered: bool,
pub depth: Vec2,
}
Expand description
Represents the result of crate::BSPTree::locate
Fields§
§index: NodeIndex
§node: &'a BSPNode
§covered: bool
§depth: Vec2
Implementations§
Trait Implementations§
Source§impl<'a> Clone for NodePayload<'a>
impl<'a> Clone for NodePayload<'a>
Source§fn clone(&self) -> NodePayload<'a>
fn clone(&self) -> NodePayload<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for NodePayload<'a>
impl<'a> RefUnwindSafe for NodePayload<'a>
impl<'a> Send for NodePayload<'a>
impl<'a> Sync for NodePayload<'a>
impl<'a> Unpin for NodePayload<'a>
impl<'a> UnwindSafe for NodePayload<'a>
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