[][src]Struct plotly_types::config::Edits

pub struct Edits { /* fields omitted */ }

Implementations

impl Edits[src]

pub fn annotation_position(&mut self, annotation_position: bool) -> &mut Self[src]

Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged).

default: false

pub fn annotation_tail(&mut self, annotation_tail: bool) -> &mut Self[src]

Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow.

default: false

pub fn annotation_text(&mut self, annotation_text: bool) -> &mut Self[src]

Enables editing annotation text.

default: false

pub fn axis_title_text(&mut self, axis_title_text: bool) -> &mut Self[src]

Enables editing axis title text.

default: false

pub fn colorbar_position(&mut self, colorbar_position: bool) -> &mut Self[src]

Enables moving colorbars.

default: false

pub fn colorbar_title_text(&mut self, colorbar_title_text: bool) -> &mut Self[src]

Enables editing colorbar title text.

default: false

pub fn legend_position(&mut self, legend_position: bool) -> &mut Self[src]

Enables moving the legend.

default: false

pub fn legend_text(&mut self, legend_text: bool) -> &mut Self[src]

Enables editing the trace name fields from the legend

default: false

pub fn shape_position(&mut self, shape_position: bool) -> &mut Self[src]

Enables moving shapes.

default: false

pub fn title_text(&mut self, title_text: bool) -> &mut Self[src]

Enables editing the global layout title.

default: false

Trait Implementations

impl Default for Edits[src]

impl Serialize for Edits[src]

Auto Trait Implementations

impl RefUnwindSafe for Edits

impl Send for Edits

impl Sync for Edits

impl Unpin for Edits

impl UnwindSafe for Edits

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.