pub struct GraphAttributes { /* private fields */ }
Expand description
Graph attributes.
Implementations§
Source§impl GraphAttributes
impl GraphAttributes
Sourcepub fn insert_raw_parts(&mut self, key: &str, value: &str) -> bool
pub fn insert_raw_parts(&mut self, key: &str, value: &str) -> bool
Sourcepub fn set_background(&mut self, s: &str) -> bool
pub fn set_background(&mut self, s: &str) -> bool
Set Attribute::Background
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_background(&mut self) -> bool
pub fn unset_background(&mut self) -> bool
Unset Attribute::Background
attribute. Returns whether the attribute was set.
Sourcepub fn set_bb(&mut self, s: &str) -> bool
pub fn set_bb(&mut self, s: &str) -> bool
Set Attribute::Bb
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_bb(&mut self) -> bool
pub fn unset_bb(&mut self) -> bool
Unset Attribute::Bb
attribute. Returns whether the attribute was set.
Sourcepub fn set_beautify(&mut self, s: &str) -> bool
pub fn set_beautify(&mut self, s: &str) -> bool
Set Attribute::Beautify
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_beautify(&mut self) -> bool
pub fn unset_beautify(&mut self) -> bool
Unset Attribute::Beautify
attribute. Returns whether the attribute was set.
Sourcepub fn set_bgcolor(&mut self, s: &str) -> bool
pub fn set_bgcolor(&mut self, s: &str) -> bool
Set Attribute::Bgcolor
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_bgcolor(&mut self) -> bool
pub fn unset_bgcolor(&mut self) -> bool
Unset Attribute::Bgcolor
attribute. Returns whether the attribute was set.
Sourcepub fn set_center(&mut self, s: &str) -> bool
pub fn set_center(&mut self, s: &str) -> bool
Set Attribute::Center
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_center(&mut self) -> bool
pub fn unset_center(&mut self) -> bool
Unset Attribute::Center
attribute. Returns whether the attribute was set.
Sourcepub fn set_charset(&mut self, s: &str) -> bool
pub fn set_charset(&mut self, s: &str) -> bool
Set Attribute::Charset
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_charset(&mut self) -> bool
pub fn unset_charset(&mut self) -> bool
Unset Attribute::Charset
attribute. Returns whether the attribute was set.
Sourcepub fn set_class(&mut self, s: &str) -> bool
pub fn set_class(&mut self, s: &str) -> bool
Set Attribute::Class
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_class(&mut self) -> bool
pub fn unset_class(&mut self) -> bool
Unset Attribute::Class
attribute. Returns whether the attribute was set.
Sourcepub fn set_clusterrank(&mut self, s: &str) -> bool
pub fn set_clusterrank(&mut self, s: &str) -> bool
Set Attribute::Clusterrank
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_clusterrank(&mut self) -> bool
pub fn unset_clusterrank(&mut self) -> bool
Unset Attribute::Clusterrank
attribute. Returns whether the attribute was set.
Sourcepub fn set_colorscheme(&mut self, s: &str) -> bool
pub fn set_colorscheme(&mut self, s: &str) -> bool
Set Attribute::Colorscheme
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_colorscheme(&mut self) -> bool
pub fn unset_colorscheme(&mut self) -> bool
Unset Attribute::Colorscheme
attribute. Returns whether the attribute was set.
Sourcepub fn set_comment(&mut self, s: &str) -> bool
pub fn set_comment(&mut self, s: &str) -> bool
Set Attribute::Comment
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_comment(&mut self) -> bool
pub fn unset_comment(&mut self) -> bool
Unset Attribute::Comment
attribute. Returns whether the attribute was set.
Sourcepub fn set_compound(&mut self, s: &str) -> bool
pub fn set_compound(&mut self, s: &str) -> bool
Set Attribute::Compound
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_compound(&mut self) -> bool
pub fn unset_compound(&mut self) -> bool
Unset Attribute::Compound
attribute. Returns whether the attribute was set.
Sourcepub fn set_concentrate(&mut self, s: &str) -> bool
pub fn set_concentrate(&mut self, s: &str) -> bool
Set Attribute::Concentrate
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_concentrate(&mut self) -> bool
pub fn unset_concentrate(&mut self) -> bool
Unset Attribute::Concentrate
attribute. Returns whether the attribute was set.
Sourcepub fn set_damping(&mut self, s: &str) -> bool
pub fn set_damping(&mut self, s: &str) -> bool
Set Attribute::Damping
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_damping(&mut self) -> bool
pub fn unset_damping(&mut self) -> bool
Unset Attribute::Damping
attribute. Returns whether the attribute was set.
Sourcepub fn set_defaultdist(&mut self, s: &str) -> bool
pub fn set_defaultdist(&mut self, s: &str) -> bool
Set Attribute::Defaultdist
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_defaultdist(&mut self) -> bool
pub fn unset_defaultdist(&mut self) -> bool
Unset Attribute::Defaultdist
attribute. Returns whether the attribute was set.
Sourcepub fn set_dim(&mut self, s: &str) -> bool
pub fn set_dim(&mut self, s: &str) -> bool
Set Attribute::Dim
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_dim(&mut self) -> bool
pub fn unset_dim(&mut self) -> bool
Unset Attribute::Dim
attribute. Returns whether the attribute was set.
Sourcepub fn set_dimen(&mut self, s: &str) -> bool
pub fn set_dimen(&mut self, s: &str) -> bool
Set Attribute::Dimen
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_dimen(&mut self) -> bool
pub fn unset_dimen(&mut self) -> bool
Unset Attribute::Dimen
attribute. Returns whether the attribute was set.
Sourcepub fn set_diredgeconstraints(&mut self, s: &str) -> bool
pub fn set_diredgeconstraints(&mut self, s: &str) -> bool
Set Attribute::Diredgeconstraints
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_diredgeconstraints(&mut self) -> bool
pub fn unset_diredgeconstraints(&mut self) -> bool
Unset Attribute::Diredgeconstraints
attribute. Returns whether the attribute was set.
Sourcepub fn set_dpi(&mut self, s: &str) -> bool
pub fn set_dpi(&mut self, s: &str) -> bool
Set Attribute::Dpi
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_dpi(&mut self) -> bool
pub fn unset_dpi(&mut self) -> bool
Unset Attribute::Dpi
attribute. Returns whether the attribute was set.
Sourcepub fn set_epsilon(&mut self, s: &str) -> bool
pub fn set_epsilon(&mut self, s: &str) -> bool
Set Attribute::Epsilon
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_epsilon(&mut self) -> bool
pub fn unset_epsilon(&mut self) -> bool
Unset Attribute::Epsilon
attribute. Returns whether the attribute was set.
Sourcepub fn set_esep(&mut self, s: &str) -> bool
pub fn set_esep(&mut self, s: &str) -> bool
Set Attribute::Esep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_esep(&mut self) -> bool
pub fn unset_esep(&mut self) -> bool
Unset Attribute::Esep
attribute. Returns whether the attribute was set.
Sourcepub fn set_fontcolor(&mut self, s: &str) -> bool
pub fn set_fontcolor(&mut self, s: &str) -> bool
Set Attribute::Fontcolor
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fontcolor(&mut self) -> bool
pub fn unset_fontcolor(&mut self) -> bool
Unset Attribute::Fontcolor
attribute. Returns whether the attribute was set.
Sourcepub fn set_fontname(&mut self, s: &str) -> bool
pub fn set_fontname(&mut self, s: &str) -> bool
Set Attribute::Fontname
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fontname(&mut self) -> bool
pub fn unset_fontname(&mut self) -> bool
Unset Attribute::Fontname
attribute. Returns whether the attribute was set.
Sourcepub fn set_fontnames(&mut self, s: &str) -> bool
pub fn set_fontnames(&mut self, s: &str) -> bool
Set Attribute::Fontnames
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fontnames(&mut self) -> bool
pub fn unset_fontnames(&mut self) -> bool
Unset Attribute::Fontnames
attribute. Returns whether the attribute was set.
Sourcepub fn set_fontpath(&mut self, s: &str) -> bool
pub fn set_fontpath(&mut self, s: &str) -> bool
Set Attribute::Fontpath
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fontpath(&mut self) -> bool
pub fn unset_fontpath(&mut self) -> bool
Unset Attribute::Fontpath
attribute. Returns whether the attribute was set.
Sourcepub fn set_fontsize(&mut self, s: &str) -> bool
pub fn set_fontsize(&mut self, s: &str) -> bool
Set Attribute::Fontsize
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fontsize(&mut self) -> bool
pub fn unset_fontsize(&mut self) -> bool
Unset Attribute::Fontsize
attribute. Returns whether the attribute was set.
Sourcepub fn set_forcelabels(&mut self, s: &str) -> bool
pub fn set_forcelabels(&mut self, s: &str) -> bool
Set Attribute::Forcelabels
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_forcelabels(&mut self) -> bool
pub fn unset_forcelabels(&mut self) -> bool
Unset Attribute::Forcelabels
attribute. Returns whether the attribute was set.
Sourcepub fn set_gradientangle(&mut self, s: &str) -> bool
pub fn set_gradientangle(&mut self, s: &str) -> bool
Set Attribute::Gradientangle
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_gradientangle(&mut self) -> bool
pub fn unset_gradientangle(&mut self) -> bool
Unset Attribute::Gradientangle
attribute. Returns whether the attribute was set.
Sourcepub fn set_href(&mut self, s: &str) -> bool
pub fn set_href(&mut self, s: &str) -> bool
Set Attribute::Href
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_href(&mut self) -> bool
pub fn unset_href(&mut self) -> bool
Unset Attribute::Href
attribute. Returns whether the attribute was set.
Sourcepub fn set_id(&mut self, s: &str) -> bool
pub fn set_id(&mut self, s: &str) -> bool
Set Attribute::Id
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_id(&mut self) -> bool
pub fn unset_id(&mut self) -> bool
Unset Attribute::Id
attribute. Returns whether the attribute was set.
Sourcepub fn set_imagepath(&mut self, s: &str) -> bool
pub fn set_imagepath(&mut self, s: &str) -> bool
Set Attribute::Imagepath
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_imagepath(&mut self) -> bool
pub fn unset_imagepath(&mut self) -> bool
Unset Attribute::Imagepath
attribute. Returns whether the attribute was set.
Sourcepub fn set_inputscale(&mut self, s: &str) -> bool
pub fn set_inputscale(&mut self, s: &str) -> bool
Set Attribute::Inputscale
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_inputscale(&mut self) -> bool
pub fn unset_inputscale(&mut self) -> bool
Unset Attribute::Inputscale
attribute. Returns whether the attribute was set.
Sourcepub fn set_k(&mut self, s: &str) -> bool
pub fn set_k(&mut self, s: &str) -> bool
Set Attribute::K
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_k(&mut self) -> bool
pub fn unset_k(&mut self) -> bool
Unset Attribute::K
attribute. Returns whether the attribute was set.
Sourcepub fn set_label(&mut self, s: &str) -> bool
pub fn set_label(&mut self, s: &str) -> bool
Set Attribute::Label
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_label(&mut self) -> bool
pub fn unset_label(&mut self) -> bool
Unset Attribute::Label
attribute. Returns whether the attribute was set.
Sourcepub fn set_label_scheme(&mut self, s: &str) -> bool
pub fn set_label_scheme(&mut self, s: &str) -> bool
Set Attribute::LabelScheme
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_label_scheme(&mut self) -> bool
pub fn unset_label_scheme(&mut self) -> bool
Unset Attribute::LabelScheme
attribute. Returns whether the attribute was set.
Sourcepub fn set_labeljust(&mut self, s: &str) -> bool
pub fn set_labeljust(&mut self, s: &str) -> bool
Set Attribute::Labeljust
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labeljust(&mut self) -> bool
pub fn unset_labeljust(&mut self) -> bool
Unset Attribute::Labeljust
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelloc(&mut self, s: &str) -> bool
pub fn set_labelloc(&mut self, s: &str) -> bool
Set Attribute::Labelloc
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelloc(&mut self) -> bool
pub fn unset_labelloc(&mut self) -> bool
Unset Attribute::Labelloc
attribute. Returns whether the attribute was set.
Sourcepub fn set_landscape(&mut self, s: &str) -> bool
pub fn set_landscape(&mut self, s: &str) -> bool
Set Attribute::Landscape
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_landscape(&mut self) -> bool
pub fn unset_landscape(&mut self) -> bool
Unset Attribute::Landscape
attribute. Returns whether the attribute was set.
Sourcepub fn set_layerlistsep(&mut self, s: &str) -> bool
pub fn set_layerlistsep(&mut self, s: &str) -> bool
Set Attribute::Layerlistsep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layerlistsep(&mut self) -> bool
pub fn unset_layerlistsep(&mut self) -> bool
Unset Attribute::Layerlistsep
attribute. Returns whether the attribute was set.
Sourcepub fn set_layers(&mut self, s: &str) -> bool
pub fn set_layers(&mut self, s: &str) -> bool
Set Attribute::Layers
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layers(&mut self) -> bool
pub fn unset_layers(&mut self) -> bool
Unset Attribute::Layers
attribute. Returns whether the attribute was set.
Sourcepub fn set_layerselect(&mut self, s: &str) -> bool
pub fn set_layerselect(&mut self, s: &str) -> bool
Set Attribute::Layerselect
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layerselect(&mut self) -> bool
pub fn unset_layerselect(&mut self) -> bool
Unset Attribute::Layerselect
attribute. Returns whether the attribute was set.
Sourcepub fn set_layersep(&mut self, s: &str) -> bool
pub fn set_layersep(&mut self, s: &str) -> bool
Set Attribute::Layersep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layersep(&mut self) -> bool
pub fn unset_layersep(&mut self) -> bool
Unset Attribute::Layersep
attribute. Returns whether the attribute was set.
Sourcepub fn set_layout(&mut self, s: &str) -> bool
pub fn set_layout(&mut self, s: &str) -> bool
Set Attribute::Layout
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layout(&mut self) -> bool
pub fn unset_layout(&mut self) -> bool
Unset Attribute::Layout
attribute. Returns whether the attribute was set.
Sourcepub fn set_levels(&mut self, s: &str) -> bool
pub fn set_levels(&mut self, s: &str) -> bool
Set Attribute::Levels
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_levels(&mut self) -> bool
pub fn unset_levels(&mut self) -> bool
Unset Attribute::Levels
attribute. Returns whether the attribute was set.
Sourcepub fn set_levelsgap(&mut self, s: &str) -> bool
pub fn set_levelsgap(&mut self, s: &str) -> bool
Set Attribute::Levelsgap
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_levelsgap(&mut self) -> bool
pub fn unset_levelsgap(&mut self) -> bool
Unset Attribute::Levelsgap
attribute. Returns whether the attribute was set.
Sourcepub fn set_lheight(&mut self, s: &str) -> bool
pub fn set_lheight(&mut self, s: &str) -> bool
Set Attribute::Lheight
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_lheight(&mut self) -> bool
pub fn unset_lheight(&mut self) -> bool
Unset Attribute::Lheight
attribute. Returns whether the attribute was set.
Sourcepub fn set_linelength(&mut self, s: &str) -> bool
pub fn set_linelength(&mut self, s: &str) -> bool
Set Attribute::Linelength
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_linelength(&mut self) -> bool
pub fn unset_linelength(&mut self) -> bool
Unset Attribute::Linelength
attribute. Returns whether the attribute was set.
Sourcepub fn set_lp(&mut self, s: &str) -> bool
pub fn set_lp(&mut self, s: &str) -> bool
Set Attribute::Lp
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_lp(&mut self) -> bool
pub fn unset_lp(&mut self) -> bool
Unset Attribute::Lp
attribute. Returns whether the attribute was set.
Sourcepub fn set_lwidth(&mut self, s: &str) -> bool
pub fn set_lwidth(&mut self, s: &str) -> bool
Set Attribute::Lwidth
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_lwidth(&mut self) -> bool
pub fn unset_lwidth(&mut self) -> bool
Unset Attribute::Lwidth
attribute. Returns whether the attribute was set.
Sourcepub fn set_margin(&mut self, s: &str) -> bool
pub fn set_margin(&mut self, s: &str) -> bool
Set Attribute::Margin
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_margin(&mut self) -> bool
pub fn unset_margin(&mut self) -> bool
Unset Attribute::Margin
attribute. Returns whether the attribute was set.
Sourcepub fn set_maxiter(&mut self, s: &str) -> bool
pub fn set_maxiter(&mut self, s: &str) -> bool
Set Attribute::Maxiter
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_maxiter(&mut self) -> bool
pub fn unset_maxiter(&mut self) -> bool
Unset Attribute::Maxiter
attribute. Returns whether the attribute was set.
Sourcepub fn set_mclimit(&mut self, s: &str) -> bool
pub fn set_mclimit(&mut self, s: &str) -> bool
Set Attribute::Mclimit
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_mclimit(&mut self) -> bool
pub fn unset_mclimit(&mut self) -> bool
Unset Attribute::Mclimit
attribute. Returns whether the attribute was set.
Sourcepub fn set_mindist(&mut self, s: &str) -> bool
pub fn set_mindist(&mut self, s: &str) -> bool
Set Attribute::Mindist
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_mindist(&mut self) -> bool
pub fn unset_mindist(&mut self) -> bool
Unset Attribute::Mindist
attribute. Returns whether the attribute was set.
Sourcepub fn set_mode(&mut self, s: &str) -> bool
pub fn set_mode(&mut self, s: &str) -> bool
Set Attribute::Mode
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_mode(&mut self) -> bool
pub fn unset_mode(&mut self) -> bool
Unset Attribute::Mode
attribute. Returns whether the attribute was set.
Sourcepub fn set_model(&mut self, s: &str) -> bool
pub fn set_model(&mut self, s: &str) -> bool
Set Attribute::Model
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_model(&mut self) -> bool
pub fn unset_model(&mut self) -> bool
Unset Attribute::Model
attribute. Returns whether the attribute was set.
Sourcepub fn set_newrank(&mut self, s: &str) -> bool
pub fn set_newrank(&mut self, s: &str) -> bool
Set Attribute::Newrank
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_newrank(&mut self) -> bool
pub fn unset_newrank(&mut self) -> bool
Unset Attribute::Newrank
attribute. Returns whether the attribute was set.
Sourcepub fn set_nodesep(&mut self, s: &str) -> bool
pub fn set_nodesep(&mut self, s: &str) -> bool
Set Attribute::Nodesep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_nodesep(&mut self) -> bool
pub fn unset_nodesep(&mut self) -> bool
Unset Attribute::Nodesep
attribute. Returns whether the attribute was set.
Sourcepub fn set_nojustify(&mut self, s: &str) -> bool
pub fn set_nojustify(&mut self, s: &str) -> bool
Set Attribute::Nojustify
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_nojustify(&mut self) -> bool
pub fn unset_nojustify(&mut self) -> bool
Unset Attribute::Nojustify
attribute. Returns whether the attribute was set.
Sourcepub fn set_normalize(&mut self, s: &str) -> bool
pub fn set_normalize(&mut self, s: &str) -> bool
Set Attribute::Normalize
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_normalize(&mut self) -> bool
pub fn unset_normalize(&mut self) -> bool
Unset Attribute::Normalize
attribute. Returns whether the attribute was set.
Sourcepub fn set_notranslate(&mut self, s: &str) -> bool
pub fn set_notranslate(&mut self, s: &str) -> bool
Set Attribute::Notranslate
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_notranslate(&mut self) -> bool
pub fn unset_notranslate(&mut self) -> bool
Unset Attribute::Notranslate
attribute. Returns whether the attribute was set.
Sourcepub fn set_nslimit(&mut self, s: &str) -> bool
pub fn set_nslimit(&mut self, s: &str) -> bool
Set Attribute::Nslimit
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_nslimit(&mut self) -> bool
pub fn unset_nslimit(&mut self) -> bool
Unset Attribute::Nslimit
attribute. Returns whether the attribute was set.
Sourcepub fn set_nslimit1(&mut self, s: &str) -> bool
pub fn set_nslimit1(&mut self, s: &str) -> bool
Set Attribute::Nslimit1
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_nslimit1(&mut self) -> bool
pub fn unset_nslimit1(&mut self) -> bool
Unset Attribute::Nslimit1
attribute. Returns whether the attribute was set.
Sourcepub fn set_oneblock(&mut self, s: &str) -> bool
pub fn set_oneblock(&mut self, s: &str) -> bool
Set Attribute::Oneblock
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_oneblock(&mut self) -> bool
pub fn unset_oneblock(&mut self) -> bool
Unset Attribute::Oneblock
attribute. Returns whether the attribute was set.
Sourcepub fn set_ordering(&mut self, s: &str) -> bool
pub fn set_ordering(&mut self, s: &str) -> bool
Set Attribute::Ordering
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_ordering(&mut self) -> bool
pub fn unset_ordering(&mut self) -> bool
Unset Attribute::Ordering
attribute. Returns whether the attribute was set.
Sourcepub fn set_orientation(&mut self, s: &str) -> bool
pub fn set_orientation(&mut self, s: &str) -> bool
Set Attribute::Orientation
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_orientation(&mut self) -> bool
pub fn unset_orientation(&mut self) -> bool
Unset Attribute::Orientation
attribute. Returns whether the attribute was set.
Sourcepub fn set_outputorder(&mut self, s: &str) -> bool
pub fn set_outputorder(&mut self, s: &str) -> bool
Set Attribute::Outputorder
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_outputorder(&mut self) -> bool
pub fn unset_outputorder(&mut self) -> bool
Unset Attribute::Outputorder
attribute. Returns whether the attribute was set.
Sourcepub fn set_overlap(&mut self, s: &str) -> bool
pub fn set_overlap(&mut self, s: &str) -> bool
Set Attribute::Overlap
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_overlap(&mut self) -> bool
pub fn unset_overlap(&mut self) -> bool
Unset Attribute::Overlap
attribute. Returns whether the attribute was set.
Sourcepub fn set_overlap_scaling(&mut self, s: &str) -> bool
pub fn set_overlap_scaling(&mut self, s: &str) -> bool
Set Attribute::OverlapScaling
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_overlap_scaling(&mut self) -> bool
pub fn unset_overlap_scaling(&mut self) -> bool
Unset Attribute::OverlapScaling
attribute. Returns whether the attribute was set.
Sourcepub fn set_overlap_shrink(&mut self, s: &str) -> bool
pub fn set_overlap_shrink(&mut self, s: &str) -> bool
Set Attribute::OverlapShrink
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_overlap_shrink(&mut self) -> bool
pub fn unset_overlap_shrink(&mut self) -> bool
Unset Attribute::OverlapShrink
attribute. Returns whether the attribute was set.
Sourcepub fn set_pack(&mut self, s: &str) -> bool
pub fn set_pack(&mut self, s: &str) -> bool
Set Attribute::Pack
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_pack(&mut self) -> bool
pub fn unset_pack(&mut self) -> bool
Unset Attribute::Pack
attribute. Returns whether the attribute was set.
Sourcepub fn set_packmode(&mut self, s: &str) -> bool
pub fn set_packmode(&mut self, s: &str) -> bool
Set Attribute::Packmode
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_packmode(&mut self) -> bool
pub fn unset_packmode(&mut self) -> bool
Unset Attribute::Packmode
attribute. Returns whether the attribute was set.
Sourcepub fn set_pad(&mut self, s: &str) -> bool
pub fn set_pad(&mut self, s: &str) -> bool
Set Attribute::Pad
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_pad(&mut self) -> bool
pub fn unset_pad(&mut self) -> bool
Unset Attribute::Pad
attribute. Returns whether the attribute was set.
Sourcepub fn set_page(&mut self, s: &str) -> bool
pub fn set_page(&mut self, s: &str) -> bool
Set Attribute::Page
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_page(&mut self) -> bool
pub fn unset_page(&mut self) -> bool
Unset Attribute::Page
attribute. Returns whether the attribute was set.
Sourcepub fn set_pagedir(&mut self, s: &str) -> bool
pub fn set_pagedir(&mut self, s: &str) -> bool
Set Attribute::Pagedir
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_pagedir(&mut self) -> bool
pub fn unset_pagedir(&mut self) -> bool
Unset Attribute::Pagedir
attribute. Returns whether the attribute was set.
Sourcepub fn set_quadtree(&mut self, s: &str) -> bool
pub fn set_quadtree(&mut self, s: &str) -> bool
Set Attribute::Quadtree
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_quadtree(&mut self) -> bool
pub fn unset_quadtree(&mut self) -> bool
Unset Attribute::Quadtree
attribute. Returns whether the attribute was set.
Sourcepub fn set_quantum(&mut self, s: &str) -> bool
pub fn set_quantum(&mut self, s: &str) -> bool
Set Attribute::Quantum
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_quantum(&mut self) -> bool
pub fn unset_quantum(&mut self) -> bool
Unset Attribute::Quantum
attribute. Returns whether the attribute was set.
Sourcepub fn set_rankdir(&mut self, s: &str) -> bool
pub fn set_rankdir(&mut self, s: &str) -> bool
Set Attribute::Rankdir
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_rankdir(&mut self) -> bool
pub fn unset_rankdir(&mut self) -> bool
Unset Attribute::Rankdir
attribute. Returns whether the attribute was set.
Sourcepub fn set_ranksep(&mut self, s: &str) -> bool
pub fn set_ranksep(&mut self, s: &str) -> bool
Set Attribute::Ranksep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_ranksep(&mut self) -> bool
pub fn unset_ranksep(&mut self) -> bool
Unset Attribute::Ranksep
attribute. Returns whether the attribute was set.
Sourcepub fn set_ratio(&mut self, s: &str) -> bool
pub fn set_ratio(&mut self, s: &str) -> bool
Set Attribute::Ratio
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_ratio(&mut self) -> bool
pub fn unset_ratio(&mut self) -> bool
Unset Attribute::Ratio
attribute. Returns whether the attribute was set.
Sourcepub fn set_remincross(&mut self, s: &str) -> bool
pub fn set_remincross(&mut self, s: &str) -> bool
Set Attribute::Remincross
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_remincross(&mut self) -> bool
pub fn unset_remincross(&mut self) -> bool
Unset Attribute::Remincross
attribute. Returns whether the attribute was set.
Sourcepub fn set_repulsiveforce(&mut self, s: &str) -> bool
pub fn set_repulsiveforce(&mut self, s: &str) -> bool
Set Attribute::Repulsiveforce
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_repulsiveforce(&mut self) -> bool
pub fn unset_repulsiveforce(&mut self) -> bool
Unset Attribute::Repulsiveforce
attribute. Returns whether the attribute was set.
Sourcepub fn set_resolution(&mut self, s: &str) -> bool
pub fn set_resolution(&mut self, s: &str) -> bool
Set Attribute::Resolution
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_resolution(&mut self) -> bool
pub fn unset_resolution(&mut self) -> bool
Unset Attribute::Resolution
attribute. Returns whether the attribute was set.
Sourcepub fn set_root(&mut self, s: &str) -> bool
pub fn set_root(&mut self, s: &str) -> bool
Set Attribute::Root
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_root(&mut self) -> bool
pub fn unset_root(&mut self) -> bool
Unset Attribute::Root
attribute. Returns whether the attribute was set.
Sourcepub fn set_rotate(&mut self, s: &str) -> bool
pub fn set_rotate(&mut self, s: &str) -> bool
Set Attribute::Rotate
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_rotate(&mut self) -> bool
pub fn unset_rotate(&mut self) -> bool
Unset Attribute::Rotate
attribute. Returns whether the attribute was set.
Sourcepub fn set_rotation(&mut self, s: &str) -> bool
pub fn set_rotation(&mut self, s: &str) -> bool
Set Attribute::Rotation
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_rotation(&mut self) -> bool
pub fn unset_rotation(&mut self) -> bool
Unset Attribute::Rotation
attribute. Returns whether the attribute was set.
Sourcepub fn set_scale(&mut self, s: &str) -> bool
pub fn set_scale(&mut self, s: &str) -> bool
Set Attribute::Scale
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_scale(&mut self) -> bool
pub fn unset_scale(&mut self) -> bool
Unset Attribute::Scale
attribute. Returns whether the attribute was set.
Sourcepub fn set_searchsize(&mut self, s: &str) -> bool
pub fn set_searchsize(&mut self, s: &str) -> bool
Set Attribute::Searchsize
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_searchsize(&mut self) -> bool
pub fn unset_searchsize(&mut self) -> bool
Unset Attribute::Searchsize
attribute. Returns whether the attribute was set.
Sourcepub fn set_sep(&mut self, s: &str) -> bool
pub fn set_sep(&mut self, s: &str) -> bool
Set Attribute::Sep
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_sep(&mut self) -> bool
pub fn unset_sep(&mut self) -> bool
Unset Attribute::Sep
attribute. Returns whether the attribute was set.
Sourcepub fn set_showboxes(&mut self, s: &str) -> bool
pub fn set_showboxes(&mut self, s: &str) -> bool
Set Attribute::Showboxes
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_showboxes(&mut self) -> bool
pub fn unset_showboxes(&mut self) -> bool
Unset Attribute::Showboxes
attribute. Returns whether the attribute was set.
Sourcepub fn set_size(&mut self, s: &str) -> bool
pub fn set_size(&mut self, s: &str) -> bool
Set Attribute::Size
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_size(&mut self) -> bool
pub fn unset_size(&mut self) -> bool
Unset Attribute::Size
attribute. Returns whether the attribute was set.
Sourcepub fn set_smoothing(&mut self, s: &str) -> bool
pub fn set_smoothing(&mut self, s: &str) -> bool
Set Attribute::Smoothing
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_smoothing(&mut self) -> bool
pub fn unset_smoothing(&mut self) -> bool
Unset Attribute::Smoothing
attribute. Returns whether the attribute was set.
Sourcepub fn set_sortv(&mut self, s: &str) -> bool
pub fn set_sortv(&mut self, s: &str) -> bool
Set Attribute::Sortv
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_sortv(&mut self) -> bool
pub fn unset_sortv(&mut self) -> bool
Unset Attribute::Sortv
attribute. Returns whether the attribute was set.
Sourcepub fn set_splines(&mut self, s: &str) -> bool
pub fn set_splines(&mut self, s: &str) -> bool
Set Attribute::Splines
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_splines(&mut self) -> bool
pub fn unset_splines(&mut self) -> bool
Unset Attribute::Splines
attribute. Returns whether the attribute was set.
Sourcepub fn set_start(&mut self, s: &str) -> bool
pub fn set_start(&mut self, s: &str) -> bool
Set Attribute::Start
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_start(&mut self) -> bool
pub fn unset_start(&mut self) -> bool
Unset Attribute::Start
attribute. Returns whether the attribute was set.
Sourcepub fn set_style(&mut self, s: &str) -> bool
pub fn set_style(&mut self, s: &str) -> bool
Set Attribute::Style
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_style(&mut self) -> bool
pub fn unset_style(&mut self) -> bool
Unset Attribute::Style
attribute. Returns whether the attribute was set.
Sourcepub fn set_stylesheet(&mut self, s: &str) -> bool
pub fn set_stylesheet(&mut self, s: &str) -> bool
Set Attribute::Stylesheet
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_stylesheet(&mut self) -> bool
pub fn unset_stylesheet(&mut self) -> bool
Unset Attribute::Stylesheet
attribute. Returns whether the attribute was set.
Sourcepub fn set_target(&mut self, s: &str) -> bool
pub fn set_target(&mut self, s: &str) -> bool
Set Attribute::Target
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_target(&mut self) -> bool
pub fn unset_target(&mut self) -> bool
Unset Attribute::Target
attribute. Returns whether the attribute was set.
Sourcepub fn set_tbbalance(&mut self, s: &str) -> bool
pub fn set_tbbalance(&mut self, s: &str) -> bool
Set Attribute::Tbbalance
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tbbalance(&mut self) -> bool
pub fn unset_tbbalance(&mut self) -> bool
Unset Attribute::Tbbalance
attribute. Returns whether the attribute was set.
Sourcepub fn set_tooltip(&mut self, s: &str) -> bool
pub fn set_tooltip(&mut self, s: &str) -> bool
Set Attribute::Tooltip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tooltip(&mut self) -> bool
pub fn unset_tooltip(&mut self) -> bool
Unset Attribute::Tooltip
attribute. Returns whether the attribute was set.
Sourcepub fn set_truecolor(&mut self, s: &str) -> bool
pub fn set_truecolor(&mut self, s: &str) -> bool
Set Attribute::Truecolor
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_truecolor(&mut self) -> bool
pub fn unset_truecolor(&mut self) -> bool
Unset Attribute::Truecolor
attribute. Returns whether the attribute was set.
Sourcepub fn set_url(&mut self, s: &str) -> bool
pub fn set_url(&mut self, s: &str) -> bool
Set Attribute::Url
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_url(&mut self) -> bool
pub fn unset_url(&mut self) -> bool
Unset Attribute::Url
attribute. Returns whether the attribute was set.
Sourcepub fn set_viewport(&mut self, s: &str) -> bool
pub fn set_viewport(&mut self, s: &str) -> bool
Set Attribute::Viewport
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_viewport(&mut self) -> bool
pub fn unset_viewport(&mut self) -> bool
Unset Attribute::Viewport
attribute. Returns whether the attribute was set.
Sourcepub fn set_voro_margin(&mut self, s: &str) -> bool
pub fn set_voro_margin(&mut self, s: &str) -> bool
Set Attribute::VoroMargin
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_voro_margin(&mut self) -> bool
pub fn unset_voro_margin(&mut self) -> bool
Unset Attribute::VoroMargin
attribute. Returns whether the attribute was set.
Sourcepub fn set_xdotversion(&mut self, s: &str) -> bool
pub fn set_xdotversion(&mut self, s: &str) -> bool
Set Attribute::Xdotversion
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_xdotversion(&mut self) -> bool
pub fn unset_xdotversion(&mut self) -> bool
Unset Attribute::Xdotversion
attribute. Returns whether the attribute was set.
Trait Implementations§
Source§impl Clone for GraphAttributes
impl Clone for GraphAttributes
Source§fn clone(&self) -> GraphAttributes
fn clone(&self) -> GraphAttributes
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GraphAttributes
impl Debug for GraphAttributes
Source§impl Default for GraphAttributes
impl Default for GraphAttributes
Source§fn default() -> GraphAttributes
fn default() -> GraphAttributes
Source§impl<'a> Extend<Pair<'a, Rule>> for GraphAttributes
impl<'a> Extend<Pair<'a, Rule>> for GraphAttributes
Source§fn extend<T: IntoIterator<Item = Pair<'a, Rule>>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Pair<'a, Rule>>>(&mut self, iter: T)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl From<GraphAttributes> for String
impl From<GraphAttributes> for String
Source§fn from(attributes: GraphAttributes) -> Self
fn from(attributes: GraphAttributes) -> Self
Auto Trait Implementations§
impl Freeze for GraphAttributes
impl RefUnwindSafe for GraphAttributes
impl Send for GraphAttributes
impl Sync for GraphAttributes
impl Unpin for GraphAttributes
impl UnwindSafe for GraphAttributes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.