pub struct NodeOptions {Show 33 fields
pub node_type: NodeType,
pub is_static: bool,
pub is_stretchy: bool,
pub is_smart_stretch: bool,
pub do_not_apply_smart_stretch: bool,
pub use_segment_color: bool,
pub use_circle_outline: bool,
pub circle_is_hollow: bool,
pub use_gradient: bool,
pub reverse_gradient: bool,
pub gradient_mode: i16,
pub use_segment_scale: bool,
pub local_x: f32,
pub local_y: f32,
pub scale: f32,
pub default_length: f32,
pub length: f32,
pub default_thickness: i32,
pub thickness: i32,
pub segment_curve_radius_and_default_curve_radius: i32,
pub curve_circulization: bool,
pub segment_curve_polyfill_precision: i16,
pub half_arc: bool,
pub right_triangle_direction: i16,
pub triangle_upside_down: bool,
pub trapezoid_top_thickness_ratio: f32,
pub num_polygon_vertices: i16,
pub default_local_angle: f32,
pub local_angle: f32,
pub default_angle: f32,
pub color: Color,
pub gradient_color: Color,
pub circle_outline_color: Color,
}
Fields§
§node_type: NodeType
§is_static: bool
§is_stretchy: bool
§is_smart_stretch: bool
§do_not_apply_smart_stretch: bool
§use_segment_color: bool
§use_circle_outline: bool
§circle_is_hollow: bool
§use_gradient: bool
§reverse_gradient: bool
§gradient_mode: i16
§use_segment_scale: bool
§local_x: f32
§local_y: f32
§scale: f32
§default_length: f32
§length: f32
§default_thickness: i32
§thickness: i32
§segment_curve_radius_and_default_curve_radius: i32
§curve_circulization: bool
§segment_curve_polyfill_precision: i16
§half_arc: bool
§right_triangle_direction: i16
§triangle_upside_down: bool
§trapezoid_top_thickness_ratio: f32
§num_polygon_vertices: i16
§default_local_angle: f32
§local_angle: f32
§default_angle: f32
§color: Color
§gradient_color: Color
§circle_outline_color: Color
Trait Implementations§
Source§impl Debug for NodeOptions
impl Debug for NodeOptions
Source§impl Default for NodeOptions
impl Default for NodeOptions
Source§impl<'de> Deserialize<'de> for NodeOptions
impl<'de> Deserialize<'de> for NodeOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeOptions
impl RefUnwindSafe for NodeOptions
impl Send for NodeOptions
impl Sync for NodeOptions
impl Unpin for NodeOptions
impl UnwindSafe for NodeOptions
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