Struct GraphAttributes

Source
pub struct GraphAttributes { /* private fields */ }
Expand description

Graph attributes.

Implementations§

Source§

impl GraphAttributes

Source

pub fn insert_raw_parts(&mut self, key: &str, value: &str) -> bool

Set attribute from key and value raw parts. Returns whether the attribute was newly set.

§Panics

Key is not valid for this attributes set. Read more.

Source

pub fn len(&self) -> usize

Get attributes length.

Source

pub fn is_empty(&self) -> bool

Check if attributes is empty.

Source

pub fn set_background(&mut self, s: &str) -> bool

Set Attribute::Background attribute. Returns whether the attribute was newly set.

Source

pub fn unset_background(&mut self) -> bool

Unset Attribute::Background attribute. Returns whether the attribute was set.

Source

pub fn set_bb(&mut self, s: &str) -> bool

Set Attribute::Bb attribute. Returns whether the attribute was newly set.

Source

pub fn unset_bb(&mut self) -> bool

Unset Attribute::Bb attribute. Returns whether the attribute was set.

Source

pub fn set_beautify(&mut self, s: &str) -> bool

Set Attribute::Beautify attribute. Returns whether the attribute was newly set.

Source

pub fn unset_beautify(&mut self) -> bool

Unset Attribute::Beautify attribute. Returns whether the attribute was set.

Source

pub fn set_bgcolor(&mut self, s: &str) -> bool

Set Attribute::Bgcolor attribute. Returns whether the attribute was newly set.

Source

pub fn unset_bgcolor(&mut self) -> bool

Unset Attribute::Bgcolor attribute. Returns whether the attribute was set.

Source

pub fn set_center(&mut self, s: &str) -> bool

Set Attribute::Center attribute. Returns whether the attribute was newly set.

Source

pub fn unset_center(&mut self) -> bool

Unset Attribute::Center attribute. Returns whether the attribute was set.

Source

pub fn set_charset(&mut self, s: &str) -> bool

Set Attribute::Charset attribute. Returns whether the attribute was newly set.

Source

pub fn unset_charset(&mut self) -> bool

Unset Attribute::Charset attribute. Returns whether the attribute was set.

Source

pub fn set_class(&mut self, s: &str) -> bool

Set Attribute::Class attribute. Returns whether the attribute was newly set.

Source

pub fn unset_class(&mut self) -> bool

Unset Attribute::Class attribute. Returns whether the attribute was set.

Source

pub fn set_clusterrank(&mut self, s: &str) -> bool

Set Attribute::Clusterrank attribute. Returns whether the attribute was newly set.

Source

pub fn unset_clusterrank(&mut self) -> bool

Unset Attribute::Clusterrank attribute. Returns whether the attribute was set.

Source

pub fn set_colorscheme(&mut self, s: &str) -> bool

Set Attribute::Colorscheme attribute. Returns whether the attribute was newly set.

Source

pub fn unset_colorscheme(&mut self) -> bool

Unset Attribute::Colorscheme attribute. Returns whether the attribute was set.

Source

pub fn set_comment(&mut self, s: &str) -> bool

Set Attribute::Comment attribute. Returns whether the attribute was newly set.

Source

pub fn unset_comment(&mut self) -> bool

Unset Attribute::Comment attribute. Returns whether the attribute was set.

Source

pub fn set_compound(&mut self, s: &str) -> bool

Set Attribute::Compound attribute. Returns whether the attribute was newly set.

Source

pub fn unset_compound(&mut self) -> bool

Unset Attribute::Compound attribute. Returns whether the attribute was set.

Source

pub fn set_concentrate(&mut self, s: &str) -> bool

Set Attribute::Concentrate attribute. Returns whether the attribute was newly set.

Source

pub fn unset_concentrate(&mut self) -> bool

Unset Attribute::Concentrate attribute. Returns whether the attribute was set.

Source

pub fn set_damping(&mut self, s: &str) -> bool

Set Attribute::Damping attribute. Returns whether the attribute was newly set.

Source

pub fn unset_damping(&mut self) -> bool

Unset Attribute::Damping attribute. Returns whether the attribute was set.

Source

pub fn set_defaultdist(&mut self, s: &str) -> bool

Set Attribute::Defaultdist attribute. Returns whether the attribute was newly set.

Source

pub fn unset_defaultdist(&mut self) -> bool

