pub struct LayoutConfig {
pub node_width: f64,
pub node_height: f64,
pub horizontal_spacing: f64,
pub vertical_spacing: f64,
pub margin: f64,
pub padding: f64,
}Expand description
Layout configuration
Fields§
§node_width: f64§node_height: f64§horizontal_spacing: f64§vertical_spacing: f64§margin: f64§padding: f64Trait Implementations§
Source§impl Clone for LayoutConfig
impl Clone for LayoutConfig
Source§fn clone(&self) -> LayoutConfig
fn clone(&self) -> LayoutConfig
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 LayoutConfig
impl Debug for LayoutConfig
Source§impl Default for LayoutConfig
impl Default for LayoutConfig
Source§impl<'de> Deserialize<'de> for LayoutConfig
impl<'de> Deserialize<'de> for LayoutConfig
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 LayoutConfig
impl RefUnwindSafe for LayoutConfig
impl Send for LayoutConfig
impl Sync for LayoutConfig
impl Unpin for LayoutConfig
impl UnwindSafe for LayoutConfig
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