pub struct PartEvaluationResult {
pub state: PartState,
pub cell: Option<u32>,
pub part_color: Option<PartAttributePartColor>,
pub shader: Option<PartAttributeShader>,
pub vertex: Option<PartAttributeVertex>,
pub deform_present: bool,
}Fields§
§state: PartState§cell: Option<u32>The cell the part shows, as an index for KeyColumns::cell.
part_color: Option<PartAttributePartColor>§shader: Option<PartAttributeShader>§vertex: Option<PartAttributeVertex>§deform_present: boolSet when evaluate_deform produced a key. Coordinates / indices
live in the caller-owned workspaces — they are valid until the
next evaluate_part overwrites them, so the caller must consume
them within the same loop iteration.
Auto Trait Implementations§
impl Freeze for PartEvaluationResult
impl RefUnwindSafe for PartEvaluationResult
impl Send for PartEvaluationResult
impl Sync for PartEvaluationResult
impl Unpin for PartEvaluationResult
impl UnsafeUnpin for PartEvaluationResult
impl UnwindSafe for PartEvaluationResult
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