Struct honeytree_calc::htree::tree::HoneyTree[][src]

pub struct HoneyTree<'a> {
    pub location: &'a str,
}
Expand description

Struct that holds a honey tree. A honey tree is defined by is in-game location.

Examples

use honeytree_calc::htree::tree::HoneyTree;
let my_tree = HoneyTree {location: "Route 201"};
println!("{}", my_tree.location);

Fields

location: &'a str

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.