pub struct MeshNode {Show 23 fields
pub id: String,
pub name: Option<String>,
pub role: Option<String>,
pub kind: Option<String>,
pub x: Option<PropertyValue>,
pub y: Option<PropertyValue>,
pub w: Option<PropertyValue>,
pub h: Option<PropertyValue>,
pub columns: Option<u32>,
pub rows: Option<u32>,
pub vanishing_x: Option<PropertyValue>,
pub vanishing_y: Option<PropertyValue>,
pub extend: Option<PropertyValue>,
pub stroke: Option<PropertyValue>,
pub stroke_width: Option<PropertyValue>,
pub stroke_dash: Option<PropertyValue>,
pub stroke_gap: Option<PropertyValue>,
pub stroke_linecap: Option<String>,
pub opacity: Option<f64>,
pub visible: Option<bool>,
pub locked: Option<bool>,
pub source_span: Option<Span>,
pub unknown_props: BTreeMap<String, UnknownProperty>,
}Expand description
A procedural grid/perspective mesh rendered as generated stroke ink.
Fields§
§id: String§name: Option<String>§role: Option<String>§kind: Option<String>Mesh family. None is interpreted as orthographic.
x: Option<PropertyValue>§y: Option<PropertyValue>§w: Option<PropertyValue>§h: Option<PropertyValue>§columns: Option<u32>Number of cells on the horizontal axis. Emits columns + 1 vertical lines.
rows: Option<u32>Number of cells on the vertical axis. Emits rows + 1 horizontal lines.
vanishing_x: Option<PropertyValue>One-point perspective vanishing point X. Required when kind is perspective.
vanishing_y: Option<PropertyValue>One-point perspective vanishing point Y. Required when kind is perspective.
extend: Option<PropertyValue>Intentional extension beyond the authored bbox for bleed/overscan.
stroke: Option<PropertyValue>§stroke_width: Option<PropertyValue>§stroke_dash: Option<PropertyValue>§stroke_gap: Option<PropertyValue>§stroke_linecap: Option<String>§opacity: Option<f64>§visible: Option<bool>§locked: Option<bool>§source_span: Option<Span>§unknown_props: BTreeMap<String, UnknownProperty>Trait Implementations§
impl StructuralPartialEq for MeshNode
Auto Trait Implementations§
impl Freeze for MeshNode
impl RefUnwindSafe for MeshNode
impl Send for MeshNode
impl Sync for MeshNode
impl Unpin for MeshNode
impl UnsafeUnpin for MeshNode
impl UnwindSafe for MeshNode
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