pub struct EdgeAttributes { /* private fields */ }
Expand description
Edge attributes.
Implementations§
Source§impl EdgeAttributes
impl EdgeAttributes
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_arrowhead(&mut self, s: &str) -> bool
pub fn set_arrowhead(&mut self, s: &str) -> bool
Set Attribute::Arrowhead
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_arrowhead(&mut self) -> bool
pub fn unset_arrowhead(&mut self) -> bool
Unset Attribute::Arrowhead
attribute. Returns whether the attribute was set.
Sourcepub fn set_arrowsize(&mut self, s: &str) -> bool
pub fn set_arrowsize(&mut self, s: &str) -> bool
Set Attribute::Arrowsize
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_arrowsize(&mut self) -> bool
pub fn unset_arrowsize(&mut self) -> bool
Unset Attribute::Arrowsize
attribute. Returns whether the attribute was set.
Sourcepub fn set_arrowtail(&mut self, s: &str) -> bool
pub fn set_arrowtail(&mut self, s: &str) -> bool
Set Attribute::Arrowtail
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_arrowtail(&mut self) -> bool
pub fn unset_arrowtail(&mut self) -> bool
Unset Attribute::Arrowtail
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_color(&mut self, s: &str) -> bool
pub fn set_color(&mut self, s: &str) -> bool
Set Attribute::Color
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_color(&mut self) -> bool
pub fn unset_color(&mut self) -> bool
Unset Attribute::Color
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_constraint(&mut self, s: &str) -> bool
pub fn set_constraint(&mut self, s: &str) -> bool
Set Attribute::Constraint
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_constraint(&mut self) -> bool
pub fn unset_constraint(&mut self) -> bool
Unset Attribute::Constraint
attribute. Returns whether the attribute was set.
Sourcepub fn set_decorate(&mut self, s: &str) -> bool
pub fn set_decorate(&mut self, s: &str) -> bool
Set Attribute::Decorate
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_decorate(&mut self) -> bool
pub fn unset_decorate(&mut self) -> bool
Unset Attribute::Decorate
attribute. Returns whether the attribute was set.
Sourcepub fn set_dir(&mut self, s: &str) -> bool
pub fn set_dir(&mut self, s: &str) -> bool
Set Attribute::Dir
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_dir(&mut self) -> bool
pub fn unset_dir(&mut self) -> bool
Unset Attribute::Dir
attribute. Returns whether the attribute was set.
Sourcepub fn set_edgehref(&mut self, s: &str) -> bool
pub fn set_edgehref(&mut self, s: &str) -> bool
Set Attribute::Edgehref
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_edgehref(&mut self) -> bool
pub fn unset_edgehref(&mut self) -> bool
Unset Attribute::Edgehref
attribute. Returns whether the attribute was set.
Sourcepub fn set_edgetarget(&mut self, s: &str) -> bool
pub fn set_edgetarget(&mut self, s: &str) -> bool
Set Attribute::Edgetarget
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_edgetarget(&mut self) -> bool
pub fn unset_edgetarget(&mut self) -> bool
Unset Attribute::Edgetarget
attribute. Returns whether the attribute was set.
Sourcepub fn set_edgetooltip(&mut self, s: &str) -> bool
pub fn set_edgetooltip(&mut self, s: &str) -> bool
Set Attribute::Edgetooltip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_edgetooltip(&mut self) -> bool
pub fn unset_edgetooltip(&mut self) -> bool
Unset Attribute::Edgetooltip
attribute. Returns whether the attribute was set.
Sourcepub fn set_edgeurl(&mut self, s: &str) -> bool
pub fn set_edgeurl(&mut self, s: &str) -> bool
Set Attribute::Edgeurl
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_edgeurl(&mut self) -> bool
pub fn unset_edgeurl(&mut self) -> bool
Unset Attribute::Edgeurl
attribute. Returns whether the attribute was set.
Sourcepub fn set_fillcolor(&mut self, s: &str) -> bool
pub fn set_fillcolor(&mut self, s: &str) -> bool
Set Attribute::Fillcolor
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_fillcolor(&mut self) -> bool
pub fn unset_fillcolor(&mut self) -> bool
Unset Attribute::Fillcolor
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_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_head_lp(&mut self, s: &str) -> bool
pub fn set_head_lp(&mut self, s: &str) -> bool
Set Attribute::HeadLp
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_head_lp(&mut self) -> bool
pub fn unset_head_lp(&mut self) -> bool
Unset Attribute::HeadLp
attribute. Returns whether the attribute was set.
Sourcepub fn set_headclip(&mut self, s: &str) -> bool
pub fn set_headclip(&mut self, s: &str) -> bool
Set Attribute::Headclip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headclip(&mut self) -> bool
pub fn unset_headclip(&mut self) -> bool
Unset Attribute::Headclip
attribute. Returns whether the attribute was set.
Sourcepub fn set_headhref(&mut self, s: &str) -> bool
pub fn set_headhref(&mut self, s: &str) -> bool
Set Attribute::Headhref
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headhref(&mut self) -> bool
pub fn unset_headhref(&mut self) -> bool
Unset Attribute::Headhref
attribute. Returns whether the attribute was set.
Sourcepub fn set_headlabel(&mut self, s: &str) -> bool
pub fn set_headlabel(&mut self, s: &str) -> bool
Set Attribute::Headlabel
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headlabel(&mut self) -> bool
pub fn unset_headlabel(&mut self) -> bool
Unset Attribute::Headlabel
attribute. Returns whether the attribute was set.
Sourcepub fn set_headport(&mut self, s: &str) -> bool
pub fn set_headport(&mut self, s: &str) -> bool
Set Attribute::Headport
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headport(&mut self) -> bool
pub fn unset_headport(&mut self) -> bool
Unset Attribute::Headport
attribute. Returns whether the attribute was set.
Sourcepub fn set_headtarget(&mut self, s: &str) -> bool
pub fn set_headtarget(&mut self, s: &str) -> bool
Set Attribute::Headtarget
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headtarget(&mut self) -> bool
pub fn unset_headtarget(&mut self) -> bool
Unset Attribute::Headtarget
attribute. Returns whether the attribute was set.
Sourcepub fn set_headtooltip(&mut self, s: &str) -> bool
pub fn set_headtooltip(&mut self, s: &str) -> bool
Set Attribute::Headtooltip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headtooltip(&mut self) -> bool
pub fn unset_headtooltip(&mut self) -> bool
Unset Attribute::Headtooltip
attribute. Returns whether the attribute was set.
Sourcepub fn set_headurl(&mut self, s: &str) -> bool
pub fn set_headurl(&mut self, s: &str) -> bool
Set Attribute::Headurl
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_headurl(&mut self) -> bool
pub fn unset_headurl(&mut self) -> bool
Unset Attribute::Headurl
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_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_labelangle(&mut self, s: &str) -> bool
pub fn set_labelangle(&mut self, s: &str) -> bool
Set Attribute::Labelangle
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelangle(&mut self) -> bool
pub fn unset_labelangle(&mut self) -> bool
Unset Attribute::Labelangle
attribute. Returns whether the attribute was set.
Sourcepub fn set_labeldistance(&mut self, s: &str) -> bool
pub fn set_labeldistance(&mut self, s: &str) -> bool
Set Attribute::Labeldistance
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labeldistance(&mut self) -> bool
pub fn unset_labeldistance(&mut self) -> bool
Unset Attribute::Labeldistance
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelfloat(&mut self, s: &str) -> bool
pub fn set_labelfloat(&mut self, s: &str) -> bool
Set Attribute::Labelfloat
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelfloat(&mut self) -> bool
pub fn unset_labelfloat(&mut self) -> bool
Unset Attribute::Labelfloat
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelfontcolor(&mut self, s: &str) -> bool
pub fn set_labelfontcolor(&mut self, s: &str) -> bool
Set Attribute::Labelfontcolor
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelfontcolor(&mut self) -> bool
pub fn unset_labelfontcolor(&mut self) -> bool
Unset Attribute::Labelfontcolor
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelfontname(&mut self, s: &str) -> bool
pub fn set_labelfontname(&mut self, s: &str) -> bool
Set Attribute::Labelfontname
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelfontname(&mut self) -> bool
pub fn unset_labelfontname(&mut self) -> bool
Unset Attribute::Labelfontname
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelfontsize(&mut self, s: &str) -> bool
pub fn set_labelfontsize(&mut self, s: &str) -> bool
Set Attribute::Labelfontsize
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelfontsize(&mut self) -> bool
pub fn unset_labelfontsize(&mut self) -> bool
Unset Attribute::Labelfontsize
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelhref(&mut self, s: &str) -> bool
pub fn set_labelhref(&mut self, s: &str) -> bool
Set Attribute::Labelhref
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelhref(&mut self) -> bool
pub fn unset_labelhref(&mut self) -> bool
Unset Attribute::Labelhref
attribute. Returns whether the attribute was set.
Sourcepub fn set_labeltarget(&mut self, s: &str) -> bool
pub fn set_labeltarget(&mut self, s: &str) -> bool
Set Attribute::Labeltarget
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labeltarget(&mut self) -> bool
pub fn unset_labeltarget(&mut self) -> bool
Unset Attribute::Labeltarget
attribute. Returns whether the attribute was set.
Sourcepub fn set_labeltooltip(&mut self, s: &str) -> bool
pub fn set_labeltooltip(&mut self, s: &str) -> bool
Set Attribute::Labeltooltip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labeltooltip(&mut self) -> bool
pub fn unset_labeltooltip(&mut self) -> bool
Unset Attribute::Labeltooltip
attribute. Returns whether the attribute was set.
Sourcepub fn set_labelurl(&mut self, s: &str) -> bool
pub fn set_labelurl(&mut self, s: &str) -> bool
Set Attribute::Labelurl
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_labelurl(&mut self) -> bool
pub fn unset_labelurl(&mut self) -> bool
Unset Attribute::Labelurl
attribute. Returns whether the attribute was set.
Sourcepub fn set_layer(&mut self, s: &str) -> bool
pub fn set_layer(&mut self, s: &str) -> bool
Set Attribute::Layer
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_layer(&mut self) -> bool
pub fn unset_layer(&mut self) -> bool
Unset Attribute::Layer
attribute. Returns whether the attribute was set.
Sourcepub fn set_len(&mut self, s: &str) -> bool
pub fn set_len(&mut self, s: &str) -> bool
Set Attribute::Len
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_len(&mut self) -> bool
pub fn unset_len(&mut self) -> bool
Unset Attribute::Len
attribute. Returns whether the attribute was set.
Sourcepub fn set_lhead(&mut self, s: &str) -> bool
pub fn set_lhead(&mut self, s: &str) -> bool
Set Attribute::Lhead
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_lhead(&mut self) -> bool
pub fn unset_lhead(&mut self) -> bool
Unset Attribute::Lhead
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_ltail(&mut self, s: &str) -> bool
pub fn set_ltail(&mut self, s: &str) -> bool
Set Attribute::Ltail
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_ltail(&mut self) -> bool
pub fn unset_ltail(&mut self) -> bool
Unset Attribute::Ltail
attribute. Returns whether the attribute was set.
Sourcepub fn set_minlen(&mut self, s: &str) -> bool
pub fn set_minlen(&mut self, s: &str) -> bool
Set Attribute::Minlen
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_minlen(&mut self) -> bool
pub fn unset_minlen(&mut self) -> bool
Unset Attribute::Minlen
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_penwidth(&mut self, s: &str) -> bool
pub fn set_penwidth(&mut self, s: &str) -> bool
Set Attribute::Penwidth
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_penwidth(&mut self) -> bool
pub fn unset_penwidth(&mut self) -> bool
Unset Attribute::Penwidth
attribute. Returns whether the attribute was set.
Sourcepub fn set_pos(&mut self, s: &str) -> bool
pub fn set_pos(&mut self, s: &str) -> bool
Set Attribute::Pos
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_pos(&mut self) -> bool
pub fn unset_pos(&mut self) -> bool
Unset Attribute::Pos
attribute. Returns whether the attribute was set.
Sourcepub fn set_samehead(&mut self, s: &str) -> bool
pub fn set_samehead(&mut self, s: &str) -> bool
Set Attribute::Samehead
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_samehead(&mut self) -> bool
pub fn unset_samehead(&mut self) -> bool
Unset Attribute::Samehead
attribute. Returns whether the attribute was set.
Sourcepub fn set_sametail(&mut self, s: &str) -> bool
pub fn set_sametail(&mut self, s: &str) -> bool
Set Attribute::Sametail
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_sametail(&mut self) -> bool
pub fn unset_sametail(&mut self) -> bool
Unset Attribute::Sametail
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_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_tail_lp(&mut self, s: &str) -> bool
pub fn set_tail_lp(&mut self, s: &str) -> bool
Set Attribute::TailLp
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tail_lp(&mut self) -> bool
pub fn unset_tail_lp(&mut self) -> bool
Unset Attribute::TailLp
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailclip(&mut self, s: &str) -> bool
pub fn set_tailclip(&mut self, s: &str) -> bool
Set Attribute::Tailclip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailclip(&mut self) -> bool
pub fn unset_tailclip(&mut self) -> bool
Unset Attribute::Tailclip
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailhref(&mut self, s: &str) -> bool
pub fn set_tailhref(&mut self, s: &str) -> bool
Set Attribute::Tailhref
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailhref(&mut self) -> bool
pub fn unset_tailhref(&mut self) -> bool
Unset Attribute::Tailhref
attribute. Returns whether the attribute was set.
Sourcepub fn set_taillabel(&mut self, s: &str) -> bool
pub fn set_taillabel(&mut self, s: &str) -> bool
Set Attribute::Taillabel
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_taillabel(&mut self) -> bool
pub fn unset_taillabel(&mut self) -> bool
Unset Attribute::Taillabel
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailport(&mut self, s: &str) -> bool
pub fn set_tailport(&mut self, s: &str) -> bool
Set Attribute::Tailport
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailport(&mut self) -> bool
pub fn unset_tailport(&mut self) -> bool
Unset Attribute::Tailport
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailtarget(&mut self, s: &str) -> bool
pub fn set_tailtarget(&mut self, s: &str) -> bool
Set Attribute::Tailtarget
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailtarget(&mut self) -> bool
pub fn unset_tailtarget(&mut self) -> bool
Unset Attribute::Tailtarget
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailtooltip(&mut self, s: &str) -> bool
pub fn set_tailtooltip(&mut self, s: &str) -> bool
Set Attribute::Tailtooltip
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailtooltip(&mut self) -> bool
pub fn unset_tailtooltip(&mut self) -> bool
Unset Attribute::Tailtooltip
attribute. Returns whether the attribute was set.
Sourcepub fn set_tailurl(&mut self, s: &str) -> bool
pub fn set_tailurl(&mut self, s: &str) -> bool
Set Attribute::Tailurl
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_tailurl(&mut self) -> bool
pub fn unset_tailurl(&mut self) -> bool
Unset Attribute::Tailurl
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_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_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_weight(&mut self, s: &str) -> bool
pub fn set_weight(&mut self, s: &str) -> bool
Set Attribute::Weight
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_weight(&mut self) -> bool
pub fn unset_weight(&mut self) -> bool
Unset Attribute::Weight
attribute. Returns whether the attribute was set.
Sourcepub fn set_xlabel(&mut self, s: &str) -> bool
pub fn set_xlabel(&mut self, s: &str) -> bool
Set Attribute::Xlabel
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_xlabel(&mut self) -> bool
pub fn unset_xlabel(&mut self) -> bool
Unset Attribute::Xlabel
attribute. Returns whether the attribute was set.
Sourcepub fn set_xlp(&mut self, s: &str) -> bool
pub fn set_xlp(&mut self, s: &str) -> bool
Set Attribute::Xlp
attribute. Returns whether the attribute was newly set.
Sourcepub fn unset_xlp(&mut self) -> bool
pub fn unset_xlp(&mut self) -> bool
Unset Attribute::Xlp
attribute. Returns whether the attribute was set.
Trait Implementations§
Source§impl Clone for EdgeAttributes
impl Clone for EdgeAttributes
Source§fn clone(&self) -> EdgeAttributes
fn clone(&self) -> EdgeAttributes
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 EdgeAttributes
impl Debug for EdgeAttributes
Source§impl Default for EdgeAttributes
impl Default for EdgeAttributes
Source§fn default() -> EdgeAttributes
fn default() -> EdgeAttributes
Source§impl<'a> Extend<Pair<'a, Rule>> for EdgeAttributes
impl<'a> Extend<Pair<'a, Rule>> for EdgeAttributes
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<EdgeAttributes> for String
impl From<EdgeAttributes> for String
Source§fn from(attributes: EdgeAttributes) -> Self
fn from(attributes: EdgeAttributes) -> Self
Auto Trait Implementations§
impl Freeze for EdgeAttributes
impl RefUnwindSafe for EdgeAttributes
impl Send for EdgeAttributes
impl Sync for EdgeAttributes
impl Unpin for EdgeAttributes
impl UnwindSafe for EdgeAttributes
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.