pub struct Tree {
pub seed: u64,
pub spec: TreeSpec,
pub wood: Mesh,
pub sway: Vec<SwayVertex>,
pub cards: Vec<Card>,
pub atlas: AlphaAtlas,
pub petal_sources: Vec<PetalSource>,
pub flower_count: usize,
pub max_error: f32,
}Fields§
§seed: u64§spec: TreeSpec§wood: Mesh§sway: Vec<SwayVertex>§cards: Vec<Card>§atlas: AlphaAtlas§petal_sources: Vec<PetalSource>§flower_count: usize§max_error: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnsafeUnpin for Tree
impl UnwindSafe for Tree
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