Struct plotly::configuration::ToImageButtonOptions
source · pub struct ToImageButtonOptions { /* private fields */ }Implementations
sourceimpl ToImageButtonOptions
impl ToImageButtonOptions
sourcepub fn format(self, format: ImageButtonFormats) -> Self
pub fn format(self, format: ImageButtonFormats) -> Self
Set the file format of the downloaded plot image.
sourcepub fn height(self, height: usize) -> Self
pub fn height(self, height: usize) -> Self
Set the height, in pixels, of the downloaded plot image.
Trait Implementations
sourceimpl Clone for ToImageButtonOptions
impl Clone for ToImageButtonOptions
sourcefn clone(&self) -> ToImageButtonOptions
fn clone(&self) -> ToImageButtonOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ToImageButtonOptions
impl Debug for ToImageButtonOptions
sourceimpl Default for ToImageButtonOptions
impl Default for ToImageButtonOptions
sourcefn default() -> ToImageButtonOptions
fn default() -> ToImageButtonOptions
Returns the “default value” for a type. Read more
sourceimpl Serialize for ToImageButtonOptions
impl Serialize for ToImageButtonOptions
Auto Trait Implementations
impl RefUnwindSafe for ToImageButtonOptions
impl Send for ToImageButtonOptions
impl Sync for ToImageButtonOptions
impl Unpin for ToImageButtonOptions
impl UnwindSafe for ToImageButtonOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more