Unset Attribute::Defaultdist attribute. Returns whether the attribute was set.

Source

pub fn set_dim(&mut self, s: &str) -> bool

Set Attribute::Dim attribute. Returns whether the attribute was newly set.

Source

pub fn unset_dim(&mut self) -> bool

Unset Attribute::Dim attribute. Returns whether the attribute was set.

Source

pub fn set_dimen(&mut self, s: &str) -> bool

Set Attribute::Dimen attribute. Returns whether the attribute was newly set.

Source

pub fn unset_dimen(&mut self) -> bool

Unset Attribute::Dimen attribute. Returns whether the attribute was set.

Source

pub fn set_diredgeconstraints(&mut self, s: &str) -> bool

Set Attribute::Diredgeconstraints attribute. Returns whether the attribute was newly set.

Source

pub fn unset_diredgeconstraints(&mut self) -> bool

Unset Attribute::Diredgeconstraints attribute. Returns whether the attribute was set.

Source

pub fn set_dpi(&mut self, s: &str) -> bool

Set Attribute::Dpi attribute. Returns whether the attribute was newly set.

Source

pub fn unset_dpi(&mut self) -> bool

Unset Attribute::Dpi attribute. Returns whether the attribute was set.

Source

pub fn set_epsilon(&mut self, s: &str) -> bool

Set Attribute::Epsilon attribute. Returns whether the attribute was newly set.

Source

pub fn unset_epsilon(&mut self) -> bool

Unset Attribute::Epsilon attribute. Returns whether the attribute was set.

Source

pub fn set_esep(&mut self, s: &str) -> bool

Set Attribute::Esep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_esep(&mut self) -> bool

Unset Attribute::Esep attribute. Returns whether the attribute was set.

Source

pub fn set_fontcolor(&mut self, s: &str) -> bool

Set Attribute::Fontcolor attribute. Returns whether the attribute was newly set.

Source

pub fn unset_fontcolor(&mut self) -> bool

Unset Attribute::Fontcolor attribute. Returns whether the attribute was set.

Source

pub fn set_fontname(&mut self, s: &str) -> bool

Set Attribute::Fontname attribute. Returns whether the attribute was newly set.

Source

pub fn unset_fontname(&mut self) -> bool

Unset Attribute::Fontname attribute. Returns whether the attribute was set.

Source

pub fn set_fontnames(&mut self, s: &str) -> bool

Set Attribute::Fontnames attribute. Returns whether the attribute was newly set.

Source

pub fn unset_fontnames(&mut self) -> bool

Unset Attribute::Fontnames attribute. Returns whether the attribute was set.

Source

pub fn set_fontpath(&mut self, s: &str) -> bool

Set Attribute::Fontpath attribute. Returns whether the attribute was newly set.

Source

pub fn unset_fontpath(&mut self) -> bool

Unset Attribute::Fontpath attribute. Returns whether the attribute was set.

Source

pub fn set_fontsize(&mut self, s: &str) -> bool

Set Attribute::Fontsize attribute. Returns whether the attribute was newly set.

Source

pub fn unset_fontsize(&mut self) -> bool

Unset Attribute::Fontsize attribute. Returns whether the attribute was set.

Source

pub fn set_forcelabels(&mut self, s: &str) -> bool

Set Attribute::Forcelabels attribute. Returns whether the attribute was newly set.

Source

pub fn unset_forcelabels(&mut self) -> bool

Unset Attribute::Forcelabels attribute. Returns whether the attribute was set.

Source

pub fn set_gradientangle(&mut self, s: &str) -> bool

Set Attribute::Gradientangle attribute. Returns whether the attribute was newly set.

Source

pub fn unset_gradientangle(&mut self) -> bool

Unset Attribute::Gradientangle attribute. Returns whether the attribute was set.

Source

pub fn set_href(&mut self, s: &str) -> bool

Set Attribute::Href attribute. Returns whether the attribute was newly set.

Source

pub fn unset_href(&mut self) -> bool

Unset Attribute::Href attribute. Returns whether the attribute was set.

Source

pub fn set_id(&mut self, s: &str) -> bool

Set Attribute::Id attribute. Returns whether the attribute was newly set.

Source

pub fn unset_id(&mut self) -> bool

Unset Attribute::Id attribute. Returns whether the attribute was set.

Source

