pub struct EvaluatedNode {
pub layout: NodeLayout,
pub paint: NodePaint,
pub visual: Option<NodeVisual>,
pub clip: bool,
pub content: NodeContent,
}Expand description
One box, its values sampled. Lengths are fractions of the picture’s shorter side.
Fields§
§layout: NodeLayoutWhat flexbox or grid reads.
paint: NodePaintWhat is drawn under the content.
visual: Option<NodeVisual>Present when the node has any visual field, with defaults filled.
clip: boolWhether content past the padding box is clipped.
content: NodeContentChildren, text, a shape, or nothing.
Implementations§
Source§impl EvaluatedNode
impl EvaluatedNode
Sourcepub const fn is_isolated(&self) -> bool
pub const fn is_isolated(&self) -> bool
Whether the node is drawn into its own composite.
Trait Implementations§
Source§impl Clone for EvaluatedNode
impl Clone for EvaluatedNode
Source§impl Debug for EvaluatedNode
impl Debug for EvaluatedNode
Source§impl PartialEq for EvaluatedNode
impl PartialEq for EvaluatedNode
impl StructuralPartialEq for EvaluatedNode
Auto Trait Implementations§
impl Freeze for EvaluatedNode
impl RefUnwindSafe for EvaluatedNode
impl Send for EvaluatedNode
impl Sync for EvaluatedNode
impl Unpin for EvaluatedNode
impl UnsafeUnpin for EvaluatedNode
impl UnwindSafe for EvaluatedNode
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