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: NodeIndexnode: &'a BSPNodecovered: booldepth: Vec2

Implementations

Get the node payload’s node.

Get the node payload’s index.

Get the node payload’s covered.

Get the node payload’s depth.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.