pub fn set_imagepath(&mut self, s: &str) -> bool

Set Attribute::Imagepath attribute. Returns whether the attribute was newly set.

Source

pub fn unset_imagepath(&mut self) -> bool

Unset Attribute::Imagepath attribute. Returns whether the attribute was set.

Source

pub fn set_inputscale(&mut self, s: &str) -> bool

Set Attribute::Inputscale attribute. Returns whether the attribute was newly set.

Source

pub fn unset_inputscale(&mut self) -> bool

Unset Attribute::Inputscale attribute. Returns whether the attribute was set.

Source

pub fn set_k(&mut self, s: &str) -> bool

Set Attribute::K attribute. Returns whether the attribute was newly set.

Source

pub fn unset_k(&mut self) -> bool

Unset Attribute::K attribute. Returns whether the attribute was set.

Source

pub fn set_label(&mut self, s: &str) -> bool

Set Attribute::Label attribute. Returns whether the attribute was newly set.

Source

pub fn unset_label(&mut self) -> bool

Unset Attribute::Label attribute. Returns whether the attribute was set.

Source

pub fn set_label_scheme(&mut self, s: &str) -> bool

Set Attribute::LabelScheme attribute. Returns whether the attribute was newly set.

Source

pub fn unset_label_scheme(&mut self) -> bool

Unset Attribute::LabelScheme attribute. Returns whether the attribute was set.

Source

pub fn set_labeljust(&mut self, s: &str) -> bool

Set Attribute::Labeljust attribute. Returns whether the attribute was newly set.

Source

pub fn unset_labeljust(&mut self) -> bool

Unset Attribute::Labeljust attribute. Returns whether the attribute was set.

Source

pub fn set_labelloc(&mut self, s: &str) -> bool

Set Attribute::Labelloc attribute. Returns whether the attribute was newly set.

Source

pub fn unset_labelloc(&mut self) -> bool

Unset Attribute::Labelloc attribute. Returns whether the attribute was set.

Source

pub fn set_landscape(&mut self, s: &str) -> bool

Set Attribute::Landscape attribute. Returns whether the attribute was newly set.

Source

pub fn unset_landscape(&mut self) -> bool

Unset Attribute::Landscape attribute. Returns whether the attribute was set.

Source

pub fn set_layerlistsep(&mut self, s: &str) -> bool

Set Attribute::Layerlistsep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_layerlistsep(&mut self) -> bool

Unset Attribute::Layerlistsep attribute. Returns whether the attribute was set.

Source

pub fn set_layers(&mut self, s: &str) -> bool

Set Attribute::Layers attribute. Returns whether the attribute was newly set.

Source

pub fn unset_layers(&mut self) -> bool

Unset Attribute::Layers attribute. Returns whether the attribute was set.

Source

pub fn set_layerselect(&mut self, s: &str) -> bool

Set Attribute::Layerselect attribute. Returns whether the attribute was newly set.

Source

pub fn unset_layerselect(&mut self) -> bool

Unset Attribute::Layerselect attribute. Returns whether the attribute was set.

Source

pub fn set_layersep(&mut self, s: &str) -> bool

Set Attribute::Layersep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_layersep(&mut self) -> bool

Unset Attribute::Layersep attribute. Returns whether the attribute was set.

Source

pub fn set_layout(&mut self, s: &str) -> bool

Set Attribute::Layout attribute. Returns whether the attribute was newly set.

Source

pub fn unset_layout(&mut self) -> bool

Unset Attribute::Layout attribute. Returns whether the attribute was set.

Source

pub fn set_levels(&mut self, s: &str) -> bool

Set Attribute::Levels attribute. Returns whether the attribute was newly set.

Source

pub fn unset_levels(&mut self) -> bool

Unset Attribute::Levels attribute. Returns whether the attribute was set.

Source

pub fn set_levelsgap(&mut self, s: &str) -> bool

Set Attribute::Levelsgap attribute. Returns whether the attribute was newly set.

Source

pub fn unset_levelsgap(&mut self) -> bool

Unset Attribute::Levelsgap attribute. Returns whether the attribute was set.

Source

pub fn set_lheight(&mut self, s: &str) -> bool

Set Attribute::Lheight attribute. Returns whether the attribute was newly set.

Source

pub fn unset_lheight(&mut self) -> bool

Unset Attribute::Lheight attribute. Returns whether the attribute was set.

