pub struct ToImageButtonOptions { /* private fields */ }
Implementations§
Source§impl 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§
Source§impl Clone for ToImageButtonOptions
impl Clone for ToImageButtonOptions
Source§fn clone(&self) -> ToImageButtonOptions
fn clone(&self) -> ToImageButtonOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ToImageButtonOptions
impl Debug for ToImageButtonOptions
Source§impl Default for ToImageButtonOptions
impl Default for ToImageButtonOptions
Source§fn default() -> ToImageButtonOptions
fn default() -> ToImageButtonOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ToImageButtonOptions
impl RefUnwindSafe for ToImageButtonOptions
impl Send for ToImageButtonOptions
impl Sync for ToImageButtonOptions
impl Unpin for ToImageButtonOptions
impl UnwindSafe for ToImageButtonOptions
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
Mutably borrows from an owned value. Read more