pub struct LeafColorSystem;Expand description
Computes leaf colors based on tree type, season, and variation.
Implementations§
Source§impl LeafColorSystem
impl LeafColorSystem
Sourcepub fn base_color(tt: TreeType) -> Vec3
pub fn base_color(tt: TreeType) -> Vec3
Base leaf color for a tree type.
Auto Trait Implementations§
impl Freeze for LeafColorSystem
impl RefUnwindSafe for LeafColorSystem
impl Send for LeafColorSystem
impl Sync for LeafColorSystem
impl Unpin for LeafColorSystem
impl UnsafeUnpin for LeafColorSystem
impl UnwindSafe for LeafColorSystem
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