pub struct LayoutSpacing {
pub nodesep: f32,
pub ranksep: f32,
pub edgesep: f32,
}Expand description
Spacing knobs passed through to layout engines that support layered spacing.
Fields§
§nodesep: f32§ranksep: f32§edgesep: f32Trait Implementations§
Source§impl Clone for LayoutSpacing
impl Clone for LayoutSpacing
Source§fn clone(&self) -> LayoutSpacing
fn clone(&self) -> LayoutSpacing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayoutSpacing
Source§impl Debug for LayoutSpacing
impl Debug for LayoutSpacing
Source§impl Default for LayoutSpacing
impl Default for LayoutSpacing
Source§fn default() -> LayoutSpacing
fn default() -> LayoutSpacing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutSpacing
impl<'de> Deserialize<'de> for LayoutSpacing
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutSpacing, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutSpacing, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LayoutSpacing
impl PartialEq for LayoutSpacing
Source§fn eq(&self, other: &LayoutSpacing) -> bool
fn eq(&self, other: &LayoutSpacing) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayoutSpacing
impl Serialize for LayoutSpacing
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LayoutSpacing
Auto Trait Implementations§
impl Freeze for LayoutSpacing
impl RefUnwindSafe for LayoutSpacing
impl Send for LayoutSpacing
impl Sync for LayoutSpacing
impl Unpin for LayoutSpacing
impl UnsafeUnpin for LayoutSpacing
impl UnwindSafe for LayoutSpacing
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