Struct dotavious::attributes::GraphAttributeStatementBuilder [−][src]
Fields
attributes: IndexMap<String, AttributeText<'a>>
Implementations
impl<'a> GraphAttributeStatementBuilder<'a>
[src]
pub fn new() -> Self
[src]
pub fn build(&self) -> ValidationResult<IndexMap<String, AttributeText<'a>>>
[src]
pub fn build_ignore_validation(&self) -> IndexMap<String, AttributeText<'a>>
[src]
Trait Implementations
impl<'a> GraphAttributes<'a> for GraphAttributeStatementBuilder<'a>
[src]
fn add_attribute<S: Into<String>>(
&mut self,
key: S,
value: AttributeText<'a>
) -> &mut Self
[src]
&mut self,
key: S,
value: AttributeText<'a>
) -> &mut Self
fn add_attributes(
&'a mut self,
attributes: HashMap<String, AttributeText<'a>>
) -> &mut Self
[src]
&'a mut self,
attributes: HashMap<String, AttributeText<'a>>
) -> &mut Self
Add multiple attributes to the node.
fn get_attributes_mut(&mut self) -> &mut IndexMap<String, AttributeText<'a>>
[src]
fn add_validation_error(&mut self, field: &'static str, message: &'static str)
[src]
fn background(&mut self, background: String) -> &mut Self
[src]
fn background_color(&mut self, background_color: Color<'a>) -> &mut Self
[src]
fn background_colorlist(
&mut self,
background_colors: ColorList<'a>
) -> &mut Self
[src]
&mut self,
background_colors: ColorList<'a>
) -> &mut Self
fn bounding_box(&mut self, bounding_box: String) -> &mut Self
[src]
fn center(&mut self, center: bool) -> &mut Self
[src]
fn charset(&mut self, charset: String) -> &mut Self
[src]
fn class(&mut self, class: String) -> &mut Self
[src]
fn cluster_rank(&mut self, cluster_rank: ClusterMode) -> &mut Self
[src]
fn color(&mut self, color: Color<'a>) -> &mut Self
[src]
fn color_scheme(&mut self, color_scheme: String) -> &mut Self
[src]
fn comment(&mut self, comment: String) -> &mut Self
[src]
fn compound(&mut self, compound: String) -> &mut Self
[src]
fn concentrate(&mut self, concentrate: String) -> &mut Self
[src]
fn dpi(&mut self, dpi: f32) -> &mut Self
[src]
fn fill_color(&mut self, fill_color: Color<'a>) -> &mut Self
[src]
fn fill_color_with_colorlist(&mut self, fill_colors: ColorList<'a>) -> &mut Self
[src]
fn fill_color_with_iter<I>(&mut self, fill_colors: I) -> &mut Self where
I: IntoIterator,
I::Item: IntoWeightedColor<'a>,
[src]
I: IntoIterator,
I::Item: IntoWeightedColor<'a>,
fn font_color(&mut self, font_color: Color<'a>) -> &mut Self
[src]
fn font_name(&mut self, font_name: String) -> &mut Self
[src]
fn font_names(&mut self, font_names: String) -> &mut Self
[src]
fn font_path(&mut self, font_path: String) -> &mut Self
[src]
fn font_size(&mut self, font_size: f32) -> &mut Self
[src]
fn force_label(&mut self, force_label: bool) -> &mut Self
[src]
fn gradient_angle(&mut self, gradient_angle: u32) -> &mut Self
[src]
fn image_path(&mut self, image_path: String) -> &mut Self
[src]
fn label<S: Into<String>>(&mut self, label: S) -> &mut Self
[src]
fn label_justification(
&mut self,
label_justification: LabelJustification
) -> &mut Self
[src]
&mut self,
label_justification: LabelJustification
) -> &mut Self
fn label_location(&mut self, label_location: LabelLocation) -> &mut Self
[src]
fn landscape(&mut self, landscape: bool) -> &mut Self
[src]
fn layer_list_sep(&mut self, layer_list_sep: String) -> &mut Self
[src]
fn layers(&mut self, layers: String) -> &mut Self
[src]
fn layer_select(&mut self, layer_select: String) -> &mut Self
[src]
fn layer_sep(&mut self, layer_sep: String) -> &mut Self
[src]
fn lheight(&mut self, lheight: f32) -> &mut Self
[src]
fn label_position(&mut self, lp: Point) -> &mut Self
[src]
fn lwidth(&mut self, lwidth: f32) -> &mut Self
[src]
fn margin(&mut self, margin: f32) -> &mut Self
[src]
fn margin_point(&mut self, margin: Point) -> &mut Self
[src]
fn mclimit(&mut self, mclimit: f32) -> &mut Self
[src]
fn mindist(&mut self, mindist: u32) -> &mut Self
[src]
fn newrank(&mut self, newrank: bool) -> &mut Self
[src]
fn nodesep(&mut self, nodesep: f32) -> &mut Self
[src]
fn no_justify(&mut self, no_justify: bool) -> &mut Self
[src]
fn nslimit(&mut self, nslimit: f32) -> &mut Self
[src]
fn ordering(&mut self, ordering: Ordering) -> &mut Self
[src]
fn orientation(&mut self, orientation: f32) -> &mut Self
[src]
fn output_order(&mut self, output_order: OutputMode) -> &mut Self
[src]
fn pack(&mut self, pack: bool) -> &mut Self
[src]
fn pack_int(&mut self, pack: u32) -> &mut Self
[src]
fn pack_mode(&mut self, pack_mode: PackMode) -> &mut Self
[src]
fn pad(&mut self, pad: f32) -> &mut Self
[src]
fn pad_point(&mut self, pad: Point) -> &mut Self
[src]
fn page(&mut self, page: f32) -> &mut Self
[src]
fn page_point(&mut self, page: Point) -> &mut Self
[src]
fn page_dir(&mut self, page_dir: PageDirection) -> &mut Self
[src]
fn quantum(&mut self, quantum: f32) -> &mut Self
[src]
fn rank_dir(&mut self, rank_dir: RankDir) -> &mut Self
[src]
fn rank_sep(&mut self, rank_sep: String) -> &mut Self
[src]
fn ratio(&mut self, ratio: Ratio) -> &mut Self
[src]
fn remincross(&mut self, remincross: bool) -> &mut Self
[src]
fn rotate(&mut self, rotate: u32) -> &mut Self
[src]
fn show_boxes(&mut self, show_boxes: u32) -> &mut Self
[src]
fn size(&mut self, size: u32, desired_min: bool) -> &mut Self
[src]
fn size_point(&mut self, size: Point) -> &mut Self
[src]
fn sortv(&mut self, sortv: u32) -> &mut Self
[src]
fn splines(&mut self, splines: Splines) -> &mut Self
[src]
fn style(&mut self, style: GraphStyle) -> &mut Self
[src]
fn stylesheet(&mut self, stylesheet: String) -> &mut Self
[src]
fn target(&mut self, target: String) -> &mut Self
[src]
fn true_color(&mut self, true_color: bool) -> &mut Self
[src]
fn url(&mut self, url: String) -> &mut Self
[src]
fn viewport(&mut self, viewport: ViewPort) -> &mut Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for GraphAttributeStatementBuilder<'a>
impl<'a> Send for GraphAttributeStatementBuilder<'a>
impl<'a> Sync for GraphAttributeStatementBuilder<'a>
impl<'a> Unpin for GraphAttributeStatementBuilder<'a>
impl<'a> UnwindSafe for GraphAttributeStatementBuilder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,