Source

pub fn set_linelength(&mut self, s: &str) -> bool

Set Attribute::Linelength attribute. Returns whether the attribute was newly set.

Source

pub fn unset_linelength(&mut self) -> bool

Unset Attribute::Linelength attribute. Returns whether the attribute was set.

Source

pub fn set_lp(&mut self, s: &str) -> bool

Set Attribute::Lp attribute. Returns whether the attribute was newly set.

Source

pub fn unset_lp(&mut self) -> bool

Unset Attribute::Lp attribute. Returns whether the attribute was set.

Source

pub fn set_lwidth(&mut self, s: &str) -> bool

Set Attribute::Lwidth attribute. Returns whether the attribute was newly set.

Source

pub fn unset_lwidth(&mut self) -> bool

Unset Attribute::Lwidth attribute. Returns whether the attribute was set.

Source

pub fn set_margin(&mut self, s: &str) -> bool

Set Attribute::Margin attribute. Returns whether the attribute was newly set.

Source

pub fn unset_margin(&mut self) -> bool

Unset Attribute::Margin attribute. Returns whether the attribute was set.

Source

pub fn set_maxiter(&mut self, s: &str) -> bool

Set Attribute::Maxiter attribute. Returns whether the attribute was newly set.

Source

pub fn unset_maxiter(&mut self) -> bool

Unset Attribute::Maxiter attribute. Returns whether the attribute was set.

Source

pub fn set_mclimit(&mut self, s: &str) -> bool

Set Attribute::Mclimit attribute. Returns whether the attribute was newly set.

Source

pub fn unset_mclimit(&mut self) -> bool

Unset Attribute::Mclimit attribute. Returns whether the attribute was set.

Source

pub fn set_mindist(&mut self, s: &str) -> bool

Set Attribute::Mindist attribute. Returns whether the attribute was newly set.

Source

pub fn unset_mindist(&mut self) -> bool

Unset Attribute::Mindist attribute. Returns whether the attribute was set.

Source

pub fn set_mode(&mut self, s: &str) -> bool

Set Attribute::Mode attribute. Returns whether the attribute was newly set.

Source

pub fn unset_mode(&mut self) -> bool

Unset Attribute::Mode attribute. Returns whether the attribute was set.

Source

pub fn set_model(&mut self, s: &str) -> bool

Set Attribute::Model attribute. Returns whether the attribute was newly set.

Source

pub fn unset_model(&mut self) -> bool

Unset Attribute::Model attribute. Returns whether the attribute was set.

Source

pub fn set_newrank(&mut self, s: &str) -> bool

Set Attribute::Newrank attribute. Returns whether the attribute was newly set.

Source

pub fn unset_newrank(&mut self) -> bool

Unset Attribute::Newrank attribute. Returns whether the attribute was set.

Source

pub fn set_nodesep(&mut self, s: &str) -> bool

Set Attribute::Nodesep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_nodesep(&mut self) -> bool

Unset Attribute::Nodesep attribute. Returns whether the attribute was set.

Source

pub fn set_nojustify(&mut self, s: &str) -> bool

Set Attribute::Nojustify attribute. Returns whether the attribute was newly set.

Source

pub fn unset_nojustify(&mut self) -> bool

Unset Attribute::Nojustify attribute. Returns whether the attribute was set.

Source

pub fn set_normalize(&mut self, s: &str) -> bool

Set Attribute::Normalize attribute. Returns whether the attribute was newly set.

Source

pub fn unset_normalize(&mut self) -> bool

Unset Attribute::Normalize attribute. Returns whether the attribute was set.

Source

pub fn set_notranslate(&mut self, s: &str) -> bool

Set Attribute::Notranslate attribute. Returns whether the attribute was newly set.

Source

pub fn unset_notranslate(&mut self) -> bool

Unset Attribute::Notranslate attribute. Returns whether the attribute was set.

Source

pub fn set_nslimit(&mut self, s: &str) -> bool

Set Attribute::Nslimit attribute. Returns whether the attribute was newly set.

Source

pub fn unset_nslimit(&mut self) -> bool

Unset Attribute::Nslimit attribute. Returns whether the attribute was set.

Source

pub fn set_nslimit1(&mut self, s: &str) -> bool

Set Attribute::Nslimit1 attribute. Returns whether the attribute was newly set.

