pub struct EmitNode {
pub origin: Point,
pub bounds: Rect,
pub style: Style,
}Expand description
Geometry and style carried by a single layout node during emission.
Fields§
§origin: PointPosition of the node origin in fragment coordinates.
bounds: RectBounding box of the node in fragment coordinates.
style: StyleTeX style level applied to nodes within this region.
Implementations§
Trait Implementations§
impl Copy for EmitNode
impl Eq for EmitNode
impl StructuralPartialEq for EmitNode
Auto Trait Implementations§
impl Freeze for EmitNode
impl RefUnwindSafe for EmitNode
impl Send for EmitNode
impl Sync for EmitNode
impl Unpin for EmitNode
impl UnsafeUnpin for EmitNode
impl UnwindSafe for EmitNode
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