pub struct Coloring {
pub field: FieldId,
pub rule: ColorRule,
}Expand description
How a mesh is coloured from one of its fields, for
Scene::set_coloring.
Fields§
§field: FieldIdThe field, which must be on the coloured mesh.
rule: ColorRuleHow values become colours.
Trait Implementations§
impl StructuralPartialEq for Coloring
Auto Trait Implementations§
impl Freeze for Coloring
impl RefUnwindSafe for Coloring
impl Send for Coloring
impl Sync for Coloring
impl Unpin for Coloring
impl UnsafeUnpin for Coloring
impl UnwindSafe for Coloring
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