Source

pub fn unset_nslimit1(&mut self) -> bool

Unset Attribute::Nslimit1 attribute. Returns whether the attribute was set.

Source

pub fn set_oneblock(&mut self, s: &str) -> bool

Set Attribute::Oneblock attribute. Returns whether the attribute was newly set.

Source

pub fn unset_oneblock(&mut self) -> bool

Unset Attribute::Oneblock attribute. Returns whether the attribute was set.

Source

pub fn set_ordering(&mut self, s: &str) -> bool

Set Attribute::Ordering attribute. Returns whether the attribute was newly set.

Source

pub fn unset_ordering(&mut self) -> bool

Unset Attribute::Ordering attribute. Returns whether the attribute was set.

Source

pub fn set_orientation(&mut self, s: &str) -> bool

Set Attribute::Orientation attribute. Returns whether the attribute was newly set.

Source

pub fn unset_orientation(&mut self) -> bool

Unset Attribute::Orientation attribute. Returns whether the attribute was set.

Source

pub fn set_outputorder(&mut self, s: &str) -> bool

Set Attribute::Outputorder attribute. Returns whether the attribute was newly set.

Source

pub fn unset_outputorder(&mut self) -> bool

Unset Attribute::Outputorder attribute. Returns whether the attribute was set.

Source

pub fn set_overlap(&mut self, s: &str) -> bool

Set Attribute::Overlap attribute. Returns whether the attribute was newly set.

Source

pub fn unset_overlap(&mut self) -> bool

Unset Attribute::Overlap attribute. Returns whether the attribute was set.

Source

pub fn set_overlap_scaling(&mut self, s: &str) -> bool

Set Attribute::OverlapScaling attribute. Returns whether the attribute was newly set.

Source

pub fn unset_overlap_scaling(&mut self) -> bool

Unset Attribute::OverlapScaling attribute. Returns whether the attribute was set.

Source

pub fn set_overlap_shrink(&mut self, s: &str) -> bool

Set Attribute::OverlapShrink attribute. Returns whether the attribute was newly set.

Source

pub fn unset_overlap_shrink(&mut self) -> bool

Unset Attribute::OverlapShrink attribute. Returns whether the attribute was set.

Source

pub fn set_pack(&mut self, s: &str) -> bool

Set Attribute::Pack attribute. Returns whether the attribute was newly set.

Source

pub fn unset_pack(&mut self) -> bool

Unset Attribute::Pack attribute. Returns whether the attribute was set.

Source

pub fn set_packmode(&mut self, s: &str) -> bool

Set Attribute::Packmode attribute. Returns whether the attribute was newly set.

Source

pub fn unset_packmode(&mut self) -> bool

Unset Attribute::Packmode attribute. Returns whether the attribute was set.

Source

pub fn set_pad(&mut self, s: &str) -> bool

Set Attribute::Pad attribute. Returns whether the attribute was newly set.

Source

pub fn unset_pad(&mut self) -> bool

Unset Attribute::Pad attribute. Returns whether the attribute was set.

Source

pub fn set_page(&mut self, s: &str) -> bool

Set Attribute::Page attribute. Returns whether the attribute was newly set.

Source

pub fn unset_page(&mut self) -> bool

Unset Attribute::Page attribute. Returns whether the attribute was set.

Source

pub fn set_pagedir(&mut self, s: &str) -> bool

Set Attribute::Pagedir attribute. Returns whether the attribute was newly set.

Source

pub fn unset_pagedir(&mut self) -> bool

Unset Attribute::Pagedir attribute. Returns whether the attribute was set.

Source

pub fn set_quadtree(&mut self, s: &str) -> bool

Set Attribute::Quadtree attribute. Returns whether the attribute was newly set.

Source

pub fn unset_quadtree(&mut self) -> bool

Unset Attribute::Quadtree attribute. Returns whether the attribute was set.

Source

pub fn set_quantum(&mut self, s: &str) -> bool

Set Attribute::Quantum attribute. Returns whether the attribute was newly set.

Source

pub fn unset_quantum(&mut self) -> bool

Unset Attribute::Quantum attribute. Returns whether the attribute was set.

Source

pub fn set_rankdir(&mut self, s: &str) -> bool

Set Attribute::Rankdir attribute. Returns whether the attribute was newly set.

Source

pub fn unset_rankdir(&mut self) -> bool

