pub struct LayoutTokensV1 {
pub optional: bool,
pub grid_minor_width_px: Option<f32>,
pub grid_major_width_px: Option<f32>,
pub node_corner_radius_px: Option<f32>,
pub node_header_height_px: Option<f32>,
pub pin_radius_px: Option<f32>,
pub wire_width_px: Option<f32>,
}Fields§
§optional: bool§grid_minor_width_px: Option<f32>§grid_major_width_px: Option<f32>§node_corner_radius_px: Option<f32>§node_header_height_px: Option<f32>§pin_radius_px: Option<f32>§wire_width_px: Option<f32>Trait Implementations§
Source§impl Clone for LayoutTokensV1
impl Clone for LayoutTokensV1
Source§fn clone(&self) -> LayoutTokensV1
fn clone(&self) -> LayoutTokensV1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutTokensV1
impl Debug for LayoutTokensV1
Source§impl<'de> Deserialize<'de> for LayoutTokensV1
impl<'de> Deserialize<'de> for LayoutTokensV1
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 LayoutTokensV1
impl RefUnwindSafe for LayoutTokensV1
impl Send for LayoutTokensV1
impl Sync for LayoutTokensV1
impl Unpin for LayoutTokensV1
impl UnsafeUnpin for LayoutTokensV1
impl UnwindSafe for LayoutTokensV1
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