Unset Attribute::Rankdir attribute. Returns whether the attribute was set.

Source

pub fn set_ranksep(&mut self, s: &str) -> bool

Set Attribute::Ranksep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_ranksep(&mut self) -> bool

Unset Attribute::Ranksep attribute. Returns whether the attribute was set.

Source

pub fn set_ratio(&mut self, s: &str) -> bool

Set Attribute::Ratio attribute. Returns whether the attribute was newly set.

Source

pub fn unset_ratio(&mut self) -> bool

Unset Attribute::Ratio attribute. Returns whether the attribute was set.

Source

pub fn set_remincross(&mut self, s: &str) -> bool

Set Attribute::Remincross attribute. Returns whether the attribute was newly set.

Source

pub fn unset_remincross(&mut self) -> bool

Unset Attribute::Remincross attribute. Returns whether the attribute was set.

Source

pub fn set_repulsiveforce(&mut self, s: &str) -> bool

Set Attribute::Repulsiveforce attribute. Returns whether the attribute was newly set.

Source

pub fn unset_repulsiveforce(&mut self) -> bool

Unset Attribute::Repulsiveforce attribute. Returns whether the attribute was set.

Source

pub fn set_resolution(&mut self, s: &str) -> bool

Set Attribute::Resolution attribute. Returns whether the attribute was newly set.

Source

pub fn unset_resolution(&mut self) -> bool

Unset Attribute::Resolution attribute. Returns whether the attribute was set.

Source

pub fn set_root(&mut self, s: &str) -> bool

Set Attribute::Root attribute. Returns whether the attribute was newly set.

Source

pub fn unset_root(&mut self) -> bool

Unset Attribute::Root attribute. Returns whether the attribute was set.

Source

pub fn set_rotate(&mut self, s: &str) -> bool

Set Attribute::Rotate attribute. Returns whether the attribute was newly set.

Source

pub fn unset_rotate(&mut self) -> bool

Unset Attribute::Rotate attribute. Returns whether the attribute was set.

Source

pub fn set_rotation(&mut self, s: &str) -> bool

Set Attribute::Rotation attribute. Returns whether the attribute was newly set.

Source

pub fn unset_rotation(&mut self) -> bool

Unset Attribute::Rotation attribute. Returns whether the attribute was set.

Source

pub fn set_scale(&mut self, s: &str) -> bool

Set Attribute::Scale attribute. Returns whether the attribute was newly set.

Source

pub fn unset_scale(&mut self) -> bool

Unset Attribute::Scale attribute. Returns whether the attribute was set.

Source

pub fn set_searchsize(&mut self, s: &str) -> bool

Set Attribute::Searchsize attribute. Returns whether the attribute was newly set.

Source

pub fn unset_searchsize(&mut self) -> bool

Unset Attribute::Searchsize attribute. Returns whether the attribute was set.

Source

pub fn set_sep(&mut self, s: &str) -> bool

Set Attribute::Sep attribute. Returns whether the attribute was newly set.

Source

pub fn unset_sep(&mut self) -> bool

Unset Attribute::Sep attribute. Returns whether the attribute was set.

Source

pub fn set_showboxes(&mut self, s: &str) -> bool

Set Attribute::Showboxes attribute. Returns whether the attribute was newly set.

Source

pub fn unset_showboxes(&mut self) -> bool

Unset Attribute::Showboxes attribute. Returns whether the attribute was set.

Source

pub fn set_size(&mut self, s: &str) -> bool

Set Attribute::Size attribute. Returns whether the attribute was newly set.

Source

pub fn unset_size(&mut self) -> bool

Unset Attribute::Size attribute. Returns whether the attribute was set.

Source

pub fn set_smoothing(&mut self, s: &str) -> bool

Set Attribute::Smoothing attribute. Returns whether the attribute was newly set.

Source

pub fn unset_smoothing(&mut self) -> bool

Unset Attribute::Smoothing attribute. Returns whether the attribute was set.

Source

pub fn set_sortv(&mut self, s: &str) -> bool

Set Attribute::Sortv attribute. Returns whether the attribute was newly set.

Source

pub fn unset_sortv(&mut self) -> bool

Unset Attribute::Sortv attribute. Returns whether the attribute was set.

Source

pub fn set_splines(&mut self, s: &str) -> bool

Set Attribute::Splines attribute. Returns whether the attribute was newly set.

Source

pub fn unset_splines(&mut self) -> bool

Unset Attribute::Splines attribute. Returns whether the attribute was set.

Source

pub fn set_start(&mut self, s: &str) -> bool

Set Attribute::Start attribute. Returns whether the attribute was newly set.

Source

pub fn unset_start(&mut self) -> bool

Unset Attribute::Start attribute. Returns whether the attribute was set.

Source

pub fn set_style(&mut self, s: &str) -> bool

Set Attribute::Style attribute. Returns whether the attribute was newly set.

Source

pub fn unset_style(&mut self) -> bool

Unset Attribute::Style attribute. Returns whether the attribute was set.

Source

pub fn set_stylesheet(&mut self, s: &str) -> bool

Set Attribute::Stylesheet attribute. Returns whether the attribute was newly set.

Source

pub fn unset_stylesheet(&mut self) -> bool

Unset Attribute::Stylesheet attribute. Returns whether the attribute was set.

Source

pub fn set_target(&mut self, s: &str) -> bool

Set Attribute::Target attribute. Returns whether the attribute was newly set.

Source

pub fn unset_target(&mut self) -> bool

Unset Attribute::Target attribute. Returns whether the attribute was set.

Source

pub fn set_tbbalance(&mut self, s: &str) -> bool

Set Attribute::Tbbalance attribute. Returns whether the attribute was newly set.

Source

pub fn unset_tbbalance(&mut self) -> bool

Unset Attribute::Tbbalance attribute. Returns whether the attribute was set.

Source

pub fn set_tooltip(&mut self, s: &str) -> bool

Set Attribute::Tooltip attribute. Returns whether the attribute was newly set.

Source

pub fn unset_tooltip(&mut self) -> bool

Unset Attribute::Tooltip attribute. Returns whether the attribute was set.

Source

pub fn set_truecolor(&mut self, s: &str) -> bool

Set Attribute::Truecolor attribute. Returns whether the attribute was newly set.

Source

pub fn unset_truecolor(&mut self) -> bool

Unset Attribute::Truecolor attribute. Returns whether the attribute was set.

Source

pub fn set_url(&mut self, s: &str) -> bool

Set Attribute::Url attribute. Returns whether the attribute was newly set.

Source

pub fn unset_url(&mut self) -> bool

Unset Attribute::Url attribute. Returns whether the attribute was set.

Source

pub fn set_viewport(&mut self, s: &str) -> bool

Set Attribute::Viewport attribute. Returns whether the attribute was newly set.

Source

pub fn unset_viewport(&mut self) -> bool

Unset Attribute::Viewport attribute. Returns whether the attribute was set.

Source

pub fn set_voro_margin(&mut self, s: &str) -> bool

Set Attribute::VoroMargin attribute. Returns whether the attribute was newly set.

Source

pub fn unset_voro_margin(&mut self) -> bool

Unset Attribute::VoroMargin attribute. Returns whether the attribute was set.

Source

pub fn set_xdotversion(&mut self, s: &str) -> bool

Set Attribute::Xdotversion attribute. Returns whether the attribute was newly set.

Source

pub fn unset_xdotversion(&mut self) -> bool

Unset Attribute::Xdotversion attribute. Returns whether the attribute was set.

Trait Implementations§

Source§

impl Clone for GraphAttributes

Source§

fn clone(&self) -> GraphAttributes

Returns a duplicate of the value. Read more
1.0.0 · Source§

const fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GraphAttributes

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GraphAttributes

Source§

fn default() -> GraphAttributes

Returns the “default value” for a type. Read more
Source§

impl<'a> Extend<Pair<'a, Rule>> for GraphAttributes

Source§

fn extend<T: IntoIterator<Item = Pair<'a, Rule>>>(&mut self, iter: T)

Extends a collection with the contents of an iterator. Read more
Source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
Source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
Source§

impl From<GraphAttributes> for String

Source§

fn from(attributes: GraphAttributes) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<Pair<'a, Rule>> for GraphAttributes

Source§

fn from(pair: Pair<'a, Rule>) -> Self

Converts to this type from the input type.
Source§

impl IntoIterator for GraphAttributes

Source§

type Item = Attribute

The type of the elements being iterated over.
Source§

type IntoIter = IntoIter<Attribute>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

unsafe fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V